the ioc container useful for Interface oriented programming
Project description
Ghoshell Container
IoC container for GhostInShells.
IoC Container
GhostInShells follows the concept of interface-oriented programming to build the project.
Most modules are divided into interface and implementation.
Register and get implementations by IoC Container.
About IoC: Inverse of Control
Installation
pip install ghoshell-container
Features
setandget, and type check byfetch,force_fetchalias: set alias for contractbindwith factory function, subclass, instance e.t.c- dict interface
- factory class
Providerregistrar boostrapandshutdown- container bloodline inheritance
make: recursively dependencies injection for classcall: recursively dependencies injection for functionget_containerandset_containerby contextvarsdepends: function decoratorInject: class property injectionDeclaredContainer: auto bindings by property
see them in examples
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ghoshell_container-0.3.0.tar.gz.
File metadata
- Download URL: ghoshell_container-0.3.0.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
afb652970092494c73c37fd4ee6ec555421d7fb276a4dd084a94650aebae255c
|
|
| MD5 |
3cd8607138c0425f1bc0654b66392867
|
|
| BLAKE2b-256 |
b7b2a25c85b480109c9cd104b351c67fba3d5776555a74b25656975d0d4c1972
|
File details
Details for the file ghoshell_container-0.3.0-py3-none-any.whl.
File metadata
- Download URL: ghoshell_container-0.3.0-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59f87728a7d386ce753a9ca0237414943791c4d66acfe7907426a1d10f0f8e8c
|
|
| MD5 |
a17f0a9442aa1c41b82bd8b3198cee52
|
|
| BLAKE2b-256 |
b211a4f85ef839a3f622c262034ac0c12a7c44d32954bc9d8b5803d96dd6817b
|