PyCommander Command Line Tool for Python modules, classes and functions.
Do you have a application class or a function and do you want to execute them by command line? Here is your solution: pycommander.
> easy_install pycommander
Add a section called pycommander.command to your entry points in your setup.py file. Then put your command names pointing to a python class or function, and that it’s. For example:
[pycommander.command] command_class=module.submodule:ExampleClass command_function=module.submodule:function
Install your application:
> python setup.py [develop | install]
Now, you can execute pycom in your command line and see:
> pycom ERROR: Please, enter a command name Usage: pycom COMMAND [command_options] Options: -h, --help show this help message and exit Registered Commands: help Show this help message command_class command_function <------------ This are your commands
Autocomplete for subccomands and options.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
No source distribution files available for this release. See tutorial on generating distribution archives.
pycommander-0.9rc1dev.win32.exe (76.8 kB view hashes)