No project description provided
Project description
Simple and powerful python container dependency injection module
installation
> poetry add logos_cdi
usage
create main.py
file and create logos_cdi.application:Application
instance with a modules for usage.
from logos_cdi.application import Application
app = Application([
'logos_cdi',
'logos_cdi.command'
])
in your terminal with venv actived type logos -h
command and press enter.
> logos -h
usage: logos [-h] {} ...
options:
-h, --help show this help message and exit
command:
{} command to execute
this is your app's command manager all your commands you can see here
PS. your commands are loaded from the modules used in the application, you can implement them, see ./logos_cdi/command.py
file to understand how to create a module.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
logos_cdi-0.3.2.tar.gz
(6.9 kB
view hashes)
Built Distribution
Close
Hashes for logos_cdi-0.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f3c8d2f871585dd4ea28096cd5ca08633ffec3f500df7ee5bd97731b6976553 |
|
MD5 | 465f005409a06db94550f306b8344bd7 |
|
BLAKE2b-256 | 7b881e8f4ae1ed22e12146dede49fc9c731377d7f66a87d5856e8c5d3db38949 |