A tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language.
☆4,061Apr 6, 2026Updated this week
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☆678Mar 30, 2026Updated last week
- Rewrites source to reorder python imports☆776Dec 22, 2025Updated 3 months ago
- A Python utility / library to sort imports.☆6,923Apr 2, 2026Updated last week
- A framework for managing and maintaining multi-language pre-commit hooks.☆15,112Mar 23, 2026Updated 2 weeks ago
- An extremely fast Python linter and code formatter, written in Rust.☆46,910Updated this week
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click and start building anything your business needs.
- A plugin for Flake8 finding likely bugs and design problems in your program. Contains warnings that don't belong in pyflakes and pycodest…☆1,114Mar 16, 2026Updated 3 weeks ago
- Automatically remove unnecessary `# noqa` comments☆262Updated this week
- Automatically upgrade your Django projects.☆1,193Updated this week
- A tool (and pre-commit hook) to automatically add trailing commas to calls and literals.☆372Updated this week
- Find dead Python code☆4,425Mar 26, 2026Updated 2 weeks ago
- Optional static typing for Python☆20,352Updated this week
- ❄️ A flake8 plugin to help you write better list/set/dict comprehensions.☆468Updated this week
- A next generation HTTP client for Python. 🦋☆15,152Mar 29, 2026Updated 2 weeks ago
- A tool to automatically convert old string literal formatting to f-strings☆727Mar 27, 2026Updated 2 weeks ago
- Wordpress hosting with auto-scaling on Cloudways • AdFully Managed hosting built for WordPress-powered businesses that need reliable, auto-scalable hosting. Cloudways SafeUpdates now available.
- The uncompromising Python code formatter☆41,441Mar 30, 2026Updated last week
- A collection of fast, cheap, regex based pre-commit hooks.☆239Updated this week
- A set of tools to keep your pinned Python dependencies fresh.☆8,000Updated this week
- Memray is a memory profiler for Python☆14,976Apr 3, 2026Updated last week
- Modern, extensible Python project management☆7,149Mar 31, 2026Updated last week
- Collection of library stubs for Python, with static types☆5,034Updated this week
- Some out-of-the-box hooks for pre-commit☆6,447Dec 22, 2025Updated 3 months ago
- Data validation using Python type hints☆27,438Updated this week
- Simple, powerful, and fast logging for Python.☆4,692Updated this week
- GPU virtual machines on DigitalOcean Gradient AI • AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy☆8,002Mar 31, 2026Updated last week
- Python packaging and dependency management made easy☆34,262Apr 3, 2026Updated last week
- A Python library that generates static type annotations by collecting runtime types☆5,000Feb 11, 2026Updated 2 months ago
- Pytest plugin to randomly order tests and control random.seed☆700Updated this week
- Python Classes Without Boilerplate☆5,767Updated this week
- Install and Run Python Applications in Isolated Environments☆12,679Apr 1, 2026Updated last week
- A tool for refurbishing and modernizing Python codebases☆2,529Apr 3, 2026Updated last week
- Typer, build great CLIs. Easy to code. Based on Python type hints.☆19,159Updated this week
- Simplified packaging of Python modules☆2,245Mar 15, 2026Updated 3 weeks ago
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- flake8 is a python tool that glues together pycodestyle, pyflakes, mccabe, and third-party plugins to check the style and quality of some…☆3,769Apr 5, 2026Updated last week
- dead simple python dead code detection☆396Updated this week
- Retrying library for Python☆8,526Mar 23, 2026Updated 2 weeks ago
- Sampling profiler for Python programs☆15,088Updated this week
- The code coverage tool for Python☆3,359Updated this week
- Removes unused imports and unused variables as reported by pyflakes☆952Mar 12, 2026Updated last month
- A modern Python package and dependency manager supporting the latest PEP standards☆8,552Apr 2, 2026Updated last week