Worker
Libreria la implementacion de workes basados en kafka y Nats.
Ejemplo
from Workerpy import Manager, Worker, Options
@Manager.Define(
Options(
'DemoWorker', # Nombre del worker
'gitlab_push', # Topico/evento que escucha
['broker:123'] # Kafka/Nats Hosts
)
)
class demo(Worker):
def process(self, data):
print(data)
Los workes solo escuchan, no tienen posibilidad de responder
Metadata
Release files for Workerpy 1.1.0
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 |
|---|---|---|---|---|
| Workerpy-1.1.0.tar.gz | 5.2 kB | Without provenance | Details for Workerpy-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Workerpy-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for Workerpy-1.1.0-py3-none-any.whl |
Total release size: 12.6 kB
Release files / Workerpy-1.1.0.tar.gz
| Download URL | Workerpy-1.1.0.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e2ff97c47de9c9f72b131841672970b302fca6f96ffc9f4af8bb580337e6990f
|
|
BLAKE2b-256 checksum How to use checksums |
d2b836bd6ef0421abd8e734adfec947d65c80e32e7db98c81693f529fea49865
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
|
Release files / Workerpy-1.1.0-py3-none-any.whl
| Download URL | Workerpy-1.1.0-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
13790f67e37fca3c029e5e0bad2134a1231d355c95c8148aec54fe2eac375451
|
|
BLAKE2b-256 checksum How to use checksums |
7a4e7c5f28dabf3659d5d78003ddf43b24e74f266192c0b5b68430dc1111f33a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
|
Security for Workerpy 1.1.0
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.