Codegen home pagelight logodark logo
  • Codegen
  • Codegen
Documentation
API Reference
CLI
Blog
Changelog
Introduction
  • Overview
  • Getting Started
  • Installation
  • IDE Usage
  • AI Integration
  • How it Works
  • Principles
  • Community
  • About Us
  • FAQ
Tutorials
  • At a Glance
  • API Migration
  • Organization
  • Modularity
  • Dead Code
  • Type Coverage
  • Mining Data
  • Feature Flags
  • Export Management
  • Default Export Conversion
  • Documentation
  • React Modernization
  • Unittest to Pytest
  • SQLAlchemy 1.6 to 2.0
  • Python 2 to 3
  • Flask to FastAPI
Building with Codegen
  • At a Glance
  • Parsing Codebases
  • Reusable Codemods
  • .codegen Directory
  • Language Support
  • Commit and Reset
  • Git Operations
  • Files & Directories
  • Editables
  • Symbols
  • Classes
  • Imports
  • Exports
  • Inheritable Behaviors
  • Statements and Code Blocks
  • Dependencies and Usages
  • Function Calls
  • Variable Assignments
  • Local Variables
  • Comments & Docstrings
  • External Modules
  • Type Annotations
  • Moving Symbols
  • Collections
  • Call Graph
  • React and JSX
  • Visualization
  • LLM Integration
  • Reducing Conditions
Introduction

Frequently Asked Questions

What languages does Codegen support?

Codegen currently parses two languages:
  • Python
  • TypeScript
We’re actively working on expanding language support based on community needs.
Learn more about how Codegen handles language specifics in the Language Support guide.
Interested in adding support for your language? Let us know or contribute!

Is Codegen exact?

Pretty much! Codegen is roughly on par with mypy and tsc. There are always edge cases in static analysis that are provably impossible to get (for example doing eval() on a string), but all of Codegen’s APIs are intended to be exact unless otherwise specified. Please reach out if you find an edge case and we will do our best to patch it.

Is Codegen suitable for large codebases?

Yes! Codegen was developed on multmillion-line Python and Typescript codebases and includes optimizations for handling large-scale transformations.
For enterprise support, please reach out to team@codegen.com

Can I use Codegen with my existing tools?

Yes - by design.Codegen works like any other python package. It works alongside your IDE, version control system, and other development tools.

How can I contribute if I'm new to the project?

Start by trying out Codegen, joining our Slack community, and looking for issues labeled “good first issue” on GitHub. We welcome contributions to documentation, examples, and code improvements.

Is Codegen free to use?

Yes, Codegen is open source and free to use under the Apache 2.0 license. You can use it for both personal and commercial projects.

Where can I get help if I'm stuck?

The best places to get help are:
  1. Our community Slack channel
  2. GitHub issues for bug reports
  3. Reach out to us on Twitter
About UsAt a Glance
xlinkedin
Assistant
Responses are generated using AI and may contain mistakes.