facebookincubator/Bowler
Safe code refactoring for modern Python. observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3009
- days_rel: n/a
- days_push: 803
- n_releases_24m: 0
Adoption not part of the score
1610 stars · 136 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Bowler is a refactoring tool for manipulating Python source code at the syntax tree level, enabling safe large-scale code modifications that are guaranteed to compile. It offers both a command line interface and a fluent Query API built on lib2to3/fissix concrete syntax trees.
Use cases
- rename a function across an entire python codebase
- automate large-scale python code modifications
- generate interactive diffs for refactoring changes
- migrate old api calls to modern replacements
- build reusable refactoring scripts with a fluent api
- codemod python 2 code to python 3
When to choose
- you need safe, syntax-tree-level python refactoring that preserves formatting and comments
- you want a simple fluent API for scripted codemods
- you need to refactor codebases spanning older python grammars
When to avoid
- you need to refactor code using the newest python grammar features (recommend LibCST instead)
- you want an actively developed tool with a stable API
- you need linting or IDE integration features
Facets
cli-tool · maturity maintenance
parser developer-tools cli developer-tools programming-languages python cli cross-platform refactoring codemod syntax-tree lib2to3 fluent-api automation
8 sources
- readme: https://github.com/facebookincubator/Bowler · fetched 2026-08-28 · 56c79a23a87d
- homepage: https://pybowler.io/ · fetched 2026-08-29 · a459e03d8f2e
- site_page: https://pybowler.io/docs/basics-intro · fetched 2026-08-29 · b0be3f02bac0
- site_page: https://pybowler.io/docs/api-query · fetched 2026-08-29 · c4ab927368aa
- site_page: https://pybowler.io/docs/dev-roadmap · fetched 2026-08-29 · 0add3f368b4b
- site_page: https://pybowler.io/docs/dev-intro · fetched 2026-08-29 · 678be87187e2
- site_page: https://pybowler.io/docs/basics-refactoring · fetched 2026-08-29 · d0a7f5cfcbf4
- registry_pypi: https://pypi.org/pypi/bowler/json · fetched 2026-08-29 · d68b0500b2ec
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| facebookincubator/Bowler | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="facebookincubator/Bowler")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem