Links
Async-Await
- Async IO - Real Python
- python async features - Real Python
- Coroutines and Tasks
- Fast & Asynchronous in Python - Accelerate Your Requests Using asyncio
- Developing with asyncio - Python docs
GIL and concurrency
The Python interpreter is not fully thread-safe, in order to support multithreading there is a “global lock” in CPython. Other implementations doesn’t have GIL, such Jython, IronPython. Cython has GIL but it can be released by a “with” statement.
- Global Interpreter Lock - GIL
- Thread State and GIL
- multithreading vs multiprocessing
- multithreading in python
- Faster web scraping - Nick from RAPIDS
- MASNUM - the different forms of concurrency
Conventions:
- PEP 8 - Style Gide for Python Code
- PEP 257 - Docstring conventions
- PEP 518 - Specifying Minimum Build System Requirements for Python Projects (aka pyproject.toml)
- PEP 484 - Type Hints
other topics
- usage of
__main__.py
- What the heck is
pyproject.toml
- hypermodern python setup & awesome-pyproject
- ConfigParser
- Python code Quality: Linters
- awesome-python (vinta)