services-registry
A registry to manage services in a Python application.
Description
Registry keeps track of all initialized services and returns corresponding services handlers to caller.
Registry initializes a service if it has not been initialized before being requested.
Registry makes sure that at any point of time, at most one service registry handler exists.
Usage
Services must inherit from the services_registry.services_registry.Service class. For example:
from services_registry.services_registry import Service
class MyService(Service):
pass
Services registry can be used in code in thr following way:
from services_registry.services_registry import services_registry
my_service = services_registry.get_service(MyService)
License
Distributed under the terms of the MIT license.
Metadata
Release files for services-registry 0.0.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 |
|---|---|---|---|---|
| services-registry-0.0.1.tar.gz | 3.2 kB | Without provenance | Details for services-registry-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| services_registry-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for services_registry-0.0.1-py3-none-any.whl |
Total release size: 7.4 kB
Release files / services-registry-0.0.1.tar.gz
| Download URL | services-registry-0.0.1.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
917ff37bc62ac06ff5b8a5bd4c3ffe35da7d538bb6d36078fb56195ec3a69f75
|
|
BLAKE2b-256 checksum How to use checksums |
1dee989b8dc2cdfd3ab103d4153e40b1582ed44a27728679f73ffe0d0d33f5b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.9
|
Release files / services_registry-0.0.1-py3-none-any.whl
| Download URL | services_registry-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
33025dc0c7e868e5536c17239b88cd07db4ae2ca5900fe80b002b6e7b86e8a26
|
|
BLAKE2b-256 checksum How to use checksums |
811d91843ee709d5e421ea4c6c57ffe7003c4cbb4e71bcf461492843f30e6468
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.9
|
Security for services-registry 0.0.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.