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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | da17d5084c5f2cbc618b8ce5c5d8232bbe70c96f44c2c95010f429c723e06d26 |
|
MD5 | c8e980494aec0a136788f3480765e21d |
|
BLAKE2b-256 | 80cbd087a367abb30dcf8cf9212b7f866d2f0ccf4e694e9243cfab6e21761c46 |
Close
Hashes for command_known_as_dan-1.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef9e14ed3ad275dce4494059e05d005639aaf17f4b100571c658bbaf144a5c08 |
|
MD5 | 27d955e4e278b2c977273eefff5af873 |
|
BLAKE2b-256 | 60a67ec36107611c54374d28f918df3a9fafa02a61b6bdf19acb645a25e88234 |