I'm considering my first API for this project which has been templates to date, it's a small back office API for some automation of feature flags.
I already have attrs/cattrs as serialisation. Opinions of what I chose here?
I'm considering my first API for this project which has been templates to date, it's a small back office API for some automation of feature flags.
I already have attrs/cattrs as serialisation. Opinions of what I chose here?
@nanorepublica If you want a framework, Ninja is our standard these days. It favors Pydantic.
Not that you need one though. Attrs/cattrs is good enough
@nanorepublica I strongly recommend "typer" for Python CLIs. If you're writing in Rust, clap is good. Both support elegant tab completions.
@danielquinn yeah I'm specifically avoiding python as I would like a single binary build and want to try something new
@nanorepublica well then maybe my little "db" project will help as a starting point:
https://gitlab.com/danielquinn/db
It uses both `clap` and `clap_complete`. It took ages to figure out how to compute the completions at runtime.