awesome-python-code-formatters
pygeoif
awesome-python-code-formatters | pygeoif | |
---|---|---|
4 | 1 | |
278 | 57 | |
3.2% | - | |
3.7 | 9.2 | |
2 months ago | 7 days ago | |
Shell | Python | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
awesome-python-code-formatters
-
A Tale of Two Kitchens - Hypermodernizing Your Python Code Base
Awesome Python Code Formatters
-
I made an advanced math flash card game in python using tkinter!
So yeah follow PEP8, get some linter and formatter to make your code better.
- awesome-python-code-formatters: A curated list of awesome Python code formatters
pygeoif
-
A Tale of Two Kitchens - Hypermodernizing Your Python Code Base
While most of my 'hypermodernizing' was done on proprietary code, there is a good example in pygeoif, which was brought up to the standard 10 years after the first version was released. The diff is not very helpful, almost every line was touched in the end, but you can compare the version 0.6 to the current implementation. FastKML is still actively in the process of modernizing and refactoring.
What are some alternatives?
blue - The slightly less uncompromising Python code formatter.
isort - A Python utility / library to sort imports.
ufmt - Safe, atomic formatting with black and µsort
yapf - A formatter for Python files
black - The uncompromising Python code formatter [Moved to: https://github.com/psf/black]
pytype - A static type analyzer for Python code
black - The uncompromising Python code formatter [Moved to: https://github.com/psf/black]
prettier - Prettier is an opinionated code formatter.
darker - Apply black reformatting to Python files only in regions changed since a given commit. For a practical usage example, see the blog post at https://dev.to/akaihola/improving-python-code-incrementally-3f7a
flynt - A tool to automatically convert old string literal formatting to f-strings
absolufy-imports - Automatically convert relative imports to absolute
MonkeyType - A Python library that generates static type annotations by collecting runtime types