nowfound

Dev tools · June 20, 2023

AT

Arguably – The best Python CLI library, arguably

I spent the past few weeks working on arguably. It uses your function signatures and docstrings to create a CLI. I built it to have the most common features of other libraries (and a few extra) in a much more concise syntax - no need for @click.option or typer.Option. It succeeds when you barely notice it's there. For most cases, you decorate a function with @arguably.command, and it just does what you'd expect: * Positional args for the function become positional CLI args * Keyword-only args become --options * Type hints set up parsing * Docstrings provide help messages for each command and…

What it does

In the maker’s words, at launch

I spent the past few weeks working on arguably. It uses your function signatures and docstrings to create a CLI. I built it to have the most common features of other libraries (and a few extra) in a much more concise syntax - no need for @click.option or typer.Option. It succeeds when you barely notice it's there. For most cases, you decorate a function with @arguably.command, and it just does what you'd expect: * Positional args for the function become positional CLI args * Keyword-only args become --options * Type hints set up parsing * Docstrings provide help messages for each command and argument This also means it's good at making a script into a CLI without any integration at all, like Python Fire does. Just run `python3 -m arguably your_script.py` to give your script a CLI. This is my first time making an open-source project with real testing and documentation, definitely a learning experience. mkdocs didn't work for me at first, so I wrote some wild workarounds: https://treykeown.github.io/arguably/contributing/#building-...

Does the same job

all alternatives →
  • PT
  • PP
    Practical Python Projects book release2021 · practicalpython.yasoob.me · ▲88

    Hi everyone! I just released the Practical Python Projects book! (https://practicalpython.yasoob.me) I am happy to announce the first version as a release candidate. I have poured a lot of love into writing this book and would love to hear what you guys think. (A limited 100% off and discount coupons at the end) This is not a pure beginner book. The book does assume some background Python knowledge. You need to know the basics like methods, functions, classes, and such. If I use something that is not typically covered in beginner Python books, I will explain it before I use it.…

  • FA
  • OS
    Open-Sourced AI CLI Tool2025 · code2docs-open-source.netlify.app · ▲9

    I’ve been working on Code2Docs, an open-source CLI tool that helps developers automatically generate inline documentation (docstrings + comments) for Python code using AI. It’s built to solve a common problem I’ve faced (and seen often in teams): We code by "vibe" — fast iterations, minimal docs, and then forget what the logic was months later. Code2Docs helps bridge that gap by documenting as you go — without breaking your flow. Right now it supports function-level documentation. Planned features include: - README.md generation for projects - API endpoint docs - Database schema…

  • MS
    My sunday night project (@cmpyl)2012 · ▲11

    @cmpyl Tweet a line of python at it (right now it works best with math) and it'll tweet back at you the return value. Ex: https://twitter.com/#!/cmpyl/status/186850674053615616 Pretty useless little bot but it will be cool to see what sort of wild one liners it finds.

  • FA
    Funcy – AWS Lambda strongly typed, best practice2024 · github.com · ▲9

    Hi, Please check out my new library funcy. It's really simplified AWS Lambda APIs in my projects, so I thought I would open-source it. It strongly-types all request parameters, has support for CORS, content-negotiation, security headers, etc.. out of the box and works via a very simply declarative interface with progressive disclosure. It's currently pre-release, let me know what you think :)

More dev tools this month

the category →
  • Dograh592

    The open source VAPI alternative

    Dev tools · 25d ago · dograh.com

  • Meridian530

    Don't let your work go unnoticed. Get promoted!

    Dev tools · 20d ago · meridiona.com

  • x1516

    Lovable for iPhone apps go from idea to App Store

    Dev tools · 11d ago · x1.new

  • Open-source GTM skills for technical founders

    Dev tools · 29d ago · gtmcofounder.com

  • Nuphos380

    The AI-Native DevOps Workspace.

    Dev tools · 24d ago · nuphos.ai

  • OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.

    Dev tools · 1d ago · opentrailpaper.com

Launched alongside, June 2023

the whole month →
  • NI

    Heya HN, I've been working on a reddit-like platform as my primary side project for the last few years. Doing a (very) soft launch today, mainly because I want to use it to encourage discussion of alternatives. How non.io works: 1. Free to browse, paid to interact. 2. Minimum subscription is $2 (though you can choose more). I take $1 to run the servers, everything left gets split evenly between everything you upvote that month. It's a simple model, but I hope it's a better one than the freemium model we've been relying on for the last few years. Fundamentally I feel like any ad-supported…

    Commerce · 2023 · non.io

  • Sivi AI938

    Generative AI to magically turn text to visual designs

    AI · 2023 · sivi.ai

  • Effortlessly publish on Twitter and LinkedIn, now with AI

    Growth · 2023 · typefully.com

  • Olvy 2.0827

    Analyze user feedback 10x faster with AI

    AI · 2023 · olvy.co

  • SlashPage760

    Create websites in seconds to build your first 1K community

    Growth · 2023 · slashpage.com

  • Simple landing page builder

    AI · 2023 · unicornplatform.com