A tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language.
☆4,055Dec 22, 2025Updated 3 months ago
Alternatives and similar repositories for pyupgrade
Users that are interested in pyupgrade are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Run `black` on python code blocks in documentation files☆676Mar 16, 2026Updated last week
- Rewrites source to reorder python imports☆775Dec 22, 2025Updated 3 months ago
- A Python utility / library to sort imports.☆6,923Updated this week
- A framework for managing and maintaining multi-language pre-commit hooks.☆15,126Mar 1, 2026Updated 3 weeks ago
- An extremely fast Python linter and code formatter, written in Rust.☆46,359Updated this week
- A plugin for Flake8 finding likely bugs and design problems in your program. Contains warnings that don't belong in pyflakes and pycodest…☆1,112Mar 16, 2026Updated last week
- Automatically remove unnecessary `# noqa` comments☆261Dec 22, 2025Updated 3 months ago
- Automatically upgrade your Django projects.☆1,188Mar 16, 2026Updated last week
- A tool (and pre-commit hook) to automatically add trailing commas to calls and literals.☆371Dec 22, 2025Updated 3 months ago
- Find dead Python code☆4,382Mar 4, 2026Updated 2 weeks ago
- Optional static typing for Python☆20,302Updated this week
- ❄️ A flake8 plugin to help you write better list/set/dict comprehensions.☆467Mar 8, 2026Updated 2 weeks ago
- A next generation HTTP client for Python. 🦋☆15,165Mar 1, 2026Updated 3 weeks ago
- A tool to automatically convert old string literal formatting to f-strings☆726Mar 9, 2026Updated 2 weeks ago
- The uncompromising Python code formatter☆41,440Updated this week
- A collection of fast, cheap, regex based pre-commit hooks.☆239Dec 15, 2025Updated 3 months ago
- A set of tools to keep your pinned Python dependencies fresh.☆7,994Mar 16, 2026Updated last week
- Memray is a memory profiler for Python☆14,955Mar 13, 2026Updated last week
- Modern, extensible Python project management☆7,151Feb 27, 2026Updated 3 weeks ago
- Collection of library stubs for Python, with static types☆5,023Mar 16, 2026Updated last week
- Some out-of-the-box hooks for pre-commit☆6,405Dec 22, 2025Updated 3 months ago
- Data validation using Python type hints☆27,284Updated this week
- Simple, powerful, and fast logging for Python.☆4,645Updated this week
- Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy☆7,962Mar 3, 2026Updated 2 weeks ago
- Python packaging and dependency management made easy☆34,323Updated this week
- A Python library that generates static type annotations by collecting runtime types☆4,995Feb 11, 2026Updated last month
- Pytest plugin to randomly order tests and control random.seed☆700Mar 16, 2026Updated last week
- Python Classes Without Boilerplate☆5,746Updated this week
- Install and Run Python Applications in Isolated Environments☆12,633Updated this week
- A tool for refurbishing and modernizing Python codebases☆2,529Feb 21, 2026Updated last month
- Typer, build great CLIs. Easy to code. Based on Python type hints.☆19,035Mar 16, 2026Updated last week
- Simplified packaging of Python modules☆2,244Mar 15, 2026Updated last week
- flake8 is a python tool that glues together pycodestyle, pyflakes, mccabe, and third-party plugins to check the style and quality of some…☆3,770Dec 22, 2025Updated 3 months ago
- Retrying library for Python☆8,446Mar 11, 2026Updated last week
- dead simple python dead code detection☆397Dec 22, 2025Updated 3 months ago
- Sampling profiler for Python programs☆15,038Mar 5, 2026Updated 2 weeks ago
- The code coverage tool for Python☆3,334Updated this week
- Removes unused imports and unused variables as reported by pyflakes☆952Mar 12, 2026Updated last week
- A modern Python package and dependency manager supporting the latest PEP standards☆8,547Updated this week