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
Todo list
- check dependencies versions
Metadata
Release files for ghoshell-container 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ghoshell_container-0.3.1.tar.gz | 16.9 kB | Without provenance | Details for ghoshell_container-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ghoshell_container-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for ghoshell_container-0.3.1-py3-none-any.whl |
Total release size: 29.9 kB
Release files / ghoshell_container-0.3.1.tar.gz
| Download URL | ghoshell_container-0.3.1.tar.gz |
|---|---|
| Size | 16.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ff2d17374e74867588226814ba197d50b61c7c391277c5005176923434a7e894
|
|
BLAKE2b-256 checksum How to use checksums |
791f8726773470ce686879ddd1dbff3b0df8cdd64a3a5b59a1961e9c5cbc6be7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.3
|
Release files / ghoshell_container-0.3.1-py3-none-any.whl
| Download URL | ghoshell_container-0.3.1-py3-none-any.whl |
|---|---|
| Size | 13.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
baf0d497fcc217e454615c7a3e438bc05c6cfa5167bbc22c1fda90cc5ad1af65
|
|
BLAKE2b-256 checksum How to use checksums |
29941918758a93f79715dc72a573315949a9e9e66c368660c0bff02410a1aea7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.3
|
Security for ghoshell-container 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.