2 ms·
Diff'rent strokes for diff'rent folks (and diff'rent use cases)... For me, the panacea is to be able to easily do both. I want to be able to use an application
by sanderjd 3y ago
Diff'rent strokes for diff'rent folks (and diff'rent use cases)...
For me, the panacea is to be able to easily do both. I want to be able to use an application as a library from a repl or script by "configuring" it via dataclasses. And I want to be able to run the same application from a cli in different configurations in different production environments by checking in sets of config files that I know are more constrained in what they can do than a generic python runtime.
There's no fundamental reason it is hard to expose both of these interfaces without repeating yourself a bunch!