Get non-trivial tests (and trivial, too!) suggested right inside your IDE, so you can code smart, create more value, and stay confident when you push. Learn more →
Top 18 Python Formatter Projects
-
Project mention: Are there any good syntax or style checkers recommended? | reddit.com/r/Python | 2023-05-19
-
Project mention: Front page news headline scraping data engineering project | reddit.com/r/dataengineering | 2023-05-13
Use yapf to format code -> https://github.com/google/yapf
-
ONLYOFFICE
ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises
-
repos: ... pre-commmit stuff ... black stuff - repo: https://github.com/pycqa/isort rev: 5.12.0 hooks: - id: isort name: isort (python)
-
Project mention: I have some legacy code which has been ported to Python 3 recently, but is still quite ugly. What are recommended points for coding style to improve it and make it more modern/pleasant in style? | reddit.com/r/learnpython | 2022-11-15
-
Ruff can be used to replace Flake8 (plus dozens of plugins), isort, pydocstyle, yesqa, eradicate, pyupgrade, and autoflake, all while executing tens or hundreds of times faster than any individual tool.
-
-
-
Sonar
Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
-
I use blue - a fork of black. I set the line lengths (much) longer.
-
-
unimport
:rocket: The ultimate linter and formatter for removing unused import statements in your code. (by hakancelikdev)
Project mention: Unused Import Linter: A Tool for Optimizing Your Code | news.ycombinator.com | 2023-01-17 -
-
I've attempted something more crazy -- to make Python support multi-line lambda expression [1].
It's done with AST manipulation as well, but on a larger scale and completer functionalities.
-
You could use a pre commit hook for yamlfmt - https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
-
astypes
Python library to infer types for AST nodes. Make the most powerful Python linters and formatters!
Project mention: astypes: Python library to infer types for AST nodes. Make the most powerful Python linters and formatters! | reddit.com/r/coding | 2022-12-12 -
But it is precisely because of the previous ignorance that makes some differences between jsonfmt and jq.
-
insta-data-styled
A program to format your Instagram's "messages.json" into a beautiful and readable web format.
-
Project mention: eng: Translate British English into American English in text files and Python code | reddit.com/r/pythoncoding | 2022-09-28
-
-
InfluxDB
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
Python Formatter related posts
- Are there any good syntax or style checkers recommended?
- Looking for genuine feedback on this file
- Detailed walkthrough of procedure to uncensor models
- How to format dummy dictionary data?
- Python Legacy Big Project Nightmare. I want to cry pls help
- Confused by Google's docstring "Attributes" section.
- Improve your Django Code with pre-commit
-
A note from our sponsor - CodiumAI
codium.ai | 30 May 2023
Index
What are some of the best open-source Formatter projects in Python? This list will help you:
Project | Stars | |
---|---|---|
1 | black | 32,443 |
2 | yapf | 13,240 |
3 | isort | 5,813 |
4 | autopep8 | 4,356 |
5 | autoflake | 766 |
6 | best-of-python-dev | 724 |
7 | docformatter | 407 |
8 | blue | 320 |
9 | lancer | 241 |
10 | unimport | 197 |
11 | ufmt | 79 |
12 | lambdex | 73 |
13 | pre-commit-hook-yamlfmt | 39 |
14 | astypes | 6 |
15 | jsonfmt | 5 |
16 | insta-data-styled | 4 |
17 | eng | 3 |
18 | thrift-fmt | 2 |