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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a13e48e9e06134962239cf4f98dd76ab3adaa95cb33e3fac95c72138a4ec75ab |
|
MD5 | ec8061c40a7ff31df84f828d62a24df0 |
|
BLAKE2b-256 | 006f06c127507ef8cecf44425ae5c5d058c2f0819e6003cacf48cadbeb9d8e62 |
Close
Hashes for command_known_as_dan-1.2.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9600fb79925e3cce01c29c284e024a56a404e4200dc3e45b1649ece7bef6d2bb |
|
MD5 | 94dae5f34d33cdf6bd740647d98cbf91 |
|
BLAKE2b-256 | c269d3affa67e8fd5849dd64b99584817840d39dd79d769410d985abb36afa34 |