Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Codemod Python Packages

Python packages with the GitHub topic codemod. Sorted by monthly downloads, with stars and forks.
ast-grep
ast-grep-cli

⚡A CLI tool for code structural search, lint and rewriting. Written in Rust

4.5M 17K 523
ast-grep
ast-grep-py

⚡A CLI tool for code structural search, lint and rewriting. Written in Rust

2.8M 17K 523
pydantic
bump-pydantic

Convert Pydantic from V1 to V2 ♻

259K 351 34
browniebroke
django-codemod

A tool to automatically fix Django deprecations.

10K 190 20
nathro
autotransform

AutoTransform is a framework for large-scale, automated code modification in a production environment.

4K 62 7
dheerajjha
mcp-migrate

Find and fix what the MCP 2026-07-28 spec revision breaks in your server. 21 rules, 19 of them with fixers, and a readiness board.

3K 13 49
4thel00z
codeedit

Structural code edits for coding agents: a better sed that reads the syntax tree. Rust core, CLI and Python package, 13 languages via tree-sitter.

1K 1 0
furqan-khan07
pandas-doctor

Finds slow pandas code, rewrites it, and checks on your data that the result is identical

1K 0 0
ast-grep
ast-grep-pyo3

Structural Search and Rewrite code at large scale using precise AST pattern.

1K 17K 523
breakwise
breakwise

Open registry of breaking changes in libraries & APIs, plus an agent that fixes your code when you upgrade.

972 1 0
hakanbogan
obelize

Verified Python dependency upgrades: rewrites what it can prove, can ask an agent for the rest, keeps a move if tests pass. Ships google-generativeai to google-genai, openai to 1.x, PyPDF2 to pypdf.

873 0 0
dhruvmanila
remove-print-statements

A command-line tool (and pre-commit hook) to remove print statements from your Python project.

809 21 2
gabor-boros
hammurabi

Hammurabi is an extensible CLI tool responsible for enforcing user-defined rules on a git repository.

727 8 2
louiscauret
temporal2mistral

Migrate Temporal Python workflows to Mistral Workflows (codemod + migration report)

680 0 0
rafal-one
langchain-community-migrate

Unofficial migration helper for the sunset langchain-community: finds every langchain_community import, the standalone package that replaces it, rewrites 1:1 moves and vendors orphaned classes.

551 0 0
LeeGyeongPil
langchain-v1-migrate

Migrate langchain 0.3 import paths to 1.x automatically. Move table computed from the real packages; rewrites .py and .ipynb with LibCST, updates dependencies.

528 0 0
LeeGyeongPil
genai-py-codemod

Format-preserving libcst codemod that migrates google-generativeai and vertexai.generative_models code to google-genai, lists manual spots, and verifies old and new code send the same API requests offline.

504 0 0
LeeGyeongPil
transformers-v5-migrate

Check and auto-fix Hugging Face Transformers v4 training and inference code for v5 (Python and notebooks), with a risk report for manual, behavior and dependency changes.

450 0 0
LeeGyeongPil
unscript-datasets

Find load_dataset calls broken by Hugging Face datasets 4.x dropping loading scripts, check each Hub dataset's live state, and rewrite the calls deterministically. Python and notebooks, offline replay.

444 0 0
rafal-one
httpx2-audit

Find what breaks when your Python stack moves from httpx to httpx2: static audit, import/dependency codemod and a mixed-stack/TLS environment report.

164 0 0
ashrafjr-n
rejox

Rejox — AI migration engineer: React → React Native. CLI + pipeline.

133 3 0
GoodRx
pytest-mark-no-py3

pytest plugin and bowler codemod to help migrate tests to Python 3

89 2 2
mayaanhafeez
surgraft

Surgical code grafting — migrate functions between files with zero LLM token waste

68 0 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology