ufmt
awesome-python-code-formatters
Our great sponsors
ufmt | awesome-python-code-formatters | |
---|---|---|
2 | 4 | |
91 | 278 | |
- | 5.8% | |
7.9 | 3.7 | |
28 days ago | about 2 months ago | |
Python | Shell | |
MIT License | 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.
ufmt
-
Formatting Code with Black
Give µsort a try instead; it's focused on providing more safety when applying sorting to large codebases, and is designed to pair well with black out of the box:
https://usort.readthedocs.io
https://ufmt.omnilib.dev
-
We're the core team behind the popular Python autoformatter: Black. AMA!
After rolling out Black + isort (and later usort) to millions of lines of code, I prefer https://github.com/omnilib/ufmt
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
What are some alternatives?
black - The uncompromising Python code formatter
blue - The slightly less uncompromising Python code formatter.
isort - A Python utility / library to sort imports.
black - The uncompromising Python code formatter [Moved to: https://github.com/psf/black]
intellij-blackconnect - IDEA plugin for using black[d] during Python development.
black - The uncompromising Python code formatter [Moved to: https://github.com/psf/black]
autoflake - Removes unused imports and unused variables as reported by pyflakes
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
LibCST - A concrete syntax tree parser and serializer library for Python that preserves many aspects of Python's abstract syntax tree
absolufy-imports - Automatically convert relative imports to absolute
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
pygeoif - Basic implementation of the __geo_interface__ 🌐️