A Celery integration for SVCS
Project description
celery-svcs: A Celery integration for SVCS
Very unrefined!
Usage
Initialization
import celery
import svcs
import celery_svcs
# Have a Celery app
celery_app = celery.Celery()
# Have a svcs Registry
registry = svcs.Registry()
# Initialize svcs with the Celery app, with an existing registry
celery_svcs.init(celery_app, registry=registry)
Service Acquisition
import celery_svcs
@celery_app.task:
def a_celery_task():
svcs = celery_svcs.svcs_from()
db, api, cache = svcs.get(Database, WebAPIClient, Cache)
...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file celery_svcs-25.10.0.tar.gz.
File metadata
- Download URL: celery_svcs-25.10.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b6a8723d42a7fd37a90cb33c4a80c1ce7bfcf8086563ed22a24f7373bbb7572
|
|
| MD5 |
74d243388b35b161579ec6bd97ce7ecc
|
|
| BLAKE2b-256 |
ed650af4019d2135e0c37263fca47f4bb27b4f4092059e5f5df2e06ae2bda4ef
|
Provenance
The following attestation bundles were made for celery_svcs-25.10.0.tar.gz:
Publisher:
publish-package.yaml on atbigelow/celery-svcs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
celery_svcs-25.10.0.tar.gz -
Subject digest:
1b6a8723d42a7fd37a90cb33c4a80c1ce7bfcf8086563ed22a24f7373bbb7572 - Sigstore transparency entry: 640796816
- Sigstore integration time:
-
Permalink:
atbigelow/celery-svcs@e832cfc66c871fce326134ad54c8316efdc56903 -
Branch / Tag:
refs/tags/v25.10.0 - Owner: https://github.com/atbigelow
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-package.yaml@e832cfc66c871fce326134ad54c8316efdc56903 -
Trigger Event:
release
-
Statement type:
File details
Details for the file celery_svcs-25.10.0-py3-none-any.whl.
File metadata
- Download URL: celery_svcs-25.10.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
626f4707d4c03f8132969d4e92ef85313914cb0d0b444af50d98d41b3fd57fa7
|
|
| MD5 |
584535f3edaa43326f75ec98afbaf8f5
|
|
| BLAKE2b-256 |
120ef9a3c5fc16e876b4e6691a3a41b6a93578eea6232442a274e7fae53c6fa9
|
Provenance
The following attestation bundles were made for celery_svcs-25.10.0-py3-none-any.whl:
Publisher:
publish-package.yaml on atbigelow/celery-svcs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
celery_svcs-25.10.0-py3-none-any.whl -
Subject digest:
626f4707d4c03f8132969d4e92ef85313914cb0d0b444af50d98d41b3fd57fa7 - Sigstore transparency entry: 640796844
- Sigstore integration time:
-
Permalink:
atbigelow/celery-svcs@e832cfc66c871fce326134ad54c8316efdc56903 -
Branch / Tag:
refs/tags/v25.10.0 - Owner: https://github.com/atbigelow
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-package.yaml@e832cfc66c871fce326134ad54c8316efdc56903 -
Trigger Event:
release
-
Statement type: