HitchCelery
HitchCelery is a plugin for the Hitch test framework that lets you run and interact with Celery as part of a test.
Use with Hitch
Install like so:
$ hitch install hitchcelery
# Service definition in engine's setUp:
self.services['Celery'] = hitchcelery.CeleryService(
version="3.1.17", # Mandatory
python="{}/venv/bin/python".format(PROJECT_DIRECTORY), # Mandatory
app="remindme", # Mandatory
beat=False, # Optional (default: False)
concurrency=2, # Optional (default: 2)
loglevel="INFO", # Optional (default: INFO)
broker=None, # Optional (default: None)
needs=[ self.services['Redis'], ] # Optional (default: no prerequisites)
)
# Interact during the test:
self.services['Celery'].help().run()
[ Prints output ]
self.services['Celery'].status().run()
[ Prints status output ]
self.services['Celery'].control(*args).run()
[ Prints output ]
self.services['Celery'].inspect(*args).run()
[ Prints output ]
See this service in action at the DjangoRemindMe project.
Metadata
Release files for hitchcelery 0.2.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 |
|---|---|---|---|---|
| hitchcelery-0.2.1.tar.gz | 3.0 kB | Without provenance | Details for hitchcelery-0.2.1.tar.gz |
Release files / hitchcelery-0.2.1.tar.gz
| Download URL | hitchcelery-0.2.1.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ec472f354137893fc1b247c23f545ec74ccee3bbf42b7de0033f6444bb797a22
|
|
BLAKE2b-256 checksum How to use checksums |
2a3860173dc7ce8798f599d4ea48012fc72baf67696a909e81188ce5371735f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for hitchcelery 0.2.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.