Parsegument is a python package for creating CLIs and adding text-based function execution for other applications!.
Project description
Parsegument
Parsegument is a python package for creating CLIs and adding text-based function execution for other applications!.
Read The Docs: https://ryanstudio.dev/docs/parsegument
Installation
pip install parsegument
Quick Start
import parsegument as pg
parser = pg.Parsegumenter() # Create Parsegumenter
group1 = pg.CommandGroup("group1") # Define a Group
parser.add_child(group1) # Add the Group to the main Parsegumenter
@group1.command() # Add decorator to create command
def foo(bar:str):
print(bar)
parser.execute("group1 foo bar_string") # Execute string
>>> bar_string
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
parsegument-0.3.1.tar.gz
(8.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file parsegument-0.3.1.tar.gz.
File metadata
- Download URL: parsegument-0.3.1.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b348243ae52319775604b4ea8bc1988cb2907a5ee307e7e86d75aa1d3fd2bd3
|
|
| MD5 |
961508b41c09ad83a3d85421cda65df2
|
|
| BLAKE2b-256 |
e330bbb127e9eb874aaca9e78f7f95429e3e383ddb23ec3c2431647dae166b14
|
File details
Details for the file parsegument-0.3.1-py3-none-any.whl.
File metadata
- Download URL: parsegument-0.3.1-py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3a762c5b6bea3eec961bdd787d2243d378c67e04781bcff3614be9693144967
|
|
| MD5 |
c3980f436f3b8c789239251681b55a20
|
|
| BLAKE2b-256 |
f925c91d4dc70b0ce3b1755b1d161114637221fc327edadde06bd849130241e4
|