Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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

  • set and get, and type check by fetch, force_fetch
  • alias: set alias for contract
  • bind with factory function, subclass, instance e.t.c
  • dict interface
  • factory class Provider registrar
  • boostrap and shutdown
  • container bloodline inheritance
  • make: recursively dependencies injection for class
  • call: recursively dependencies injection for function
  • get_container and set_container by contextvars
  • depends: function decorator
  • Inject : class property injection
  • DeclaredContainer: auto bindings by property

see them in examples

Metadata

Release files for ghoshell-container 0.3.0.dev0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ghoshell-container 0.3.0.dev0
File Size Uploaded Provenance Actions
ghoshell_container-0.3.0.dev0.tar.gz 15.9 kB Without provenance Details for ghoshell_container-0.3.0.dev0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ghoshell-container 0.3.0.dev0
File Interpreter ABI Platform Actions
ghoshell_container-0.3.0.dev0-py3-none-any.whl Python 3 none any Details for ghoshell_container-0.3.0.dev0-py3-none-any.whl

Total release size: 28.4 kB

Release files / ghoshell_container-0.3.0.dev0.tar.gz

Download URL ghoshell_container-0.3.0.dev0.tar.gz
Size 15.9 kB
Tags Source
SHA-256 checksum
How to use checksums
033ef3103fe93a28e7f516467b8ce67bf1d5870228431c64388936c4c745e492
BLAKE2b-256 checksum
How to use checksums
85e41d4f2a15c7f4aaeb0545739d738fd70a46316c6303ed31935e4eea930586
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.3

Release files / ghoshell_container-0.3.0.dev0-py3-none-any.whl

Download URL ghoshell_container-0.3.0.dev0-py3-none-any.whl
Size 12.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
22878c1e8f54296954d874cbb72dd8770907b787dc05fd794e428d0402b6d09a
BLAKE2b-256 checksum
How to use checksums
2110e67cd52cedae88e17d83ca7d476072733134d1d8f27ff6dc0e89db51c058
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.3

Security for ghoshell-container 0.3.0.dev0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page