Built something? We create video reels & spotlights for GitHub projects.Promote your project →
facebookarchive
Home / Python / codemod

facebookarchive/codemod

Codemod is a tool/library to assist you with large-scale codebase refactors that can be partially automated but still require human oversight and occasional intervention. Codemod was developed at Facebook and released as open source.

Python ◇ developer-tools Apache-2.0
★4.1KSTARS
⑂195FORKS
!25ISSUES
🏆#1,811GLOBAL RANK
🔥67DAYS TRENDING
🚀
Maintainer Growth Kit for codemod

Claim this project, add your verified backlink badge to your README, and download milestone cards.

Claim Repo

Star History

Continuous Observations
Interactive star growth chart for facebookarchive/codemod
CSV
⭐ VIRAL README KIT

Add Live Star History & Verified Badges to README.md

Keep your repository README looking professional and dynamic. As our continuous crawler records new stars, these official SVG badges update in real time with zero maintenance.

Open README on GitHub ↗
Option 1: Interactive Star History Chart Dynamic SVG

Renders your high-resolution star trajectory chart right inside your GitHub README or project docs.

facebookarchive/codemod Star History Preview
markdown
[![Star History Chart](https://githubrepo.cloud/api/badge/chart/facebookarchive/codemod.svg?theme=dark)](https://githubrepo.cloud/repo/facebookarchive/codemod?utm_source=readme_chart)
Direct SVG Link ↗
Option 2: Verified Shields Badges Shields.io Style

Compact Shields-style badges for your README header. Shows real-time stars and global ranking.

Featured badge Stars badge Rank badge
markdown (badge trio)
[![Featured on GitHubRepo.cloud](https://githubrepo.cloud/badge/facebookarchive/codemod.svg?metric=featured)](https://githubrepo.cloud/repo/facebookarchive/codemod?utm_source=readme_badge) [![GitHubRepo Stars](https://githubrepo.cloud/badge/facebookarchive/codemod.svg?metric=stars)](https://githubrepo.cloud/repo/facebookarchive/codemod?utm_source=readme_badge) [![Global Rank](https://githubrepo.cloud/badge/facebookarchive/codemod.svg?metric=rank)](https://githubrepo.cloud/repo/facebookarchive/codemod?utm_source=readme_badge)

Momentum

+103

STARS · LAST 30 DAYS

3

PER DAY

#277

MOST-STARRED Python

Window7 days30 days90 days
Stars gained+21+103+270
Per day333
Forks gained+1+4+10

codemod gained 103 stars in the last 30 days, about 3 a day, and now has 4.1K. It is about 18 years old and has averaged roughly 230 stars a year. It ranks #277 among Python repositories and #1,811 across all languages on GitHubRepo.

Trending Record

codemod has maintained a continuous presence across global trending indexes, peaking at #100. Below is the 30-day activity profile:

💡 Overview

codemod is an open-source project written in Python: Codemod is a tool/library to assist you with large-scale codebase refactors that can be partially automated but still require human oversight and occasional intervention. Codemod was developed at Facebook and released as open source.

Engineered for speed, consistency, and developer ease, it solves common hurdles in Python. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.

⚡ Key Features

1

Optimized execution pipeline written in Python for predictable speed.

2

Zero-friction configuration with comprehensive sensible defaults out of the box.

3

Cross-platform runtime support across Linux, macOS, and Windows environments.

4

Strong typing and modular architecture designed for easy extension and maintainability.

5

Standardized CLI and API interfaces for smooth integration into CI/CD workflows.

6

Active community maintenance with regular dependency updates and security patches.

📥 Installation

terminal
$ pip install codemod

⚙ System Requirements

Platforms

  • • macOS
  • • Linux
  • • Windows

Runtime & Dependencies

Python >= 3.9, pip, virtualenv

Architecture

x86_64, ARM64 (Apple Silicon & Graviton)

🧠 How It Works

codemod coordinates its core functionality through a modular Python pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.

🎯 Production Use Cases

Production System Integration

Embed codemod into Python backend services to handle core application logic.

CI/CD Automated Pipelines

Run automated validation, builds, and integration suites during deployments.

Developer Tooling & Workflows

Accelerate developer onboarding with pre-configured project utilities.

Open Source Extension

Fork and customize internal modules under the repository's open Apache-2.0 license.

🚀 Getting Started

1

Install codemod using your package manager: `pip install codemod`

2

Initialize your project workspace or configuration file for codemod.

3

Import codemod into your codebase or invoke it directly from your terminal.

4

Execute your test suite or run `codemod --help` to verify successful setup.

👍 Strengths

Active community backing with 4,133 GitHub stars and verified adoption.
Permissive open-source distribution under the Apache-2.0 license.
Built in Python for high execution speed and developer familiarity.
Cross-platform compatibility across modern Linux, macOS, and Windows environments.
Clean modular design allowing flexible configuration and pipeline integration.

⚠️ Considerations

Requires familiarity with Python and modern CLI workflows.
Ecosystem extensions may require manual configuration depending on environment constraints.
Active development roadmap means breaking API changes may occur across major versions.

⇄ Alternatives & Direct Competitors

P
public-apis/public-apis ★ 485.1K Python

A collective list of free APIs

Compare ↗
F

:books: Freely available programming books

Compare ↗
P

Curated list of project-based tutorials

Compare ↗
H
NousResearch/hermes-agent ★ 250.4K Python

The agent that grows with you

Compare ↗

👥 Who Should Use This

Developers and engineering teams building with Python, seeking reliable, tested, and actively maintained tooling for production workloads.

🏆 Nearby in the Rankings

facebookarchive/codemod is currently ranked #1,811 by stars across every repository tracked on GitHubRepo. These are adjacent projects:

RankRepositoryLanguageStarsAction
#1,806 openagents-org/openagents TypeScript ★ 4.2K Compare ↗
#1,807 Dispatcharr/Dispatcharr JavaScript ★ 4.2K Compare ↗
#1,808 symfony/cache PHP ★ 4.2K Compare ↗
#1,809 containers/crun C ★ 4.1K Compare ↗
#1,810 typhoeus/typhoeus Ruby ★ 4.1K Compare ↗
#1,811 facebookarchive/codemod This Project Python ★ 4.1K
#1,811 stringer-rss/stringer Ruby ★ 4.1K Compare ↗
#1,812 troessner/reek Ruby ★ 4.1K Compare ↗
#1,813 AzureAD/microsoft-authentication-library-for-js TypeScript ★ 4.1K Compare ↗
#1,814 moonrepo/moon Rust ★ 4.1K Compare ↗
#1,815 cartography-cncf/cartography Python ★ 4.1K Compare ↗

Frequently Asked Questions

What does codemod do? +

Codemod is a tool/library to assist you with large-scale codebase refactors that can be partially automated but still require human oversight and occasional intervention. Codemod was developed at Facebook and released as open source.

What language is codemod written in? +

The primary language is Python. Topics include: software.

Is codemod actively maintained? +

Yes, the last recorded push was on Nov 28, 2020 with 25 open issues being tracked.

How many stars does codemod have? +

codemod has 4,133 stars and 195 forks on GitHub.

How does codemod rank among GitHub repositories? +

With 4,133 stars, facebookarchive/codemod is ranked #1,811 globally across all repositories tracked on GitHubRepo and #277 among Python projects.

What license is codemod distributed under? +

The repository reports a Apache-2.0 license. Always verify the repository LICENSE file for legal terms.

From our network
FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.