Python Taurus Queue Publisher
Python library using LUA script to send for redis a job for Taurus queue
Installation
Release 1.0.2 Requires Python 3.6.9
The recommended way to install is through Pip.
pip3 install taurus-publisher
Usage
Publishing
from taurus_publisher.publisher import Publisher
import asyncio
async def test_publish():
publisher = Publisher()
data = '{"python":1}'
job_id = await publisher.add_job(
queue="python",
data=data,
opts={},
name="process"
)
print(f"Job added with ID: {job_id}")
if __name__ == "__main__":
loop = asyncio.get_event_loop()
loop.run_until_complete(test_publish())
loop.close()
Development
Want to contribute? Great!
The project using a simple code. Make a change in your file and be careful with your updates! Any new code will only be accepted with all validations.
Not Empty Foundation - Free codes, full minds
Metadata
Release files for taurus-publisher 1.0.2
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 |
|---|---|---|---|---|
| taurus_publisher-1.0.2.tar.gz | 15.9 kB | Without provenance | Details for taurus_publisher-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| taurus_publisher-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for taurus_publisher-1.0.2-py3-none-any.whl |
Total release size: 32.4 kB
Release files / taurus_publisher-1.0.2.tar.gz
| Download URL | taurus_publisher-1.0.2.tar.gz |
|---|---|
| Size | 15.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
309ea2faa9043f0b65d57d06c9b090f699b694c83c4a0d408414580fbd0f3ad1
|
|
BLAKE2b-256 checksum How to use checksums |
797e099e1ee02bcdeacd41dd9a42065aee9c82fd8aa2dff4e803fcd19a5c5ebd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.18 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.9
|
Release files / taurus_publisher-1.0.2-py3-none-any.whl
| Download URL | taurus_publisher-1.0.2-py3-none-any.whl |
|---|---|
| Size | 16.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
79866b85d4296622973712192b173e035ae5cd249be2c8d5018058c18fe8ca90
|
|
BLAKE2b-256 checksum How to use checksums |
b3f6b7fe5af9116ec920048fb4f48d0c91e8f026b0a0a0ff766aa76ee206ab5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.18 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.9
|
Security for taurus-publisher 1.0.2
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.