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

Code Generator Python Packages

Python packages with the GitHub topic code-generator. Sorted by monthly downloads, with stars and forks.
datamodel-code-generator
datamodel-code-generator

Generate Pydantic v2 models, dataclasses, TypedDict, and msgspec.Struct from OpenAPI, JSON Schema, GraphQL, Avro, Protobuf, and raw JSON/YAML/CSV, plus FastAPI servers and Python clients from OpenAPI.

17.9M 4K 491
tefra
xsdata

Naive XML & JSON Bindings for python

3.3M 457 86
danielgtaylor
betterproto

Clean, modern, Python 3.6+ code generator & library for Protobuf 3 and async gRPC

2.7M 2K 237
microsoft
jschema-to-python

Generate source code for a set of Python classes from a JSON schema.

2.1M 40 19
tefra
xsdata-pydantic

Naive XML & JSON Bindings for python pydantic classes!

386K 92 19
efficios
barectf

Generator of ANSI C tracers which output CTF data streams

128K 80 16
OpenCyphal
nunavut

Generate code from DSDL using PyDSDL and Jinja2

83K 48 26
PyHDI
pyverilog

Python-based Hardware Design Processing Toolkit for Verilog HDL

45K 802 214
state-alchemists
zrb

Your Automation Powerhouse

40K 19 1
just-buildit
just-makeit

Python C extensions the easy way.

30K 0 0
Nekmo
django-code-generator

Generate code from your Django models for faster development

14K 53 11
BESSER-PEARL
besser

Reliable agentic development combining low-code and AI. Built with Python. Create your UML models or describe your app. All in the browser. Generate FastAPI, React, Django, Spring Boot, Flutter, SQL and more with a combination of deterministic code-generators and LLMs to fill the gaps

12K 215 46
WoLpH
django-admin-generator

The Django Admin Generator automatically generates (scaffolds) a fully functioning Django admin by introspecting and querying your models

8K 97 16
datamodel-code-generator
datamodel-codegen

Generate Pydantic v2 models, dataclasses, TypedDict, and msgspec.Struct from OpenAPI, JSON Schema, GraphQL, Avro, Protobuf, and raw JSON/YAML/CSV, plus FastAPI servers and Python clients from OpenAPI.

5K 4K 491
apkpy-project
apkpy

Build native Android apps in pure Python

4K 9 1
oguzhan-yilmaz
balcony

Read any resource in your AWS Account. You can generate terraform code for them, too.

3K 148 4
inducer
loopy

A code generator for array-based code on CPUs and GPUs

3K 639 81
eschaar
vstack

vstack is a VS Code–native AI engineering workflow system. It provides structured skills — executable by GitHub Copilot in Agent Mode — for planning, reviewing, verifying, and releasing software.

3K 1 1
app-sre
qenerate

Code Generator for GraphQL Query and Fragment Data Classes

3K 14 9
tefra
xsdata-attrs

Naive XML & JSON Bindings for python attrs!

3K 17 0
rickwporter
openapi-spec-tools

Tools for working with OpenAPI specifications, including CLI generation

3K 4 1
volfpeter
markyp-html

HTML element implementations based on markyp

3K 6 0
antoine-tena
kiln-cli

Claude Code's workshop: start every new project, and rescue every old one, like a senior engineer would — even if you're not one.

2K 4 2
antoine-tena
ion-repo

Claude Code's workshop: start every new project, and rescue every old one, like a senior engineer would — even if you're not one.

2K 4 2
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology