sourcery VS pyupgrade

Compare sourcery vs pyupgrade and see what are their differences.

pyupgrade

A tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language. (by asottile)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
sourcery pyupgrade
13 23
1,481 3,326
0.9% -
6.3 7.9
13 days ago 20 days ago
Python
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

sourcery

Posts with mentions or reviews of sourcery. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-11.

pyupgrade

Posts with mentions or reviews of pyupgrade. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-12.

What are some alternatives?

When comparing sourcery and pyupgrade you can also consider the following projects:

jedi - Awesome autocompletion, static analysis and refactoring library for python

pre-commit-hooks - Some out-of-the-box hooks for pre-commit

pylsp-rope - Extended refactoring capabilities for python-lsp-server using Rope

flynt - A tool to automatically convert old string literal formatting to f-strings

pre-commit - A framework for managing and maintaining multi-language pre-commit hooks.

black - The uncompromising Python code formatter

ruff - An extremely fast Python linter and code formatter, written in Rust.

pep585-upgrade - Pre-commit hook for upgrading type hints

yt-channels-DS-AI-ML-CS - A comprehensive list of 180+ YouTube Channels for Data Science, Data Engineering, Machine Learning, Deep learning, Computer Science, programming, software engineering, etc.

autoflake - Removes unused imports and unused variables as reported by pyflakes

study-path - An organized learning path on Clean Code, Test-Driven Development, Legacy Code, Refactoring, Domain-Driven Design and Microservice Architecture

black - The uncompromising Python code formatter [Moved to: https://github.com/psf/black]