Simple, opinionated library for building Cog commands in Python3.
pycog3 combines information available in the Cog runtime environment with assumptions about Python project structure to simplify command development.
pycog3 includes a driver executable, bin/cog-command, which dynamically
imports, instantiates, and runs Python command code based on the
cog-command's magic requires that Python projects follow a strict
<bundle_name> | |-- <bundle_name> |-- __init__.py |-- commands | |-- __init__.py |-- <command1>.py |-- <command2>.py
See the cog-bundles/statuspage repository for an example of this library in action.
Add this line to your application's setup.py or requirements.txt: