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.2.1.tar.gz
(6.7 kB
view details)
Built Distribution
File details
Details for the file logos_cdi-0.2.1.tar.gz
.
File metadata
- Download URL: logos_cdi-0.2.1.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64eb9113a87fd97536023e3fb4e878e3e822926633a10a58ec29257989cb2f0d |
|
MD5 | 1d20c6f37bd0f99d4aa2b338ae683206 |
|
BLAKE2b-256 | 972aabbdacc7a37d387e138be84331418b43aadd1f7905cc8786fd73481da7b0 |
File details
Details for the file logos_cdi-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: logos_cdi-0.2.1-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9877d348fd532e37bb0877ad2379358ca0fb033bb213c60f267467e48a567c8a |
|
MD5 | 09ab70d6972a96666fdd791271f2c181 |
|
BLAKE2b-256 | 4d6c5624fba1833d7bf48dd1dd79df9477701b7543fbe3c550139eea0d1331bc |