spookylukey/fluent-codegen

Python code generation library, extracted from fluent-compiler

40
/ 100
Emerging

Constructs Python AST nodes via high-level abstractions (functions, conditionals, expressions) rather than raw AST manipulation, eliminating injection bugs and string interpolation pitfalls. Provides two expression-building APIs—fluent method chaining and "E-objects" that intercept Python operators—enabling readable programmatic code generation. Originally distilled from fluent-compiler's Fluent localization compilation pipeline, with automatic scope management and built-in safeguards against dangerous builtins.

Available on PyPI.

Maintenance 13 / 25
Adoption 9 / 25
Maturity 18 / 25
Community 0 / 25

How are scores calculated?

Stars

3

Forks

Language

Python

License

Last pushed

Mar 28, 2026

Monthly downloads

309

Commits (30d)

0

Dependencies

1

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/spookylukey/fluent-codegen"

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