Recommended links¶
Interesting links on Python programming.
Python internals¶
Python for HPC¶
Python idioms and readability¶
- Practical decorators Reuven Lerner
- Elegant Solutions For Everyday Python Problems - PyCon 2018
- Yes, It’s Time to Learn Regular Expressions - PyCon 2017
- Decorators, unwrapped How do they work - PyCon 2017
- Decorators and descriptors decoded - PyCon 2017
- The Dictionary Even Mightier - PyCon 2017
- Looping Like a Pro in Python - PyCon 2017
- Readable Regular Expressions - PyCon 2017
- Passing Exceptions 101 Paradigms in Error Handling - PyCon 2017
- Readability Counts - PyCon 2017
- Modern Python Dictionaries: A confluence of a dozen great ideas - PyCon 2017
- Gang of 4 inspired decorators
- Python module of the week
- Type hints for busy programmers
- Exceptions
- Python Tips and Trick, You Haven’t Already Seen - part 1
- Python Tips and Trick, You Haven’t Already Seen - part 2
Blogs¶
Design patterns¶
Machine learning and datascience¶
- Scikit-learn, wrapping your head around machine learning - PyCon 2019
- Applied Deep Learning for NLP Using PyTorch
- Data Science Best Practices with pandas - PyCon 2019
- Thinking like a Panda: Everything you need to know to use pandas the right way
- Plotnine: Grammar of Graphics for Python
- Top 10 Python libraries of 2019
Writing your own debugger¶
CLIs¶
Packaging¶
Tools¶
- IPython and Jupyter in Depth: High productivity, interactive Python Matthias Bussonier
- Faster Python Programs - Measure, don’t Guess - PyCon 2019
- Python Tooling Makes a Project Tick
- Life Is Better Painted Black, or: How to Stop Worrying and Embrace Auto-Formatting
- CType-checked Python in the real world - PyCon 2018 mypy
- Using GitHub, Travis CI, and Python to Introduce Collaborative Software Development - PyCon 2018
- What’s in your pip toolbox - PyCon 2017
- How can I get tox and poetry to work together to support testing multiple versions of a Python dependency?
Documentation¶
Testing¶
- tox nox and invoke Break the Cycle: Three excellent Python tools to automate repetitive tasks
- Hypothesis
- Escape from auto-manual testing with Hypothesis!
- Beyond Unit Tests: Taking Your Testing to the Next Level - PyCon 2018
- Why your mock doesn’t work
- Visual Testing with PyCharm and pytest - PyCon 2018
- “WHAT IS THIS MESS?” - Writing tests for pre-existing code bases - PyCon 2018
- Python Testing 201 with pytest
- 8 great pytest plugins
- Pytest Features, That You Need in Your (Testing) Life
Development environment¶
- pyenv+poetry+pipx <https://jacobian.org/2019/nov/11/python-environment-2020/>
- https://sourcery.ai/blog/python-best-practices/
- https://pypi.org/project/create-python-package/ a micc ‘light’