This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Reason given by maintainers: Minz is now baci (https://pypi.org/project/baci/)
WIP!! This is incomplete/theoretical examples!
minz - very simple cli framework (for the very lazy)
Got No time to learn and download a huge framework just to make some simple clis? Yeah me neither I got a board game meetup to get to after this!
Why not just write a bunch of vanilla python functions and let minz deal with the weird linux stuff?!
# this can already be a cli command
def say_hello():
# docstring adds a description to --help options
"""
Prints hello to the screen
"""
print("hello lazy!")
if __name__ == '__main__':
minz = Minz()
minz.register(say_hello)
minz.run()
$ python cli.py say-hello
hello lazy!
But generally you would add an entrypoint to your cli that discovers all functions
from minz import Minz
minz.autorun(dir="./commands")
All non-private defined functions in commands/ will be registerd in the cli
Prefix with a _ to be ignored. That's the only way.
philosophies
Be a strong, independent package who don't need no pypi
Dependencies means vulnerabilities, which means frequent patching and updating. WHO GOT TIME FOR DAT?
Write it all in-house.
Update like it's moving apartments
Would you move to a new studio bedroom every month?
Command line syntax hasn't changed for decades, what's there to update?
Make it feature complete and reliable.
The only exceptions are if there's a bug. Just like in your apartment, you would make the effort to get rid of bugs.
There's no zen here, bub!
We don't follow zen of python. Zen is nice but we live in the real world, ya dig? No bad-ass mf got time for explicitly stating everything. So just learn the conventions here once and save big on keystrokes!
Metadata
Release files for minz 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| minz-0.0.1.tar.gz | 4.1 kB | Without provenance | Details for minz-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| minz-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for minz-0.0.1-py3-none-any.whl |
Total release size: 8.6 kB
Release files / minz-0.0.1.tar.gz
| Download URL | minz-0.0.1.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
35e8aed8551c62079a3a3843cb4d0177a2876aee7016059c5b86d74aa5addf4a
|
|
BLAKE2b-256 checksum How to use checksums |
b63cb94593e4287a0ec7a9263487fcc445d224b6ecdf40dae7d60cfab5b91496
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.0
|
Release files / minz-0.0.1-py3-none-any.whl
| Download URL | minz-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
00ac3f01e0e16296344c0ba3c1c51dc26aa1dbc01e1a8e868784d9a5cc650a14
|
|
BLAKE2b-256 checksum How to use checksums |
6035f65a32f89888a34bd5ae886f1f92e8036b258c629aaf23e64322979b00e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.0
|
Security for minz 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.