|Deletions are marked like this.||Additions are marked like this.|
|Line 60:||Line 60:|
|=== Logging ===
* [[https://loguru.readthedocs.io/|loguru]]: Easy Python logging. Used by FlexGet.
* [[https://rich.readthedocs.io/en/latest/logging.html|rich's logging handler]]: part of rich formatting library
CodingStyle/Python is another relevant page. Also:
Development packages for Debian
Current for Ubuntu 16.04.
fabric python-pip python3-venv python3-pip python-wheel-common
cffi and numpy
https://github.com/SimonSapin/azureblur/tree/master/azureblur: Example of using cffi to interact w/ a C++ class.
Neat Web frameworks
aspen.io. Filesystem-based dispatch library. Used by Liberapay.
nvbn/py-backwards: Python transcompiler. Lets you use Python 3.6 features in older versions, as old as Python 2.7.
asottile/future-fstrings. Allows formatted string literals (AKA f-strings) in Python 2.7–3.5 by hacking built-in codecs.
Parsing JSON without pulling your hair out…
jmespath: used by awscli
jsons: Serialize from and to Python objects, works with dataclasses and typed Python.
json2python-models: Create dataclasses automatically from JSON files
rich's logging handler: part of rich formatting library
Nuitka: Python native-code compiler, binary will still link to libpython.
ambv/retype: Re-applies type annotations from *.pyi stubs to a codebase.
Porting projects from Python 2 to Python 3
python-subprocess32: Backport of Python 3.2 subprocess module to 2.7. Use:
if os.name == 'posix' and sys.version_info < 3: import subprocess32 as subprocess else: import subprocess
Can serve as a complete replacement for Python 2.7's subprocess module.
PyYAML ~= 5.3 # means >= V.N, == V.*
For more information, see: