Size: 1779
Comment: Section on porting Python 2 → Python 3
|
Size: 1953
Comment: asottile/future-fstrings
|
Deletions are marked like this. | Additions are marked like this. |
Line 31: | Line 31: |
[[https://github.com/asottile/future-fstrings|asottile/future-fstrings]]. Allows formatted string literals (AKA f-strings) in Python 2.7–3.5 by hacking built-in codecs. |
CodingStyle/Python is another relevant page.
Development packages for Debian
Current for Ubuntu 16.04.
fabric python-pip 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.
python - How do I convert a numpy ND-array to a CFFI C++ array and back again? - Stack Overflow
python - Why is cffi so much quicker than numpy? - Stack Overflow
Neat Web frameworks
aspen.io. Filesystem-based dispatch library. Used by Liberapay.
Neat packages
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.
Compilers
Nuitka: Python native-code compiler, binary will still link to libpython.
Porting projects from Python 2 to Python 3
Libraries
six, along with python-modernize
Guides