eriknyquist/duckargs

Code generation tool, creates python / C programs that parse command line arguments. Say bye to starting each project by reading "argparse" / "geptopt.h" docs.

47
/ 100
Emerging

Generates parser boilerplate by introspecting command-line invocations—pass desired options/arguments/flags directly to `duckargs` and it outputs complete, production-ready code with type validation, help text, and default values. Supports dual-target code generation (Python's argparse and C's getopt.h), including constraint validation through comma-separated choice lists that translate to argparse `choices` or C validation arrays.

121 stars and 30 monthly downloads. No commits in the last 6 months. Available on PyPI.

Stale 6m No Dependents
Maintenance 2 / 25
Adoption 13 / 25
Maturity 25 / 25
Community 7 / 25

How are scores calculated?

Stars

121

Forks

4

Language

Python

License

MIT

Last pushed

Aug 11, 2025

Monthly downloads

30

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/eriknyquist/duckargs"

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