Code Generation Tools

Tools for automatically generating code, templates, and boilerplate in Dart/Flutter and related ecosystems. Includes generators for widgets, models, themes, validators, and project structures. Does NOT include runtime libraries, Firebase SDKs, or general linting/formatting tools.

There are 148 code generation tools tracked. 1 score above 70 (verified tier). The highest-rated is inducer/cgen at 71/100 with 171 stars and 24,384 monthly downloads.

Get all 148 projects as JSON

curl "https://pt-edge.onrender.com/api/v1/datasets/quality?domain=ai-coding&subcategory=code-generation-tools&limit=20"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.

# Tool Score Tier
1 inducer/cgen

C/C++ source generation from an AST

71
Verified
2 westandskif/convtools

convtools is a specialized Python library for dynamic, declarative data...

60
Established
3 pyecore/pyecore

A Python(nic) Implementation of EMF/Ecore (Eclipse Modeling Framework)

60
Established
4 finsberg/gotranx

Next generation ODE translator

58
Established
5 mutating/transfunctions

Say NO to Python fragmentation on sync and async

57
Established
6 cogu/cfile

A python C code generator

57
Established
7 andreycizov/python-protobuf-gen

protobuf typed binding generator for python

56
Established
8 vil02/puzzle_generator

Generates python code representing a puzzle

54
Established
9 FEniCS/ffcx

Next generation FEniCS Form Compiler for finite element forms

53
Established
10 cleder/crepr

Create a ❤️__repr__🤗️ for your python classes from the definition found in __init__

53
Established
11 numen31337/copy_with_extension

Auto-generate `copyWith` methods for your Dart classes.

52
Established
12 15r10nk/pysource-minimize

minimize python source code to find bugs more easily

51
Established
13 Nekmo/django-code-generator

Generate code from your Django models for faster development

50
Established
14 OpenCyphal/nunavut

Generate code from DSDL using PyDSDL and Jinja2

47
Emerging
15 tuomasr/pazel

pazel - generate Bazel BUILD files for Python

46
Emerging
16 kevmoo/build_cli

A builder that generates an ArgsParser from a class

46
Emerging
17 AgalmicVentures/PyTestStub

Code generator for Python unit test stubs that parses your existing code

46
Emerging
18 mbdevpl/typed-astunparse

Python 3 AST unparser with type comments support.

45
Emerging
19 LucasGoncSilva/mosheh

Mosheh, a tool for creating docs for projects, from Python to Python.

44
Emerging
20 BirjuVachhani/spider

A small dart library to generate Assets dart code from assets folder.

42
Emerging
21 SylphxAI/firestore_odm

🔥 Type-safe Firestore ODM for Dart/Flutter - code-generation with zero reflection

42
Emerging
22 orsinium-labs/infer-types

A CLI tool to automatically add type annotations into Python code. Must have...

42
Emerging
23 rayanht/paprika

Paprika is a python library that reduces boilerplate. Heavily inspired by...

42
Emerging
24 PlugFox/pubspec_generator

Code generator pubspec.yaml.g.dart from pubspec.yaml

41
Emerging
25 spookylukey/fluent-codegen

Python code generation library, extracted from fluent-compiler

40
Emerging
26 volfpeter/markyp

Python 3 tools for creating markup documents.

40
Emerging
27 eriknyquist/duckargs

Code generation tool, creates python / C programs that parse command line...

40
Emerging
28 Pelagicore/qface

Interface generator framework based on an interface description language...

39
Emerging
29 vil02/string_to_code_proj

Generates a piece of messy code displaying a given string

39
Emerging
30 gilch/hissp

It's Python with a Lissp.

39
Emerging
31 hexiro/autorequests

Generate Python code to recreate a request from your browser.

39
Emerging
32 didi/Unify

An efficient, flexible Flutter-Native hybrid communication framework for...

39
Emerging
33 true-grue/raddsl

Tools for rapid prototyping of DSL compilers

39
Emerging
34 sanjeev2552/feature_gen_cli

A Dart CLI tool that generates clean-architecture feature modules for...

38
Emerging
35 courage-tci/gekkota

Extensible Python code generator

38
Emerging
36 Oualitsen/graphlink

Type-safe code generator for GraphQL schemas — produces clients and server...

37
Emerging
37 ajinasokan/dartgen

An inline generator collection for Dart & Flutter projects

36
Emerging
38 stcarrez/dynamo

Dynamo Ada Application Code Generator

36
Emerging
39 KirsApps/boilerplate_generators

Set of code generators for copyWith and copyWithNull methods with deepCopy...

35
Emerging
40 qoco-org/qoco-python

Python interface for the QOCO solver

35
Emerging
41 simpleclub/firebase-rules-helper

A collection of packages aimed to make working with Firebase rules easier.

35
Emerging
42 t-unit/tonik

Pure Dart OpenAPI 3.0/3.1 code generator. Creates type-safe API client...

35
Emerging
43 gumbarros/DevWidgets

DevWidgets is a Flutter application with several tools such as generators,...

34
Emerging
44 dev-cetera/df_generate_dart_indexes

A tool to generate index/exports files also known as barrel files for all...

34
Emerging
45 Lnk2past/copperhead

An Inline C++ Extension Generator for Python

34
Emerging
46 the-pythonist/python-gui-maker

Simply an application that can help you to quickly build UIs of...

34
Emerging
47 jorenham/unpy

Python stub backporter

33
Emerging
48 shobrook/termite

Generative UI in your terminal

32
Emerging
49 SylphxAI/spectra

Transform Dart data classes into JSON Schema, OpenAPI, and Protocol Buffers....

32
Emerging
50 realth000/gitsumu

Dart package provides info about compile environment including git info,...

32
Emerging
51 juliendelplanque/Python3Generator

A toolkit to generate Python 3 source code from Pharo.

31
Emerging
52 werediver/sum_types.dart

A code generator enabling sum-types in Dart

31
Emerging
53 braincore/code-writer

A Python 3 library with convenience functions for generating code in any language.

31
Emerging
54 ergs/transmutagen

Transmutation CRAM solver code generator

31
Emerging
55 NTDXYG/ExploitGen

ExploitGen is a template-augmented Exploit Code generation method based on...

30
Emerging
56 foxanna/flutteristas_conf_2021

Mobile application that displays a list of the upcoming space mission...

29
Experimental
57 vinothvino42/mason_bricks

A collection of bricks created to reuse code across all my flutter projects

28
Experimental
58 helightdev/dogs

A Dart/Flutter library for code‑generated object graphs, providing...

28
Experimental
59 ouedyan/flutter-mobile-app-template

A production-ready Flutter template with Hooks Riverpod, Go Router, custom...

28
Experimental
60 ahm3tcelik/dart_writer

Provides API to generate Dart source code

28
Experimental
61 foxanna/productive_code_gen

This Flutter project demonstrates the usage of various code-generating...

27
Experimental
62 xnd-project/xndtools

XND Tools: development tools for the XND project

27
Experimental
63 programmersd21/p2r

🐍🚀 A static Python-to-Rust transpiler that converts type-annotated Python...

26
Experimental
64 mukhbit0/go_router_sugar

Zero-effort file-based routing for Flutter with go_router. Automatically...

26
Experimental
65 foxanna/barrel_files

Generate barrel files for Dart and Flutter packages with build_runner based...

26
Experimental
66 pacifio/json2dart

A CLI tool to help generate dart classes from json returned from API

26
Experimental
67 rrousselGit/analyzer_buffer

A package to help writing code-generators while supporting import prefixes...

25
Experimental
68 akashp1712/pythonizr

Pythonizr - Web-based tool to generate Machine Learning boilerplate code

25
Experimental
69 HansBug/pyfcstm

A Python framework for FCSTM DSL parsing, hierarchical state machine...

25
Experimental
70 morefigs/pyqt-helper

Autogenerate getter and setter code for PyQt UI objects

25
Experimental
71 Paulo-Lopes-Estevao/client-code-generators

Repository for all code generators provided by clients

25
Experimental
72 nivisi/vscode-dart-build-runner-tools

Run build_runner commands directly from VS Code’s context menu, Command...

25
Experimental
73 tsnAnh/flutter-agentic-starter

Production-ready Flutter BLoC starter template optimized for AI coding...

25
Experimental
74 GeekySingh/flutter_stacked_architecture_with_retrofit

Guide to design Flutter app architecture with MVVM pattern, dependency...

25
Experimental
75 BenAAndrew/auto-heuristic

A tool to automatically generate heuristic rules for a dataset

25
Experimental
76 cuongnbms/mermaid-builder

Mermaid Builder is a Python library designed to generate Mermaid diagram...

25
Experimental
77 Deveji/Deveji-Mason

This repository holds the code for all publicly available Mason bricks

25
Experimental
78 dscottboggs/python-delegate

Delegate properties on a class to the attributes of one of its members

25
Experimental
79 asyncze/md2website

Static website generator

24
Experimental
80 gradion-ai/mcpygen

Generate typed Python APIs from MCP server tool schemas

24
Experimental
81 henryluki/acgt

Auto Code Generation Tools (DSL)

23
Experimental
82 cuixing158/matlabCommentTemplate

Easy to use m-file comment template!

23
Experimental
83 locorda/rdf

🚀 Making RDF easy for Dart & Flutter developers. A comprehensive suite for...

23
Experimental
84 btfranklin/coderoller

A Python utility for flattening an entire source tree into a single markdown file

22
Experimental
85 SahilSharma2710/form_forge

Code-generation powered form engine for Flutter. The freezed of forms —...

22
Experimental
86 bdcbqa314159/xl_translator

Deterministic Excel-to-Python transpiler — extracts the computation graph...

22
Experimental
87 keturk/datrix

Official public repository for the Datrix DSL and code generation platform....

22
Experimental
88 macstarosielec/clean_architecture_brick

Mason brick for layered clean architecture project structure

22
Experimental
89 MukundaKatta/DocuMint

Auto documentation generator — AST-based Python code analysis to markdown docs

22
Experimental
90 yardexx/freerasp_brick

A brick for configuration generation and automatic setup for freeRASP.

22
Experimental
91 lmco/parselab

parseLab is a tool designed to generate protocol parsers and fuzz messages,...

22
Experimental
92 ksokolovskyi/envy

Code generation for extracting environment variables

22
Experimental
93 Abhishekmishra-17/Intermediate-code-generator-using-python3

Code generator program using python

21
Experimental
94 trillionclues/dart_assets

Zero-friction asset management for dart and flutter projects. Drop static...

21
Experimental
95 sstelian/Text-to-Brainfuck

This project takes a string and generates Brainfuck source code that outputs...

21
Experimental
96 dened/svg2dart

Command-line tool that converts SVG files into pure Dart code.

21
Experimental
97 adlai/cjhunt

ABANDONED delineator of pseudonymous payment sets

21
Experimental
98 dev-cetera/df_generate_screen

A tool to generate ready-made screen templates for your Flutter app (uses...

21
Experimental
99 dev-cetera/df_gen_core

A package that provides core utilities for practical code generation.

20
Experimental
100 ahm3tcelik/json2dart_gen

Json to Dart Generation

20
Experimental
101 sustrik/tiles

Programmatic code generation

20
Experimental
102 foxanna/flutter_vikings_2022

Source code for the mobile application and slides for the "Fun with code...

20
Experimental
103 dev-cetera/df_generate_dart_models_core

A package that provides core dependencies for models generated with...

20
Experimental
104 metadsl/metadsl

Domain Specific Languages in Python

19
Experimental
105 kihyun1998/flutter_tweakcn_generator

Converts tweakcn CSS themes into Flutter ThemeData with ColorScheme, ...

19
Experimental
106 StoneLabs/webduino-generator

Python program to automatically create arduino webserver from "web files"

19
Experimental
107 Crazelu/FlutterFromYaml

An experiment born out of a simple curious question: What if you could build...

18
Experimental
108 kasundularaam/flutter-berry

🍓 Instant Flutter project setup with DDD architecture, essential...

17
Experimental
109 plainspooky/inliner

A tool written in Python that converts indented BASIC programs into a...

17
Experimental
110 gilch/garden-of-edn

Because EDN needs a Python.

16
Experimental
111 marcinsiedlik/auto_localized

Easy to use runtime-safe Flutter app localization using code generation.

16
Experimental
112 Awesome-T/d2p_gen

This package creates messages for .proto based on existing dart classes...

16
Experimental
113 andrejrs/fishbowl-game-flutter

Fishbowl is a fun, team-based party game where players try to guess words or...

15
Experimental
114 munawerdev/mason_cli

"Mason CLI: Simplify your Flutter development workflow with Mason CLI. This...

15
Experimental
115 YouriLieverdink/architect

Collection of code generators for the Dart programming language used with Apibuilder.

15
Experimental
116 kellyiscute/shit_mountain_generator

A general purpose template driven code generator

15
Experimental
117 lohanidamodar/flutter_builders

Flutter Generate Widgets from JSON

15
Experimental
118 NoScopeDevs/bricks

A collection of Mason bricks used for templating our projects.

15
Experimental
119 TeeWrath/csnake

A cross-code translator designed to map C language code into Python,...

14
Experimental
120 pfalcon/pycopy-jitgen

Generating machine code at runtime (aka JIT) using Pycopy (small Python dialect)

14
Experimental
121 nQrse/code-brick

🧱 Manage reusable code templates effortlessly with Brick CLI. Eliminate...

14
Experimental
122 Wided123-456-789/pyimport2pkg

🐍 Map Python import statements to pip package names easily, streamlining...

14
Experimental
123 Amanda9002/py2cpp

🚀 Transform Python code into optimized, memory-safe C++20 binaries with...

14
Experimental
124 rasiip/dart-cfy

🚀 Simplify your Flutter development with dart-cfy, a lightweight library for...

14
Experimental
125 eva-foundry/01-documentation-generator

Documentation generation automation tool

14
Experimental
126 welbornprod/glader

Generate python code from a glade file. Signals are automatically stubbed...

13
Experimental
127 Luckey-Elijah/gator

Generate shades and tints from primary colors hex values.

13
Experimental
128 fullptr/datamatic

A code generator for entity component systems

13
Experimental
129 tekknolagi/pyddcg

A small implementation of destination-driven code generation in Python

13
Experimental
130 charafau/retrofit.dart

VERY simple retrofit client in dart (sample for presentation) - how to use...

13
Experimental
131 predatorx7/mason_bricks

A collection of bricks that enable developers to be more productive when...

13
Experimental
132 harlanx/mkv_profile

Automatically manage and mux series or movie files to the common conventions...

13
Experimental
133 mintyPT/sigla

Technology agnostic code generator written in python

13
Experimental
134 tada-team/tdproto_dart

Autogenerated Tada API data types for dart.

12
Experimental
135 himanshuagarwal77225/mason_demo

Flutter Mason Demo with Clean Architecture

12
Experimental
136 SeadexGmbH/genesis

genesis is a generator library developed by Seadex (written in C++11)

12
Experimental
137 maxzod/df_builder

small package to generate code in a simple way

12
Experimental
138 MatzeS/dart_rmi

Remote Method Invocation without reflection

11
Experimental
139 shtse8/fireschema_dart_runtime

Dart runtime library for Firestore ODM code generated by FireSchema....

11
Experimental
140 Sanshain/dart_oop_extension

The package that extends the capabilities of the dart language, thanks to...

11
Experimental
141 buptanswer/pyimport2pkg

🐍 Reverse mapping tool: from Python import statements to pip package names....

11
Experimental
142 ianbucal/row_row_row

Flutter code generator for Supabase's database's tables and view rows models.

11
Experimental
143 osaxma/data_class_builder_example

Some examples for how to build dart code using package:analyzer and...

11
Experimental
144 t4ccer/declduino

A declarative way to create Arudino-based IOT devices

10
Experimental
145 nandanurseptama/validator_generator.dart

Generates utilities to aid in validator in dart class model/DTO

10
Experimental
146 Awesome-T/d2p_annotation

This package does nothing without d2p_gen, which creates proto files for...

10
Experimental
147 alfianandinugraha/dart-generation

Simple code generation on Dart using build_runner with freezed and json_serializable

10
Experimental
148 DrafaKiller/ObserverPattern-dart

Automatically generates an observable interface for any class. Observer...

10
Experimental