Table of Contents
5 ways to deploy your Python web app in 2017 - Andrew T Baker
ngrok
Heroku
Serverless(Zappa)
Virtual Machines
Docker
Cython as a Game Changer for Efficiency - Alex Orlov
- Cython is a superset of the Python programming language, designed to give C-like performance with code which is mostly written in Python.
How documentation works, and how to make it work for your project - Daniele Procida
Modern Python Dictionaries A confluence of a dozen great ideas - Raymond Hettinger
Intro
Separate Chaining
- Basical concept of hashing
Dynamic Resizing
- More entries, more buckets, which incurs resizing
- When resizing, hash values of all entries requied
- Make resizing faster by caching the hash value,
Faster Matching
- Do cheap equality tests first
Open Addressing
- Flatten entries from the separate chaining
Deleted Entries
Multiple Hashing
- Linear probing will end up with catastrophic linear pile-up
- Re-hash to other locations based on the hash value and the number of probes
Early-Out For Lookups
Compact Dict
Key Sharing Dictionary
- Share hash values and keys
Static Types for Python - Jukka Lehtosalo, David Fisher
Motivation
Demo
How mypy works
Annotating a codebase
- Instead, use bottom-up approach:
- Even though, there are some cases that need ignore imports
Keep your code mypy clean
mypy at Dropbox
The Gilectomy How's It Going - Larry Hastings
The Python Visualization Landscape - Jake VanderPlas