$npx skillfedfor your agent

Code Generators packages

93 packages · page 1 of 3

Packages

proto-plus Worth it
PyPI · Code Generators · released Aug 2026

Proto Plus wraps protocol buffers to provide Python classes that behave like native Python types while maintaining protocol buffer serialization and schema validation.

Install it if you're working with protocol buffers in Python and want a more Pythonic interface, or if you're using Google Cloud libraries that depend on it.

Apache-2.0pure Python · 3.10+
343.8Mdownloads / mo
Cython Worth it
PyPI · Code Generators · released Jul 2026

Cython is a source code translator that compiles Python code to C, enabling optional static typing and direct C/C++ interoperability to generate efficient native extensions.

Install it if you need to optimize Python performance, wrap C/C++ libraries, or build fast native extensions.

permissive licensepure Python · 3.8+
136.1Mdownloads / mo
asttokens Worth it
PyPI · Code Generators · released Jul 2026

Annotates Python abstract syntax trees with the positions of tokens and source code text, enabling tools to map AST nodes back to their originating code for refactoring, analysis, and transformation.

permissive licensepure Python · 3.8+
134.8Mdownloads / mo
beartype Worth it
PyPI · Code Generators · released Dec 2025

Beartype is a runtime type checker that validates Python type hints at function call time, catching type violations before they cause downstream bugs.

Install it if you want runtime type safety for your annotated code or need to validate type hints on third-party packages.

MITpure Python · 3.10+
99.1Mdownloads / mo
llvmlite With conditions
PyPI · Code Generators · released Aug 2026

llvmlite provides a lightweight Python binding to LLVM's IR builder, optimizer, and JIT compiler APIs, enabling you to write JIT compilers and code generators without needing the full LLVM C++ API surface.

BSD-2-Clause AND Apache-2.0 WITH LLVM-exceptioncompiled wheel · 3.10+
69.3Mdownloads / mo
astor Worth it
PyPI · Code Generators · released Dec 2019

astor converts Python abstract syntax trees (ASTs) back to readable source code and provides tools for AST manipulation, inspection, and non-recursive tree traversal.

Install it if you need AST round-tripping or advanced tree inspection.

BSD-3-Clausepure Python
20.0Mdownloads / mo
genson Worth it
PyPI · Code Generators · released Jul 2026

GenSON generates JSON Schema documents from JSON objects and can merge multiple schemas together, inferring a unified schema that describes the common structure of your data.

MITpure Python · 3.10+
19.4Mdownloads / mo
parse Worth it
PyPI · Code Generators · released May 2026

Parse strings using format-string-like patterns to extract structured data, reversing the operation of Python's format() function.

Install it if you need to reverse format() operations or prefer format-string patterns over regex for text extraction.

MITpure Python
18.0Mdownloads / mo
astunparse With conditions
PyPI · Code Generators · released Dec 2019

Converts Python abstract syntax trees (ASTs) back into source code and provides pretty-printed AST dumps.

BSD-3-Clausepure Pythonabandoned
14.0Mdownloads / mo
pytablewriter Worth it
PyPI · Code Generators · released Jan 2025

Converts tabular data into formatted tables for output in multiple text, binary, and application-specific formats including Markdown, HTML, CSV, JSON, Excel, LaTeX, and SQLite.

Install it if you need to generate formatted tables in any of its supported output formats; skip it only if your use case is limited to a single format where a…

MITpure Python · 3.9+
14.0Mdownloads / mo
drf-spectacular Worth it
PyPI · Code Generators · released Jul 2026

Generates OpenAPI 3.0.3, 3.1, and 3.2 schemas automatically from Django REST framework APIs, with extensive customization options for real-world use cases.

Install it if you need OpenAPI schemas for a DRF API and want automation over manual maintenance.

BSD-3-Clausepure Python · 3.8+
13.9Mdownloads / mo
parse-type With conditions
PyPI · Code Generators · released Aug 2025

Extends the parse module with type converters that handle enumerations, choices, cardinality constraints (optional, many, many-or-more), and variant types for structured text parsing.

However, note the aging maintenance status (368 days since last release)—verify compatibility with your current parse module version and Python release before…

MITpure Pythonaging
9.6Mdownloads / mo
construct Worth it
PyPI · Code Generators · released Nov 2023

Construct is a declarative parser and builder for binary data that lets you define a data structure once and use it symmetrically to both parse binary into Python objects and build objects back into binary.

Install it if you need declarative binary format handling.

MITpure Python · 3.6+aging
7.2Mdownloads / mo
PySide6-Essentials With conditions
PyPI · Code Generators · released May 2026

PySide6 Essentials provides Python bindings to Qt 6.0+ core modules for building cross-platform desktop applications with native UI widgets, graphics, networking, and database support.

The copyleft license requires careful review for commercial projects; consider a commercial Qt license if needed.

copyleftcompiled wheel
3.8Mdownloads / mo
shiboken6 With conditions
PyPI · Code Generators · released May 2026

Shiboken6 provides Python access to metadata and introspection functions for C++/Python bindings, allowing you to check object validity and debug wrapper state in applications built with Qt for Python.

Install only if you actually need binding introspection; it is not a general-purpose library.

copyleftcompiled wheel
3.7Mdownloads / mo
PySide6-Addons With conditions
PyPI · Code Generators · released May 2026

PySide6-Addons extends PySide6 with additional Qt modules for 3D graphics, multimedia, web engines, charts, and specialized hardware interfaces.

copyleftcompiled wheel
3.7Mdownloads / mo
PySide6 Worth it
PyPI · Code Generators · released May 2026

PySide6 provides Python bindings to the Qt 6.0+ framework, enabling you to build cross-platform desktop applications with native UI components and comprehensive framework features.

Install it if you need a mature, feature-complete GUI framework for desktop applications on Windows, macOS, or Linux.

copyleftcompiled wheel
3.6Mdownloads / mo
xsdata Worth it
PyPI · Code Generators · released Feb 2026

xsdata generates Python dataclasses from XML schemas, WSDL, DTD, and JSON documents, then parses and serializes XML and JSON data using those generated models.

MITpure Python · 3.10+
3.5Mdownloads / mo
openapi-python-client Worth it
PyPI · Code Generators · released May 2026

Generates type-annotated Python HTTP clients from OpenAPI 3.0 and 3.1 specifications, producing ready-to-use client libraries with models, API functions, and authentication support.

MITpure Python
3.5Mdownloads / mo
ibis-framework Worth it
PyPI · Code Generators · released Feb 2026

Ibis is a portable Python dataframe library that compiles dataframe expressions into SQL or native operations, letting you use a single API across more than 20 backends.

Install it if you work with multiple data backends or want to avoid vendor lock-in; skip it if you're committed to a single backend and don't need portability.

Apache-2.0pure Python · 3.10+
3.2Mdownloads / mo
drf-yasg Worth it
PyPI · Code Generators · released Feb 2026

Generates Swagger/OpenAPI 2.0 specifications automatically from Django REST Framework APIs, with built-in UI viewers for swagger-ui and ReDoc.

BSD-3-Clausepure Python · 3.9+
3.1Mdownloads / mo
seleniumbase With conditions
PyPI · Code Generators · released Aug 2026

SeleniumBase is a browser automation framework that combines Selenium WebDriver with pytest integration, CDP mode for bot-detection bypass, and tools for web testing, scraping, and crawling.

However, the 60 runtime dependencies are substantial—evaluate whether you need the full feature set or if a lighter alternative suits your use case.

permissive licensepure Python · 3.9+
3.1Mdownloads / mo
libsass With conditions
PyPI · Code Generators · released Jan 2024

Compiles Sass and SCSS stylesheets to CSS through a Python binding of the C/C++ LibSass library, with no Ruby or Node.js dependency.

Not recommended if you expect active maintenance or frequent updates.

MITcompiled wheel · 3.8+dormant
2.6Mdownloads / mo
stone With conditions
PyPI · Code Generators · released Aug 2026

Stone is an interface description language and code generator that lets you define an API specification once and automatically generate client libraries and server code in multiple programming languages.

MITpure Python · 3.11+
2.3Mdownloads / mo
pytensor With conditions
PyPI · Code Generators · released Aug 2026

PyTensor is a Python library for defining, optimizing, and evaluating symbolic mathematical expressions on multi-dimensional arrays, with automatic differentiation and compilation to C, JAX, or Numba.

Install it if you're doing probabilistic programming, building custom optimized numerical pipelines, or need fine-grained control over computation graphs.

BSD-3-Clausepure Python
2.2Mdownloads / mo
ct3 Worth it
PyPI · Code Generators · released Nov 2025

Cheetah3 is a template engine and code generation tool that processes templates to produce output in various languages including Python, C++, Java, and SQL.

MITcompiled wheel
2.0Mdownloads / mo
sqlacodegen Worth it
PyPI · Code Generators · released Jun 2026

Reads an existing database schema and generates SQLAlchemy model code automatically, supporting multiple output formats including declarative classes, dataclasses, and SQLModel.

MITpure Python · 3.10+
1.8Mdownloads / mo
drf-spectacular-sidecar Worth it
PyPI · Code Generators · released Aug 2026

Serves pre-built Swagger UI and Redoc distributions as Django static files, enabling API documentation display without requiring Node.js or additional build steps.

BSD-3-Clausepure Python · 3.6+
1.8Mdownloads / mo
construct-typing With conditions
PyPI · Code Generators · released Jul 2026

Adds type hints and static type checking support to the construct binary parser library, enabling type-safe parsing and building of binary data structures.

MITpure Python · 3.10+
1.4Mdownloads / mo
abnf Worth it
PyPI · Code Generators · released Aug 2026

Generates parsers from ABNF grammars as specified in RFC 5234 and RFC 7405, with 30+ built-in grammar modules for common RFCs like HTTP headers, email addresses, and URIs.

Install it if you need to parse or validate structured text defined by RFCs or custom ABNF grammars.

MITpure Python · 3.10+
1.1Mdownloads / mo
ziglang With conditions
PyPI · Code Generators · released Apr 2026

Distributes the Zig programming language toolchain and its standalone C/C++ compiler (zig cc) as a Python package, enabling Python projects to use Zig as a build dependency without external system libraries.

However, note that the repository is archived and abandoned—the package will not receive updates for new Zig releases or Python compatibility issues.

MITcompiled wheelabandoned
873.0Kdownloads / mo
pythran With conditions
PyPI · Code Generators · released Nov 2025

Pythran is an ahead-of-time compiler that converts annotated Python functions into optimized native code, targeting scientific computing workloads with support for multi-core and SIMD execution.

The main gotcha is platform-specific setup (C++ compiler and BLAS libraries); verify those are available before installing.

license unclearpure Python · 3.7+
854.4Kdownloads / mo
systemrdl-compiler Worth it
PyPI · Code Generators · released Feb 2026

Parses and elaborates SystemRDL 2.0 register description language into a traversable register model, enabling custom code generation for hardware register spaces.

Install it if you need to parse SystemRDL files or build custom register generators.

MITcompiled wheel · 3.7+
779.5Kdownloads / mo
toml-sort Worth it
PyPI · Code Generators · released Mar 2026

Command-line utility and Python library to sort and format TOML files while preserving comments and standardizing whitespace.

MITpure Python · 3.9+
723.4Kdownloads / mo
PyLaTeX With conditions
PyPI · Code Generators · released Oct 2023

PyLaTeX generates LaTeX documents and code snippets from Python, letting you programmatically create PDFs and typeset content without writing raw LaTeX by hand.

MITbuilds from sourcedormant
665.6Kdownloads / mo
chalkpy With conditions
PyPI · Code Generators · released Aug 2026

Chalk is a Python SDK for building and deploying machine learning feature pipelines that compute features from multiple data sources and serve them for both online inference and offline training.

However, the license is unclear, so verify terms before production use.

license unclearpure Python
621.4Kdownloads / mo
spark-parser With conditions
PyPI · Code Generators · released Oct 2024

Implements an Earley algorithm parser for context-free grammars with Abstract Syntax Tree support and a regex-based scanner.

Not recommended if you need active maintenance or support.

permissive licensepure Pythondormant
513.2Kdownloads / mo
esprima Skip
PyPI · Code Generators · released Aug 2018

Esprima parses ECMAScript (JavaScript) source code into an abstract syntax tree, supporting tokenization and full syntactic analysis of JavaScript programs.

Install only if you are maintaining legacy code that already depends on esprima and cannot migrate.

BSD-3-Clausebuilds from sourceabandoned
484.4Kdownloads / mo
ansible-creator Worth it
PyPI · Code Generators · released Aug 2026

A CLI tool that scaffolds new Ansible projects and adds resources to existing ones, generating boilerplate code and project structure from templates.

Apache-2.0pure Python · 3.10+
433.1Kdownloads / mo
baron Skip
PyPI · Code Generators · released Dec 2021

Baron parses Python source code into a Full Syntax Tree (FST) that preserves all formatting, comments, and whitespace, and can be converted back to identical source code.

LGPL-3.0-onlypure Pythonabandoned
414.1Kdownloads / mo