I am sick of writing argparse boilerplate code, so I made "duckargs" to do it for me

This page summarizes the projects mentioned and recommended in the original post on /r/Python

Scout Monitoring - Free Django app performance insights with Scout Monitoring
Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.
www.scoutapm.com
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • Python Fire

    Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.

    Have you checked out fire? Personally, I think it's a really elegant solution to turning a callable object into command line. Plus, the chaining function calls feature lets you build some pretty complex command line patterns likes you never seen with other frameworks. Definitely worth giving it a try!

  • Scout Monitoring

    Free Django app performance insights with Scout Monitoring. Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.

    Scout Monitoring logo
  • SimpleParsing

    Simple, Elegant, Typed Argument Parsing with argparse

    I personally like https://github.com/lebrice/SimpleParsing and similar (there are a few similar libraries with the same concept)

  • docopt

    Create *beautiful* command-line interfaces with Python

    I like http://docopt.org/ a lot. You seem like someone who might have opinions on that.

  • typer

    Typer, build great CLIs. Easy to code. Based on Python type hints.

    Very cool. I’ve been using Typer lately. Easy to give a library a cli without too much boilerplate.

  • datargs

    Declarative, type-safe command line argument parsers from dataclasses and attrs classes

    I made datargs for the same reason: ``` from dataclasses import dataclass from pathlib import Path from datargs import parse

  • click

    Python composable command line interface toolkit

    Hmm… did you try such approaches, as [click](https://github.com/pallets/click) or[tap](https://github.com/swansonk14/typed-argument-parser)?

  • typed-argument-parser

    Typed argument parser for Python

    Hmm… did you try such approaches, as [click](https://github.com/pallets/click) or[tap](https://github.com/swansonk14/typed-argument-parser)?

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • sourcepy

    Sourcepy lets you source python scripts natively inside your shell

    Sourcepy also offers a radically different approach for this. Just put some functions into a Python file and source it. A big magic for building production apps but pretty cool for turning functions into CLI commands without any special code.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Python's many command-line utilities

    4 projects | news.ycombinator.com | 3 Jun 2024
  • click-web: Serve click scripts over the web (Python)

    2 projects | news.ycombinator.com | 13 Dec 2023
  • Anyone want to start a project with me.

    2 projects | /r/ProgrammingBuddies | 7 Jul 2023
  • Build CLI blazingly fast with python-fire 🔥

    1 project | dev.to | 5 Jun 2023
  • How does "python3 *file* -*letter* work?

    2 projects | /r/learnpython | 26 Mar 2023