🌐
GitHub
github.com › life4 › awesome-python-code-formatters
GitHub - life4/awesome-python-code-formatters: A curated list of awesome Python code formatters · GitHub
pybetter: fixes some trivial problems with your code. pydocstringformatter: Automatically format your Python docstrings to conform with PEP 8 and PEP 257. ... Tornado Async Transformer: A libcst transformer for updating tornado @gen.coroutine syntax to python3.5+ native async/await. ... Formatters for import statements. autoflake: removes unused imports and unused variables as reported by pyflakes. ... Tools to upgrade to newer versions of Python or a framework.
Starred by 379 users
Forked by 22 users
Languages   Shell
🌐
GitHub
github.com › psf › black
GitHub - psf/black: The uncompromising Python code formatter · GitHub
Black is the uncompromising Python code formatter. By using it, you agree to cede control over minutiae of hand-formatting. In return, Black gives you speed, determinism, and freedom from pycodestyle nagging about formatting.
Starred by 41.4K users
Forked by 2.7K users
Languages   Python
🌐
GitHub
github.com › google › yapf
GitHub - google/yapf: A formatter for Python files · GitHub
YAPF is a Python formatter based on clang-format (developed by Daniel Jasper). In essence, the algorithm takes the code and calculates the best formatting that conforms to the configured style.
Starred by 14K users
Forked by 900 users
Languages   Python
🌐
GitHub
github.com › astral-sh › ruff
GitHub - astral-sh/ruff: An extremely fast Python linter and code formatter, written in Rust. · GitHub
1 week ago - An extremely fast Python linter and code formatter, written in Rust. - astral-sh/ruff
Starred by 46.4K users
Forked by 1.9K users
Languages   Rust 96.3% | Python 2.7% | TypeScript 0.9% | Shell 0.1% | CSS 0.0% | HTML 0.0%
🌐
GitHub
github.com › paluh › code-formatter
GitHub - paluh/code-formatter: Python AST/code formatter
All formatters are kept in a small subclass of standard python dict which is passed around. It maps ast_type to Formatter and introduces trivial protocol of registration operations, so you can replace given formatter quite easily. Lets use some ready formatters from extras package: >>> from code_formatter import base, format_code >>> from code_formatter.extras import UnbreakableTupleFormatter >>> my_formatters = base.formatters.copy().register(UnbreakableTupleFormatter) >>> print format_code('[(x,y), (z,v)]', ...
Author   paluh
🌐
GitHub
github.com › topics › code-formatter
code-formatter · GitHub Topics · GitHub
A JupyterLab plugin to facilitate invocation of code formatters. python r yapf autopep8 black code-formatter jupyterlab-extensions jupyterlab-extension
🌐
GitHub
github.com › topics › formatter
formatter · GitHub Topics · GitHub
A JavaScript library for ... formatter l10n intl cldr cldr-data cldr-json ... A tool that automatically formats Python code to conform to the PEP 8 style guide....
Find elsewhere
🌐
GitHub
github.com › hhatto › autopep8
GitHub - hhatto/autopep8: A tool that automatically formats Python code to conform to the PEP 8 style guide. · GitHub
autopep8 automatically formats Python code to conform to the PEP 8 style guide. It uses the pycodestyle utility to determine what parts of the code needs to be formatted.
Starred by 4.7K users
Forked by 289 users
Languages   Python
🌐
GitHub
github.com › WoLpH › python-formatter
GitHub - wolph/python-formatter: A Python formatter based on the Python tokenize lib to ensure validity
A Python formatter based on the Python tokenize lib to ensure validity - wolph/python-formatter
Starred by 11 users
Forked by 2 users
Languages   Python 100.0% | Python 100.0%
🌐
GitHub
github.com › grantjenks › blue
GitHub - grantjenks/blue: The slightly less uncompromising Python code formatter. · GitHub
The slightly less uncompromising Python code formatter. - grantjenks/blue
Starred by 403 users
Forked by 21 users
Languages   Python
🌐
GitHub
github.com › topics › codeformatter
codeformatter · GitHub Topics
A tool that automatically formats Python code to conform to the PEP 8 style guide. ... A modern, lambda-friendly, 120 character Java formatter.
🌐
GitHub
github.com › topics › python-formatter
python-formatter · GitHub Topics · GitHub
formatter formatting format python-format python-formatting python-formatter optional-format optional-formatting default-format default-formatting ... All-in-one Python code formattor which is tailored of "black + isort + autoflake" for myself taste.
🌐
Beautifier
beautifier.io
Online JavaScript beautifier
Use JSLint-happy formatting tweaks? Indent <head> and <body> sections? Keep indentation on empty lines? Use a simple textarea for code input? ... Could Not Parse JSON! ... Created by Einar Lielmanis, maintained and evolved by Liam Newman. All of the source code is completely free and open, available on GitHub under MIT licence, and we have a command-line version, python ...
🌐
GitHub
github.com › rishirdua › awesome-code-formatters
GitHub - rishirdua/awesome-code-formatters: A curated list of awesome code formatting tools and libraries · GitHub
Artistic Styler - Source code indenter, formatter, and beautifier for the C, C++, C# and Java programming languages. Atom-Beautify - Beautify HTML, CSS, JavaScript, PHP, Python, Ruby, Java, C, C++, C#, Objective-C, CoffeeScript, TypeScript, Coldfusion, SQL, and more in Atom editor.
Starred by 288 users
Forked by 25 users
🌐
GitHub
github.com › marketplace › actions › auto-formatter
Auto-Formatter · Actions · GitHub Marketplace
This repository is for the GitHub Action to run a auto-formatter. It is a simple combination of various libraries, written in bash, to help formate your code automatically. Current version keep only python format.
🌐
DeepSource
deepsource.com › blog › auto-code-formatting-python
Automate code formatting in Python • DeepSource
How about we turn the automation up to 11 and update our GitHub workflow to automatically fix code style violations? # .github/workflows/lint.yml name: Lint on: - push - workflow_dispatch jobs: lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 - name: Install Python dependencies run: | pip install pipenv pipenv install --deploy --dev --system - uses: wearerequired/lint-action@v1 with: github_token: ${{ secrets.GITHUB_TOKEN }} black: true auto_fix: true
🌐
Pyrfecter
pyrfecter.com › format-python-code
Format Python code online · Pyrfecter
June 26, 2025 - If you have a very large code base or if your formatting needs to be lightning-fast, give Ruff a try: ... autopep8 formats Python code according to PEP 8 - Style Guide for Python Code. It builds on top of pycodestyle (formerly known as "pep8") by automatically fixing issues that pycodestyle finds. See https://github.com/hhatto/autopep8 for more information.