Command is a simple framework for handling command execution within your python application.
Project description
About
Command is a simple framework for handling command execution within your Python application.
Note: This is a Javascript => Python port of https://github.com/known-as-dan/command-npm
Usage
Recreating the common "echo" command using Command & Python:
from command import command
def echo(args):
separator = " "
message = separator.join(args)
print(message)
command.Command("echo", "<message>", "Prints out a message.", echo)
command.init()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 command-known-as-dan-1.2.7.tar.gz.
File metadata
- Download URL: command-known-as-dan-1.2.7.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ff32c44d985b45a64e0a60de98d74f903c63aeaa3ae1d407eafe99b340fb12f
|
|
| MD5 |
8ef51f23ae2575a9d36ec66eaaa12dbb
|
|
| BLAKE2b-256 |
9d676984dc2afc35a3585711a156abed799a94fa919a317f65d730a0d8b70a35
|
File details
Details for the file command_known_as_dan-1.2.7-py3-none-any.whl.
File metadata
- Download URL: command_known_as_dan-1.2.7-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a391588404465ac359522888b9d893a168adf5e0ee9ba6005bccd2ded0e6b7a
|
|
| MD5 |
1a5a23a807ac15b3dbbac364275b32c2
|
|
| BLAKE2b-256 |
05eb9aa93205b2be01aa64ba5aed750210c725c83a123e11c46eecc8892a18c0
|