Django, from nightmare to dream
|
|
- Dorthy Glenn
- 6 years ago
- Views:
Transcription
1 Django, from nightmare to dream with Best Practices by Stéphane Wirtel EuroPython Rimini/y ;-) 11 Luglio / 69
2 Hello, I am Stéphane Python Freelancer Open Source = My Passion/Job PythonFOSDEM CPython contributor PSF, EPS members, CSA from PSF former core dev of Odoo (Open Source ERP) blah blah Python blah 2 / 69
3 ep2017.europython.org 3 / 69
4 EuroPython website -> epcon 4 / 69
5 with epcon, we can do... conference management 5 / 69
6 with epcon, we can do... conference management ticket management 6 / 69
7 with epcon, we can do... conference management ticket management statistics (attendees, speakers, (un)assigned or orphan tickets) 7 / 69
8 with epcon, we can do... conference management ticket management statistics (attendees, speakers, (un)assigned or orphan tickets) invoice/refund 8 / 69
9 with epcon, we can do... conference management ticket management statistics (attendees, speakers, (un)assigned or orphan tickets) invoice/refund helpdesk 9 / 69
10 with epcon, we can do... conference management ticket management statistics (attendees, speakers, (un)assigned or orphan tickets) invoice/refund helpdesk notifications by 10 / 69
11 with epcon, we can do... conference management ticket management statistics (attendees, speakers, (un)assigned or orphan tickets) invoice/refund helpdesk notifications by hotel and room booking sim card 11 / 69
12 epcon is a good tool for EuroPython 12 / 69
13 but / 69
14 14 / 69
15 State of Union Python 2.7 (support 2020) 15 / 69
16 State of Union Python 2.7 (support 2020) Django 1.8 (support april 2018) 16 / 69
17 State of Union Python 2.7 (support 2020) Django 1.8 (support april 2018) few dependencies are deprecated or no maintainers (incompatible with django 1.11) 17 / 69
18 State of Union Python 2.7 (support 2020) Django 1.8 (support april 2018) few dependencies are deprecated or no maintainers (incompatible with django 1.11) SQLite 18 / 69
19 State of Union Python 2.7 (support 2020) Django 1.8 (support april 2018) few dependencies are deprecated or no maintainers (incompatible with django 1.11) SQLite no tests (Python 168 files and lines of code) 19 / 69
20 State of Union Python 2.7 (support 2020) Django 1.8 (support april 2018) few dependencies are deprecated or no maintainers (incompatible with django 1.11) SQLite no tests (Python 168 files and lines of code) no documentation, some comments are in Italian 20 / 69
21 State of Union Python 2.7 (support 2020) Django 1.8 (support april 2018) few dependencies are deprecated or no maintainers (incompatible with django 1.11) SQLite no tests (Python 168 files and lines of code) no documentation, some comments are in Italian duplicated/dead code 21 / 69
22 State of Union Python 2.7 (support 2020) Django 1.8 (support april 2018) few dependencies are deprecated or no maintainers (incompatible with django 1.11) SQLite no tests (Python 168 files and lines of code) no documentation, some comments are in Italian duplicated/dead code no async for jobs 22 / 69
23 State of Union Python 2.7 (support 2020) Django 1.8 (support april 2018) few dependencies are deprecated or no maintainers (incompatible with django 1.11) SQLite no tests (Python 168 files and lines of code) no documentation, some comments are in Italian duplicated/dead code no async for jobs no Continuous Integration / Continuous Deployment 23 / 69
24 State of Union Python 2.7 (support 2020) Django 1.8 (support april 2018) few dependencies are deprecated or no maintainers (incompatible with django 1.11) SQLite no tests (Python 168 files and lines of code) no documentation, some comments are in Italian duplicated/dead code no async for jobs no Continuous Integration / Continuous Deployment no API for external tools need to export data (mobile app, ticket search app, etc...) 24 / 69
25 State of Union Python 2.7 (support 2020) Django 1.8 (support april 2018) few dependencies are deprecated or no maintainers (incompatible with django 1.11) SQLite no tests (Python 168 files and lines of code) no documentation, some comments are in Italian duplicated/dead code no async for jobs no Continuous Integration / Continuous Deployment no API for external tools need to export data (mobile app, ticket search app, etc...) no syslog, just send error with exception to the mailing list. 25 / 69
26 State of Union Python 2.7 (support 2020) Django 1.8 (support april 2018) few dependencies are deprecated or no maintainers (incompatible with django 1.11) SQLite no tests (Python 168 files and lines of code) no documentation, some comments are in Italian duplicated/dead code no async for jobs no Continuous Integration / Continuous Deployment no API for external tools need to export data (mobile app, ticket search app, etc...) no syslog, just send error with exception to the mailing list. settings were hardcoded, no environment variables 26 / 69
27 27 / 69
28 and seriously we are not alone in this case. 28 / 69
29 But, don't forget one thing! 29 / 69
30 in fact, there is a lot of things 30 / 69
31 in fact, there is a lot of things Many former developers (it's an open source project) Inherited from PyCon Italia contributors since 2009 (first version) 31 / 69
32 in fact, there is a lot of things Many former developers (it's an open source project) Inherited from PyCon Italia contributors since 2009 (first version) Volunteers 32 / 69
33 in fact, there is a lot of things Many former developers (it's an open source project) Inherited from PyCon Italia contributors since 2009 (first version) Volunteers Free time 33 / 69
34 in fact, there is a lot of things Many former developers (it's an open source project) Inherited from PyCon Italia contributors since 2009 (first version) Volunteers Free time No web dev, but data scientist, backend dev 34 / 69
35 We have a real challenge 35 / 69
36 We have a real challenge Continuous Integration / Continuous Deployment 36 / 69
37 We have a real challenge Continuous Integration / Continuous Deployment Documentation 37 / 69
38 We have a real challenge Continuous Integration / Continuous Deployment Documentation Configuration 38 / 69
39 We have a real challenge Continuous Integration / Continuous Deployment Documentation Configuration Tests 39 / 69
40 We have a real challenge Continuous Integration / Continuous Deployment Documentation Configuration Tests Write Code/Refactoring 40 / 69
41 We have a real challenge Continuous Integration / Continuous Deployment Documentation Configuration Tests Write Code/Refactoring Quality of code 41 / 69
42 We have a real challenge Continuous Integration / Continuous Deployment Documentation Configuration Tests Write Code/Refactoring Quality of code Profiling 42 / 69
43 We have a real challenge Continuous Integration / Continuous Deployment Documentation Configuration Tests Write Code/Refactoring Quality of code Profiling Deployment 43 / 69
44 We have a real challenge Continuous Integration / Continuous Deployment Documentation Configuration Tests Write Code/Refactoring Quality of code Profiling Deployment Monitoring 44 / 69
45 Continuous Integration Travis ( language: python python: - "2.7" install: - pip install -r requirements-dev.txt script: "python manage.py compilemessages && python manage.py test" 45 / 69
46 Documentation Sphinx 46 / 69
47 Con guration django-dotenv Your.env file POSTGRES_USER="postgres" POSTGRES_PASSWORD="" SECRET_KEY="whoami" ALLOWED_HOSTS='' CSRF_COOKIE_SECURE=False DEBUG=True ENVIRONMENT='LOCAL' DJANGO_SETTINGS_MODULE=dev-settings Your manage.py file import dotenv if name == ' main ': dotenv.read_dotenv() os.environ.setdefault("django_settings_module", "project.settings") / 69
48 Tests unittest / pytest django.test / pytest-django mock / pytest-mock 48 / 69
49 Tests coverage / pytest-cov django-coverage-plugin 49 / 69
50 Tests django-test-without-migrations and pytest-django python manage test --nomigrations # or pytest --nomigrations 50 / 69
51 Tests factory_boy and django-factoryboy class TalkFactory(factory.django.DjangoModelFactory): class Meta: model = 'conference.talk' title = factory.lazyattribute(lambda talk: fake.sentence(nb_words=6, variable_n sub_title = factory.faker('sentence', nb_words=12, variable_nb_words=true) slug = factory.lazyattribute(lambda talk: slugify(talk.title)) level = factory.iterator(conference.models.talk_level, getter=lambda x: x[0]) status = factory.iterator(conference.models.talk_status, getter=lambda x: x[0]) conference = factory.iterator(conference.models.conference.objects.all().values language = factory.iterator(talk_languages, getter=lambda x: x[0]) Definition of a Factory in app/tests/factories/model.py 51 / 69
52 Write Code/Refactoring These tools will help your code With the tests, you can start to rewrite the bad code pyflake8, pylint vulture django-pdb and --ipdb pdbpp (pdb++) (for pytest) or ipdb 52 / 69
53 Write Code/Refactoring These tools will help your code With the tests, you can start to rewrite the bad code mypy with mypy-django gnrbag.py:84: error: Incompatible types in assignment (expression has type "classmethod", var gnrbag.py:317: error: Name 'json' already defined gnrbag.py:2874: error: Need type annotation for variable gnrbag.py:3083: error: Dict entry 3 has incompatible type "str": "str" ` 53 / 69
54 Write Code/Refactoring These tools will help your code With the tests, you can start to rewrite the bad code autoflake --remove-all-unused-imports isort 54 / 69
55 Pro ling django-debug-toolbar 55 / 69
56 Pro ling django-devserver + line_profiler [11/Jul/ :26:50] "GET /favicon.ico HTTP/1.1" [11/Jul/ :26:50] "GET /en/favicon.ico HTTP/1.1" [sql] (3ms) 1 queries with 0 duplicates [profile] Total time to render was 0.03s [profile] Timer unit: 1e-06 s Total time: s File: /home/stephane/.virtualenvs/ep2017/lib/python2.7/site-packages/cms/views.py Function: details at line 23 Line # Hits Time Per Hit % Time Line Contents ============================================================== 23 def details(request, slug): 24 """ 25 The main view of the Django-CM 26 page. 27 """ 56 / 69
57 Pro ling pytest-profiling with --profile-svg --durations=2 $ pytest --durations=2 --profile-svg ======================== slowest 2 test durations =========================================== 0.47s setup assopy/tests/test_reset_password.py::resetpasswordtestcase::test_reset_passwor 0.36s call assopy/tests/test_stripe.py::stripeviewtestcase::test_add_stripe_on_order_test if you are a purist, maybe you will prefer cprofile 57 / 69
58 django_load:48:load 2.28% % test_view s:174:test_conference_talk test_profile:30:test_p3_account_data_get 3.72% 1.09% 0.51% 3.63% test_view s:109:test_p3_schedule_list 1.09% context_processors:16:_get_m enu_renderer 2.52% m enu_pool:262:get_renderer 2.52% m enu_pool:269:discover_m enus 2.49% % % % % lru_cache:94:w rapper 2.77% (0.01% ) 2.52% % test_profile:74:test_p3_profile 0.83% 0.51% 0.82% 2.13% urlresolvers:524:reverse 4.96% 0.83% test_view s:32:test_p3_w hos_com ing_w ith_conference 0.84% 0.88% test_cart:19:test_p3_cart 0.84% test_reset_passw ord:6:test_reset_passw ord 5.24% 5.24% 8.03% 10 client:495:get 22.16% core:145:render 8.04% (0.02% ) 146 helpers:74:render_tag cm s_tags:473:render_tag 3.75% 8.02% 10 defaults:9:page_not_found 1.02% 3.34% 10 m enu_tags:119:get_context 3.34% % 3.75% 10 sekizai_tags:90:render_tag 3.34% 8.03% % % 10 base:901:render 14.22% (0.08% ) % 10 debug:77:render_node 14.21% (0.04% ) % 14 utils:193:inner 6.97% (0.01% ) 1.95% 84 helpers:28:render_tag trans_real:485:get_language_from _request toolbar_base:11: init toolbar:107:init_toolbar 1.95% 0.51% 3.83% 0.67% 0.60% (0.01% ) 5 (0.01% ) (0.01% ) % % test_profile:37:test_p3_account_data_post 1.58% test_view s:100:test_p3_schedule test_view s:204:test_p3_schedule_m y_schedule_ics_error_404 test_view s:83:test_conference_schedule_xm l 0.90% 1.35% 0.61% 3.11% 0.86% 0.82% functional:132: w rapper 3.34% 26 m enu_pool:142:_build_nodes 0.81% (0.01% ) % 10 cm s_m enus:185:get_nodes 0.62% (0.01% ) 10 defaulttags:317:render defaulttags:472:render 4.02% 2.25% (0.01% ) (0.01% ) % % % 10 m enu_pool:233:get_nodes 0.82% % test_view s_live:34:test_live 0.88% 0.71% decorators:99:_w rapped_view 1.02% 3.98% % % 2.25% 27 debug:87:render 2.08% (0.04% ) % 1.77% % 1.28% base:1227:render 1.27% % 1.35% 0.89% 40 test_profile:103:test_p3_profile_m essage_accept_m essage test_stripe:24:test_add_stripe_on_order_test test_stripe:49:test_stripe_get test_m odels:86:test_send_user_m essage 1.56% 1.51% 4.32% 0.61% 2.71% 1.03% 40 client:505:post 5.65% loader:81:render_to_stringcm s_tags:384:get_value cm s_tags:137:get_value init :41:get_language_from _request functional:56: get 0.99% 9.47% 0.89% 1.03% 0.61% 0.50% (0.01% ) (0.01% ) (0.03% ) (0.06% ) loader_tags:51:render loader_tags:112:render 9.44% 12.54% (0.02% ) % 0.61% test_view s:22:test_p3_w hos_com ing_no_conference 1.03% testcases:243:assertr edirects 0.90% % 158 test_view s:153:test_conference_sponsor 1.26% 0.89% 22.16% 3 base:84:get_exception_response 1.03% 1.27% % % 9.44% % base:645:resolve 2.05% 8.04% % 1.26% client:295:get 22.16% 33 utils:90:instrum ented_test_render 14.24% (0.01% ) 14.22% % % % init :197:get_language_from _request 0.52% 37 4 client:644:_handle_redirects 4.23% 4.23% % % 0.15% 3.61% 2.04% 4 client:305:post 2.04% % 4 client:353:generic 24.19% (0.01% ) locale:29:process_request decorators:60:w rappertoolbar:43:process_request 0.52% 4.33% 2.06% (0.01% ) 5.49% 17 loader:23:get_tem plate 1.31% % % % 3.79% schedule:128:schedule init :382:w hos_com ing live:31:live 0.79% 1.60% 0.58% % 1.51% shortcuts:50:render 0.38% 5.53% % 10 django:44:render engine:179:render_to_string cm s_tags:52:_get_page_by_untyped_arg i18n:67:get_language_list 12.55% 3.83% 1.63% 0.67% (0.02% ) (0.02% ) 1.30% % % shortcuts:27:render_to_response 0.51% 3.84% % % % 3.83% 5 loader_tags:145:render 2.46% % 2.71% 28 5 base:204:render 14.70% (0.01% ) 2.33% % % % % % % 1.48% % 5 35 toolbar:41: init 1.48% (0.03% ) % % % 36 client:428:request 24.15% (0.01% ) 36 client:105: call 24.07% (0.01% ) 0.21% % % % base:94:get_response 23.79% (0.04% ) 0.53% % % % 1.60% % 0.58% 0.19% % % 0.94% runner:96:pytest_runtest_callpluggy:238:_w rapped_call 99.89% 99.99% % (0.01% ) % case:333:run 99.64% (0.05% ) % 7 m ock:1289:patched 8.54% 4.32% % pluggy:598:execute % (0.01% ) 4.33% test_m odels:48:setu p 4.33% 3 pluggy:263: init % (0.01% ) 2.71% 99.90% % 0.52% 1.35% test_m odels:16:setu p 0.85% functional:223:inner 0.57% (0.01% ) 114 functional:102: prepare_class 0.65% 0.11% % 6 cachef:137:w rapper 1.29% (0.01% ) % % 5 dataaccess:14:profile_data 0.58% % 9 test_view s:45:setu p 0.85% 15.05% 6 9 decorators:19:_w rapped_viewresponse:149:render decorators:80:w rapper~:0:<_socket.gethostbyaddr> 2.34% 6.14% 0.87% 1.31% (1.32% ) 0.56% 2.16% % 0.66% 0.87% cart:79:cart schedule:150:schedule_list 0.73% 0.94% 1.87% 0.68% 99.89% 84 unittest:174:runtest 99.89% (0.01% ) % 79 testcases:170: call 99.88% (0.01% ) % 79 case:430: call 99.64% % 84 profile:100:p3_account_data 0.68% 1.87% 0.78% 6.05% 99.89% 84 m odels:489:send_user_m essage 1.37% 1.34% m essage:297:send 1.34% 1.33% locm em :22:send_m essages 1.33% 1.33% m essage:264:m essage 1.33% m essage:42:m ake_m sgid 1.32% 6.14% 0.83% profile:26:p3_profile 0.83% response:124:rendered_content 1.00% 6.14% m odels:445:save 1.00% 0.63% % 84 i18n:22:get_languages 0.74% (0.02% ) % 870 conf:276:get_cm s_setting 0.68% (0.03% ) % 1.32% utils:11: str 1.32% m odels:70:save_instance 1.00% 0.61% 870 conf:223:get_languages 0.61% (0.09% ) % 870 functional:188: w rapper 0.70% (0.02% ) % 1279 functional:89: init 0.68% (0.03% ) % 0.65% 1279 decorators:20:w rapper 0.68% 0.52% % 1.36% utils:14:get_fqdn 1.32% socket:128:getfqdn 1.32% 0.11% 1.32% 1.31% base:60: call 59.57% (0.01% ) % 1 test_stats:14:setu p 4.50% 12.37% % % % test_cart:12:setu p 1.80% 1.45% 2.71% % % 2.67% % 6.79% % 1 test_m odels:32:test_profile 1.24% 1.80% 3 test_view s:15:setu p test_view s_live:18:setu p 3.34% 6.79% 5.59% % % client:584:login 10.70% (0.02% ) 3 client:411:_session 0.71% (0.01% ) 0.32% % % 1.20% % % 6 68 test_view s:18:setu p 10.17% 11.08% % % % test_stripe:16:setu p 2.54% 1.61% 13.58% 8 test_profile:14:setu p 13.58% 2.50% 8 8 Pro ling with --profile-svg you can get this result 58 / 69
59 Pro ling cprofilev is a web interface for the cprofile output pip install cprofilev cprofilev -f prof/test_reset_password.prof [cprofilev]: cprofile output available at 59 / 69
60 Deployment We already use: Docker docker-compose 60 / 69
61 Deployment We already use: Docker docker-compose But for the Continuous Development we need Kubernetes / Docker Swarm 61 / 69
62 Monitoring sentry (for the logs) supervisord or container orchestration tool shinken or nagios 62 / 69
63 63 / 69
64 State of Union We have Travis Tests (97 tests, before just 3) Code coverage (32%, before just 10%) Started the port to PostgreSQL 9.6 Profiling when we develop if needed 64 / 69
65 State of Union The next steps Add documentation Remove the dead code Move to Django 1.11.x or Django 2.0 Use Python >= 3.6 Use PostgreSQL Use Celery Provide API (REST) for the mobile and web applications Single Page App with ReactJS or VueJS (no idea) 65 / 69
66 Is there a Django Expert in the room? 66 / 69
67 How to contribute? Sprint Code on this week-end Join the Web Team 67 / 69
68 Share your best practices 68 / 69
69 Questions? github.com/matrixise 69 / 69
DISQUS. Continuous Deployment Everything. David
DISQUS Continuous Deployment Everything David Cramer @zeeg Continuous Deployment Shipping new code as soon as it s ready (It s really just super awesome buildbots) Workflow Commit (master) Integration
More informationTomasz Szumlak WFiIS AGH 23/10/2017, Kraków
Python in the Enterprise Django Intro Tomasz Szumlak WFiIS AGH 23/10/2017, Kraków Going beyond Django is a Web framework very popular! It is not the only one, and cannot do wonders There are many others:
More informationSocial Science Text Analysis with Python (&..)
Social Science Text Analysis with Python (&..) November 22, 2017 Who am I ˆ ˆ Started: Basic on Acorn Electron ˆ Trained: UCU, U. Edinburgh (Informatics) ˆ PhD: "Semantic Network Analsyis" (VU AI + FSW)
More informationArchan. Release 2.0.1
Archan Release 2.0.1 Jul 30, 2018 Contents 1 Archan 1 1.1 Features.................................................. 1 1.2 Installation................................................ 1 1.3 Documentation..............................................
More informationGunnery Documentation
Gunnery Documentation Release 0.1 Paweł Olejniczak August 18, 2014 Contents 1 Contents 3 1.1 Overview................................................. 3 1.2 Installation................................................
More informationnewauth Documentation
newauth Documentation Release 0.0.1 adrien-f April 11, 2015 Contents 1 Installation 3 1.1 Dependencies............................................... 3 1.2 Downloading...............................................
More informationBuilding Serverless applications with Python. Andrii Soldatenko 8 April 2017 Italy,
Building Serverless applications with Python Andrii Soldatenko 8 April 2017 Italy, Otto Andrii Soldatenko Senior Python Developer at CTO at Co-organizer PyCon Belarus 2017 Speaker at many PyCons and open
More informationdjango-embed-video Documentation
django-embed-video Documentation Release 1.1.2-stable Juda Kaleta Nov 10, 2017 Contents 1 Installation & Setup 3 1.1 Installation................................................ 3 1.2 Setup...................................................
More informationGraphene Documentation
Graphene Documentation Release 1.0.dev Syrus Akbary Nov 09, 2017 Contents 1 Introduction tutorial - Graphene and Django 3 1.1 Set up the Django project........................................ 3 1.2 Hello
More informationKoalix ERP. Release 0.2
Koalix ERP Release 0.2 March 01, 2016 Contents 1 Features 3 1.1 Screenshots................................................ 3 1.2 Installation................................................ 6 2 Indices
More informationLotus IT Hub. Module-1: Python Foundation (Mandatory)
Module-1: Python Foundation (Mandatory) What is Python and history of Python? Why Python and where to use it? Discussion about Python 2 and Python 3 Set up Python environment for development Demonstration
More informationTDD of Python Microservices. Michał Bultrowicz
TDD of Python Microservices Michał Bultrowicz About me Name: Michał Bultrowicz Previous employers: Intel that s the full list Previous occupation: technical team-leader on Trusted Analytics Platform project
More informationFull Stack boot camp
Name Full Stack boot camp Duration (Hours) JavaScript Programming 56 Git 8 Front End Development Basics 24 Typescript 8 React Basics 40 E2E Testing 8 Build & Setup 8 Advanced JavaScript 48 NodeJS 24 Building
More informationbottle-rest Release 0.5.0
bottle-rest Release 0.5.0 February 18, 2017 Contents 1 API documentation 3 1.1 bottle_rest submodule.......................................... 3 2 What is it 5 2.1 REST in bottle..............................................
More information"Stupid Easy" Scaling Tweaks and Settings. AKA Scaling for the Lazy
"Stupid Easy" Scaling Tweaks and Settings AKA Scaling for the Lazy I'm Lazy (and proud of it) The Benefits of "Lazy" Efficiency is king Dislike repetition Avoid spending a lot of time on things A Lazy
More informationdjango-jenkins Documentation
django-jenkins Documentation Release 0.19.0 Mikhail Podgurskiy, Gabriel Le Breton Jun 04, 2017 Contents 1 Indices and tables 3 2 Getting started 5 2.1 Configuring django project........................................
More informationCSE 115. Introduction to Computer Science I
CSE 115 Introduction to Computer Science I Road map Review Limitations of front-end sites Web servers Examples Review
More informationdjango-auditlog Documentation
django-auditlog Documentation Release 0.4.3 Jan-Jelle Kester Jul 05, 2017 Contents 1 Contents 3 1.1 Installation................................................ 3 1.2 Usage...................................................
More informationdjango-allauth-2fa Documentation
django-allauth-2fa Documentation Release 0.4.3 Víðir Valberg Guðmundsson, Percipient Networks Apr 25, 2018 Contents: 1 Features 3 2 Compatibility 5 3 Contributing 7 3.1 Running tests...............................................
More informationDeployability. of Python. web applications
Deployability of Python web applications Bruno Renié EuroPython 2013 Deployability, n The extent to which something is deployable Disclaimer Most of this isn't python-specific or even web-specific Oriented
More informationEXPERIENCES MOVING FROM DJANGO TO FLASK
EXPERIENCES MOVING FROM DJANGO TO FLASK DAN O BRIEN, VP OF ENGINEERING CRAIG LANCASTER, CTO Jana Mobile Inc. www.jana.com WHO WE ARE Jana is a startup company in Boston connecting advertising and marketing
More informationOpenShift Roadmap Enterprise Kubernetes for Developers. Clayton Coleman, Architect, OpenShift
OpenShift Roadmap Enterprise Kubernetes for Developers Clayton Coleman, Architect, OpenShift What Is OpenShift? Application-centric Platform INFRASTRUCTURE APPLICATIONS Use containers for efficiency Hide
More informationServerless in the Java ecosystem
Serverless in the Java ecosystem Pratik Patel Pratik PateL CTO Triplingo Java Champion JavaScript Troublemaker Python Hacker Founder, PERL recovery group WHAT IS SERVERLESS? ARCHITECTURE ECOSYSTEM SERVERLESS
More informationselenose Documentation
selenose Documentation Release 1.3 ShiningPanda October 20, 2014 Contents 1 Installation 3 2 Nose 5 2.1 Selenium Server Plugin......................................... 5 2.2 Selenium Driver Plugin.........................................
More informationBrief Contents. Acknowledgments... xv. Introduction Chapter 1: Starting Your Project Chapter 2: Modules, Libraries, and Frameworks...
Brief Contents Acknowledgments... xv Introduction... 1 Chapter 1: Starting Your Project.... 5 Chapter 2: Modules, Libraries, and Frameworks... 15 Chapter 3: Documentation and Good API Practice... 33 Chapter
More informationdjango-app-metrics Documentation
django-app-metrics Documentation Release 0.8.0 Frank Wiles Sep 21, 2017 Contents 1 Installation 3 1.1 Installing................................................. 3 1.2 Requirements...............................................
More informationBuilding on the Globus Python SDK
Building on the Globus Python SDK Stephen Rosen April 11, 2017 SDK Overview The Globus SDK is a client-side library which provides language bindings for entities and methods available via web APIs. SDK
More informationdjango-geoip Documentation
django-geoip Documentation Release 0.5dev coagulant March 02, 2017 Contents 1 Contents 3 2 Contributing 15 i ii App to figure out where your visitors are from by their IP address. Detects country, region
More informationDjango Wordpress API Documentation
Django Wordpress API Documentation Release 0.1.0 Swapps Jun 28, 2017 Contents 1 Django Wordpress API 3 1.1 Documentation.............................................. 3 1.2 Quickstart................................................
More informationHow to bootstrap a startup using Django. Philipp Wassibauer philw ) & Jannis Leidel
How to bootstrap a startup using Django Philipp Wassibauer (@ philw ) & Jannis Leidel (@jezdez) The idea Gidsy is a place where anyone can explore, book and offer things to do. Why we chose Django Big
More informationyouckan Documentation
youckan Documentation Release 0.1.0.dev Axel Haustant May 26, 2014 Contents 1 Compatibility 3 2 Installation 5 3 Documentation 7 3.1 Configuration............................................... 7 3.2
More informationCookiecutter Django CMS Documentation
Cookiecutter Django CMS Documentation Release 0.2.2 Emanuele Palazzetti December 24, 2013 Contents 1 Basics 3 1.1 Overview................................................. 3 1.2 Usage...................................................
More informationServerless Architecture meets Continuous Delivery. Andreas
Serverless Architecture meets Continuous Delivery Andreas Mohrhard andreas.mohrhard@cosee.biz @amohrhard ANDREAS MOHRHARD Cloud Engineer @ cosee Expert on AWS topics Software engineer with focus on Java
More informationJackalope Documentation
Jackalope Documentation Release 0.2.0 Bryson Tyrrell May 23, 2017 Getting Started 1 Create the Slack App for Your Team 3 2 Deploying the Slack App 5 2.1 Run from application.py.........................................
More informationBuilding a Django Twilio Programmable Chat Application
Building a Django Twilio Programmable Chat Application twilio.com/blog/08/0/python-django-twilio-programmable-chat-application.html March 7, 08 As a developer, I ve always wanted to include chat capabilities
More informationContainerised Development of a Scientific Data Management System Ben Leighton, Andrew Freebairn, Ashley Sommer, Jonathan Yu, Simon Cox LAND AND WATER
Containerised elopment of a Scientific Data Management System Ben Leighton, Andrew Freebairn, Ashley Sommer, Jonathan Yu, Simon Cox LAND AND WATER Some context I m part of a team of developers in Land
More informationDjango ORM crash
Django ORM crash test Django ORM crash test Andrii Soldatenko 9 April 2017 Italy, Otto Andrii Soldatenko Senior Python Developer at CTO at Co-organizer PyCon Belarus 2017 Speaker at many PyCons and open
More informationFUJITSU Software ServerView Cloud Monitoring Manager V1.1. Release Notes
FUJITSU Software ServerView Cloud Monitoring Manager V1.1 Release Notes J2UL-2170-01ENZ0(00) July 2016 Contents Contents About this Manual... 4 1 What's New?...6 1.1 Performance Improvements... 6 1.2
More informationSLAM Documentation. Release 0.1 LAL
SLAM Documentation Release 0.1 LAL Nov 09, 2017 Contents 1 Contents: 3 1.1 Introduction............................................... 3 1.2 Install...................................................
More informationdjango-cron Documentation
django-cron Documentation Release 0.3.5 Tivix Inc. Mar 04, 2017 Contents 1 Introduction 3 2 Installation 5 3 Configuration 7 4 Sample Cron Configurations 9 4.1 Retry after failure feature........................................
More informationPHP6 AND MYSQL BIBLE BY STEVE SUEHRING, TIM CONVERSE, JOYCE PARK
PHP6 AND MYSQL BIBLE BY STEVE SUEHRING, TIM CONVERSE, JOYCE PARK DOWNLOAD EBOOK : PHP6 AND MYSQL BIBLE BY STEVE SUEHRING, TIM Click link bellow and free register to download ebook: PHP6 AND MYSQL BIBLE
More informationPostgres Copy Table From One Schema To Another
Postgres Copy Table From One Schema To Another PostgreSQL: how to periodically copy many tables from one database to another but am free to export a copy of both to another server and do whatever I want
More informationPromgen Documentation
Promgen Documentation Release 0.26.dev Paul Traylor Apr 05, 2018 Contents 1 Overview 3 1.1 Installing Promgen............................................ 3 1.2 Using Promgen..............................................
More informationpynojo Documentation Release unknown pynojo development team
pynojo Documentation Release unknown pynojo development team November 05, 2013 Contents i ii Welcome! This documentation is generated on November 05, 2013 for pynojo unknown. Contents: Contents 1 2 Contents
More informationDjango QR Code Documentation
Django QR Code Documentation Release 0.3.3 Philippe Docourt Nov 12, 2017 Contents: 1 Django QR Code 1 1.1 Installation................................................ 1 1.2 Usage...................................................
More informationdjango-embed-video Documentation
django-embed-video Documentation Release 0.7.stable Juda Kaleta December 21, 2013 Contents i ii Django app for easy embeding YouTube and Vimeo videos and music from SoundCloud. Repository is located on
More informationThink Small to Scale Big
Think Small to Scale Big Intro to Containers for the Datacenter Admin Pete Zerger Principal Program Manager, MVP pete.zerger@cireson.com Cireson Lee Berg Blog, e-mail address, title Company Pete Zerger
More informationThe State of Python. and the web. Armin Ronacher
The State of Python and the web Armin Ronacher // @mitsuhiko Who am I Armin Ronacher (@mitsuhiko) Founding Member of the Pocoo Team we're doing Jinja2, Werkzeug, Flask, Pygments, Sphinx and a bunch of
More informationcookiecutter-django Documentation
cookiecutter-django Documentation Release 2016.51.1 cookiecutter-django December 19, 2016 Contents 1 Project Generation Options 3 2 Getting Up and Running Locally 5 2.1 Setting Up Env Vars for Production...................................
More informationCID Documentation. Release Francis Reyes
CID Documentation Release 0.2.0 Francis Reyes Sep 30, 2017 Contents 1 Django Correlation IDs 1 1.1 Features.................................................. 1 Python Module Index 9 i ii CHAPTER 1 Django
More informationDeveloping Kubernetes Services
/ MARCH 2019 / CON LONDON Developing Kubernetes Services at Airbnb Scale What is kubernetes? @MELAN IECEBULA Who am I? A BRIEF HISTORY Why Microservices? 4000000 3000000 MONOLITH LOC 2000000 1000000 0
More informationCloudCenter for Developers
DEVNET-1198 CloudCenter for Developers Conor Murphy, Systems Engineer Data Centre Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1. Find this session in the
More informationBiostar Central Documentation. Release latest
Biostar Central Documentation Release latest Oct 05, 2017 Contents 1 Features 3 2 Support 5 3 Quick Start 7 3.1 Install................................................... 7 3.2 The biostar.sh manager..........................................
More informationTranny Documentation. Release Leigh MacDonald
Tranny Documentation Release 0.1.1 Leigh MacDonald May 04, 2017 Contents 1 Tranny Setup Info 3 1.1 Requirements............................................... 3 1.2 Setup...................................................
More informationdjango-generic-filters Documentation
django-generic-filters Documentation Release 0.11.dev0 Novapost August 28, 2014 Contents 1 Example 3 2 Forms 5 3 Ressources 7 4 Contents 9 4.1 Demo project...............................................
More informationContinuous Delivery for Python Developers PyCon 8, 2017
Continuous Delivery for Python Developers PyCon 8, 2017 live slides @ tinyurl.com/pycon8-cd Peter Bittner Developer (of people, companies, code) Co-founder Painless Software @peterbittner, django@bittner.it
More informationByte Academy. Python Fullstack
Byte Academy Python Fullstack 06/30/2017 Introduction Byte Academy pioneered industry-focused programs beginning with the launch of our FinTech course, the first of its type. Our educational programs bridge
More informationDiscover GraphQL with Python, Graphene and Odoo. FOSDEM Stéphane Bidoul Version 1.0.4
Discover GraphQL with Python, Graphene and Odoo FOSDEM 2019-02-03 Stéphane Bidoul Version 1.0.4 2 / 47 A short story Why this talk 3 / 47 /me in a nutshell @sbidoul CTO of (https://acsone.eu)
More informationAjax Error Code 500 State 4
Ajax Error Code 500 State 4 Builds AJAX request and sends it to ASP page function sendinfo(x,y,z)( if (window. information to be sent, it only returns the else case of "Error with ready state: 4 and status:
More informationTesting My Patience. Automated Testing for Python Projects. Adam Lowry Portland Python Users Group
Testing My Patience Automated Testing for Python Projects Adam Lowry Portland Python Users Group 2009-08-11 Unit Testing Integration/Functional Testing Web Testing Maurice Koop: http://www.flickr.com/photos/mauricekoop/1491529630/
More informationAgile development. Agile development work cycle. Reacting to bugs
Agile development Agile development work cycle Repeat until all features are implemented: 1. Write a test that defines your next feature 2. Write the simplest version of code that makes your test 3. Run
More informationMysql Using Php Script
How To Create Database Schema Diagram In Mysql Using Php Script You can create database in two ways, by executing a simple SQL query or by using forward engineering in MySQL workbench. The Database tool
More informationSoftware Carpentry. Nicola Chiapolini. Physik-Institut University of Zurich. June 16, 2015
Nicola Chiapolini, June 16, 2015 1 / 45 Software Carpentry Nicola Chiapolini Physik-Institut University of Zurich June 16, 2015 Based on a talk by Pietro Berkes This work is licensed under the Creative
More informationReside in: Saint Petersburg, m. Mezhdunarodnaya Citizenship: Russia, work permit at: Russia Not ready to relocate, ready for rare business trips
Yury A. Apollov Male, 29 years, born on 25 August 1986 +7 (911) 941-50-61 preferred method of communication apollovy@gmail.com Skype: mc_scrat vk: https://vk.com/apollov1 github: https://github.com/apollovy
More informationEvaluation Guide for ASP.NET Web CMS and Experience Platforms
Evaluation Guide for ASP.NET Web CMS and Experience Platforms CONTENTS Introduction....................... 1 4 Key Differences...2 Architecture:...2 Development Model...3 Content:...4 Database:...4 Bonus:
More informationGeospatial three amigos: Python, Leaflet, and ElasticSearch. Roberto Rosario
Geospatial three amigos: Python, Leaflet, and ElasticSearch Roberto Rosario Guest appearance Docker Who am I? Who am I? robertorosario.com Who am I? Who am I? Who am I? My map work My map work Learned
More informationBuild Scientific Computing Infrastructure with Rebar3 and Docker. Eric Sage
Build Scientific Computing Infrastructure with Rebar3 and Docker Eric Sage A scientific telecommunications network Hello, I d like an automated gene ontology please! Agenda - An example biological service
More informationdjango-konfera Documentation
django-konfera Documentation Release 0.1 SPy o.z. Mar 21, 2017 Contents 1 Installation 3 1.1 Using Pip................................................. 3 1.2 Using the Source.............................................
More informationTOOLSMITHING AN IDA BRIDGE: A TOOL BUILDING CASE STUDY. Adam Pridgen Matt Wollenweber
TOOLSMITHING AN IDA BRIDGE: A TOOL BUILDING CASE STUDY Adam Pridgen Matt Wollenweber Presentation Agenda Motivation and Purpose Toolsmithing Identifying the short-cuts to meet project needs Processes for
More informationPlugin Monitoring for GLPI
Plugin Monitoring for GLPI Introduction 2 TOC 3 Contents Preface: Introduction...v Goals of this project... v Why is it revolutionary?...v Links...v Internet site...v IRC-Channel...vi Terms used in this
More informationfiscalyear Documentation
fiscalyear Documentation Release 0.1.0 Adam J. Stewart Apr 17, 2017 User Documentation 1 Basic Usage 3 1.1 FiscalYear................................................ 3 1.2 FiscalQuarter...............................................
More informationwagtailtrans Documentation
wagtailtrans Documentation Release 0.1.0 LUKKIEN Jul 27, 2018 Contents 1 Table of contents 3 1.1 Getting started.............................................. 3 1.2 Migrate your existing Wagtail site....................................
More informationHow to write a well-behaved Python command line application. PyCon AU 2012 Tutorial Graeme Cross
How to write a well-behaved Python command line application PyCon AU 2012 Tutorial Graeme Cross This is an introduction to Writing robust, maintainable command line applications Easily processing command
More informationGraphene Documentation
Graphene Documentation Release 1.0 Syrus Akbary Jan 25, 2018 Contents 1 Getting started 3 1.1 What is GraphQL?............................................ 3 1.2 Requirements...............................................
More informationBeginning Android Tablet
Beginning Android Tablet Programming Starting with Android Honeycomb for Tablets Robbie Matthews Apress* Contents About the Author About the Technical Reviewer - Acknowledgments Some Notes on Using the
More informationdjango-embed-video Documentation
django-embed-video Documentation Release 0.6.stable Juda Kaleta October 04, 2013 CONTENTS i ii Django app for easy embeding YouTube and Vimeo videos and music from SoundCloud. Repository is located on
More informationdjango-data-migration Documentation
django-data-migration Documentation Release 0.2.1 Philipp Böhm Sep 27, 2017 Contents 1 Contents: 3 1.1 Installing................................................. 3 1.2 Writing Migrations............................................
More informationPython Development Workflow
Python Development Workflow Best Practice to create / test / versioning / automate and more Marcelo Mello mmello@redhat.com / tchello.mello@gmail.com Pablo Hess phess@redhat.com / pablonhess@gmail.com
More informationCassette Documentation
Cassette Documentation Release 0.3.8 Charles-Axel Dein October 01, 2015 Contents 1 User s Guide 3 1.1 Foreword................................................. 3 1.2 Quickstart................................................
More informationDjango Template Test Database Documentation
Django Template Test Database Documentation Release 1.0.1 Django Template Test Database developers and contributors April 02, 2014 Contents i ii Django Template Test Database Documentation, Release 1.0.1
More informationPusher Documentation. Release. Top Free Games
Pusher Documentation Release Top Free Games January 18, 2017 Contents 1 Overview 3 1.1 Features.................................................. 3 1.2 The Stack.................................................
More informationWhy I still develop synchronous web in the asyncio era. April 7th, 2017 Giovanni Barillari - pycon otto - Firenze, Italy
Why I still develop synchronous web in the asyncio era April 7th, 2017 Giovanni Barillari - pycon otto - Firenze, Italy Who am I? I m Gio! pronounced as Joe trust me, I m a physicist :) code principally
More informationFull Stack Developer with Java
Full Stack Developer with Java Full Stack Developer (Java) MVC, Databases and ORMs, API Backend Frontend Fundamentals - HTML, CSS, JS Unit Testing Advanced Full Stack Developer (Java) UML, Distributed
More informationopen-helpdesk Documentation
open-helpdesk Documentation Release 0.9.9 Simone Dalla Nov 16, 2017 Contents 1 Overview 3 1.1 Dependencies............................................... 3 1.2 Documentation..............................................
More informationWhat I ll be talking about. About me & bol.com The CI/CD bol.com Current setup. The future in the cloud
CI/CD @ bol.com What I ll be talking about 1. 2. 3. 4. 5. About me & bol.com The CI/CD story @ bol.com Current setup Mayfly The future in the cloud About me Maarten Dirkse @mdirkse on Twitter In IT since
More informationBackend Development. SWE 432, Fall Web Application Development
Backend Development SWE 432, Fall 2018 Web Application Development Review: Async Programming Example 1 second each Go get a candy bar Go get a candy bar Go get a candy bar Go get a candy bar Go get a candy
More informationBanzaiDB Documentation
BanzaiDB Documentation Release 0.3.0 Mitchell Stanton-Cook Jul 19, 2017 Contents 1 BanzaiDB documentation contents 3 2 Indices and tables 11 i ii BanzaiDB is a tool for pairing Microbial Genomics Next
More informationServerless Architecture meets Continous Delivery
Serverless Architecture meets Continous Delivery Alex Krause alex.krause@cosee.biz @alex0ptr Andreas Mohrhard andreas.mohrhard@cosee.biz @amohrhard https://twitter.com/jeffbarr/status/805175000906928128
More informationLecture #12: Quick: Exceptions and SQL
UC Berkeley EECS Adj. Assistant Prof. Dr. Gerald Friedland Computational Structures in Data Science Lecture #12: Quick: Exceptions and SQL Administrivia Open Project: Starts Monday! Creative data task
More informationPulp Python Support Documentation
Pulp Python Support Documentation Release 1.0.1 Pulp Project October 20, 2015 Contents 1 Release Notes 3 1.1 1.0 Release Notes............................................ 3 2 Administrator Documentation
More informationPatrick Cheung. PopVote backend developer
Coding PopVote Patrick Cheung PopVote backend developer Why am I here? 47 votes in 1 second highest throughput in any second first voting day (20 June) > 70% votes casted in less then 180 seconds may include
More informationPontoon An Enterprise grade serverless framework using Kubernetes Kumar Gaurav, Director R&D, VMware Mageshwaran R, Staff Engineer R&D, VMware
Pontoon An Enterprise grade serverless framework using Kubernetes Kumar Gaurav, Director R&D, VMware Mageshwaran R, Staff Engineer R&D, VMware Serverless: a quick review Enables running back end logic
More informationWhere is the bottleneck. Manuel Miranda Software Engineer
Where is the bottleneck Manuel Miranda Software Engineer Contents Strategy: What/How to start Basic OS tools Resources tools Advanced Strategy: Considerations When you want to improve your program performance,
More informationOpenAPI development with Python. 11 July 2017 Takuro Wada
OpenAPI development with Python EuroPython2017@Rimini, 11 July 2017 Takuro Wada Hi Takuro Wada Kabuku Inc. Software Engineer - Speaker of EuroPython 2016, PyConJP 2015 - Member of swagger codegen technical
More informationSignals Documentation
Signals Documentation Release 0.1 Yeti November 22, 2015 Contents 1 Quickstart 1 2 What is Signals? 3 3 Contents 5 3.1 Get Started................................................ 5 3.2 Try the Demo Server...........................................
More informationSecuring Production Applications & Data at Runtime. Prevoty
Securing Production Applications & Data at Runtime Prevoty Introducing Prevoty Scalable visibility and protection for all applications and services 20+ 3 Over Verticals: Awards & Recognitions Years in
More informationSubmitted No Schema Type For Mysql Type Datetime
Submitted No Schema Type For Mysql Type Datetime Field webform_views_exec_com_55.submitted: no Schema type for mysql type datetime. webform_views_exec_com_55.submitted: no type for Schema type. I made
More informationProgramming School for 21 st Century. syllabus MOBILE BACKEND DEVOPS
Programming School for 21 st Century syllabus MOBILE BACKEND DEVOPS Overview Refactory Syllabus This is our guideline to help students improve their programming skills, to be an international-level so
More informationDjango Standalone Apps
Django Standalone Apps A developer s fieldguide to developing reusable Django applications Ben Lopatin 2015-2016 Ben Lopatin Contents Just a sample................................... Introduction...................................
More informationPyBuilder Documentation
PyBuilder Documentation Release 0.10 PyBuilder Team Jun 21, 2018 Contents 1 Installation 1 1.1 Virtual Environment........................................... 1 1.2 Installing completions..........................................
More information