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.dev1

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.dev1
File Size Uploaded Provenance Actions
ghoshell_container-0.3.0.dev1.tar.gz 16.5 kB Without provenance Details for ghoshell_container-0.3.0.dev1.tar.gz

Built distribution (wheel)

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

Total release size: 29.5 kB

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

Download URL ghoshell_container-0.3.0.dev1.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ee51bd810cc6aa86d30fac1c052561f1d91e3ff6527441cf2712aadff36e4599
BLAKE2b-256 checksum
How to use checksums
ea358f23548ec26c48760824089596e1417901a1fa95327ffa0597ebb0240f28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.3

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

Download URL ghoshell_container-0.3.0.dev1-py3-none-any.whl
Size 13.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6efa52d46c27670a2ce8eb55e7436502c5959f09aeb91742da9f3110e2eb7c09
BLAKE2b-256 checksum
How to use checksums
65d9ab952f6229fc53c5eb9a6fd1fbe7b501de5705a7913eb828f140244f1997
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.3

Security for ghoshell-container 0.3.0.dev1

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