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 details)
Built Distribution
File details
Details for the file logos_cdi-0.3.2.tar.gz
.
File metadata
- Download URL: logos_cdi-0.3.2.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a61fd1cdc5087199afd062f02e57d6157619619ba9147ba52d4bcc84cb178ae |
|
MD5 | 48913dd1d77730ae183d8fe4629c23d3 |
|
BLAKE2b-256 | d41856ea13ec950a312cb1de4f881e6f8eb9f3c06ce33a4e1d98f51584d2db08 |
File details
Details for the file logos_cdi-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: logos_cdi-0.3.2-py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f3c8d2f871585dd4ea28096cd5ca08633ffec3f500df7ee5bd97731b6976553 |
|
MD5 | 465f005409a06db94550f306b8344bd7 |
|
BLAKE2b-256 | 7b881e8f4ae1ed22e12146dede49fc9c731377d7f66a87d5856e8c5d3db38949 |