Skip to main content

No project description provided

Project description

Another simple ioc framework for python.

Usage

from anyioc import ServiceProvider
provider = ServiceProvider()
provider.register_singleton('the key', lambda x: 102) # x will be scoped ServiceProvider
value = provider.get('the key')
assert value == 102

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

anyioc-0.2.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

anyioc-0.2.1-py3.7.egg (3.8 kB view details)

Uploaded Source

File details

Details for the file anyioc-0.2.1.tar.gz.

File metadata

  • Download URL: anyioc-0.2.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for anyioc-0.2.1.tar.gz
Algorithm Hash digest
SHA256 79ee32ded54df31bb0265ad9f3d49405b60fe98e1aa17eac369b73acbbc48c0d
MD5 784d4c2f8d8a03aa6da40ab748b2007d
BLAKE2b-256 b75c856393c9611f0c1790908cd15384c97900a5f13f10feb8c9f110a0a8b6eb

See more details on using hashes here.

File details

Details for the file anyioc-0.2.1-py3.7.egg.

File metadata

  • Download URL: anyioc-0.2.1-py3.7.egg
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for anyioc-0.2.1-py3.7.egg
Algorithm Hash digest
SHA256 c7bf17b812560701b50778f431a2f8801151ccc6579b9a64e3f66c486e5227f6
MD5 033dc1312ec21c68da29278d205c6615
BLAKE2b-256 d62d24fe4dd464e8e33152594a536d808f09a4985fc553e7e6280e7b5dc99b58

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page