Welcome To PyMan
PyMan is a small library that allows you to build your own CLI to manage your projects. This way you do not have to remember commands to run, you simply navigate your CLI to run those commands.
Installing
PyMan is available from the PyPi repository.
This means that all you have to do to install PyMan is run the following in a console:
$ pip install pyman
Collecting pyman
Using cached pyman-0.1.3-py2.py3-none-any.whl
Installing collected packages: pyman
Successfully installed pyman-0.1.3
Minimal Example
import pyman
pyman.Main("PyMan - Menu Example", [
pyman.Action.Cmd( "Hello World", "echo 'Testing PyMan'" ),
pyman.Action.Exit()
]).cli()
Example Output
================================================================
PyMan - Menu Example
================================================================
Main Menu
--------------------
1) Hello World
2) Exit
--------------------
Choice:
How It Works
PyMan uses the idea of Pages and Actions. Each page is made up of a number of actions.
You start off by instanciating the ‘Main Menu’ class, providing the title you wish to display:
menu = pyman.Main("PyMan - Menu Example")
From here you add other Pages or Actions
menu.add([
pyman.Action.Exit()
])
pyman.Action.Exit is one of the in-built actions. Other inbuilt actions include:
pyman.Actions.Cmd
pyman.Actions.Back
pyman.Actions.Exit
And finally, you start the CLI with:
menu.cli()
Documentation: ReadTheDocs
Source Code: GitHub
Metadata
Release files for pyman 0.1.3
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 |
|---|---|---|---|---|
| pyman-0.1.3.tar.gz | 5.0 kB | Without provenance | Details for pyman-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyman-0.1.3-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for pyman-0.1.3-py2.py3-none-any.whl |
Total release size: 11.9 kB
Release files / pyman-0.1.3.tar.gz
| Download URL | pyman-0.1.3.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
65c103a6e316fb15cb9343884a03408f932ddd9c3d1358ddce5b95ee7c35d63a
|
|
BLAKE2b-256 checksum How to use checksums |
76ae479f0f9a14b84c879655a25f587a05856da693796df875b6493f67821a5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5
|
Release files / pyman-0.1.3-py2.py3-none-any.whl
| Download URL | pyman-0.1.3-py2.py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
ae3d7de1d110de28dc9dcb26d466bd1362fdc42a8be33f38e37cf35235cda81b
|
|
BLAKE2b-256 checksum How to use checksums |
c9adf53da714988dc39b0fafc0dec013cd54312f53380e26ebe0ee644d7c1a5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5
|
Security for pyman 0.1.3
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.