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.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef8d710ccc87f1791d0d4b24291c179b378119cdb040d55c99006d2512036332 |
|
MD5 | 624af88eb615e46e6770d63d8bc2b38e |
|
BLAKE2b-256 | b4db69ea1cc7c4389cb82d25cc2c6b7b7b12047ecf5e3f128e3e44249a9ea816 |
Close
Hashes for command_known_as_dan-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e55a5d418a591c92e72c05914e15bcb9fe3c268222fb4fa3589f41967b3f9c0c |
|
MD5 | be0e2def1bf0bc39a5f776d952cf9283 |
|
BLAKE2b-256 | b6639f6b18191fa14d74e4de089f8162380fddb841c3767003106fd44e1ada88 |