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

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

Built distribution (wheel)

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

Total release size: 29.9 kB

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

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

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

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

Security for ghoshell-container 0.3.0.dev2

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