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
Close
Hashes for command@known-as-dan-1.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5add9b935954e375a60a84aea0554c5f43a678b300a3beadf8329b7ed9c594c |
|
MD5 | 01a15c6814483477b0d8026ea8cafb38 |
|
BLAKE2b-256 | b0d54f5fcef5b51b2b7f7bcf12bd24486e1e46b6f269b61b8b6450bfa7b8f9b1 |
Close
Hashes for command_known_as_dan-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f55ec7f89b7e7e4c5e1f3f030e513c69f0d88b5bb257038bae680b5434f82c76 |
|
MD5 | 1ca9b4d345a00a35eac70e19a6ea8315 |
|
BLAKE2b-256 | 32e07064e44c8ad2aab95b53fe8809a503ab99fc01268b7f26f366905abb4b48 |