Skip to main content

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)

Source distribution for Workerpy 1.1.0
File Size Uploaded
Workerpy-1.1.0.tar.gz 5.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Workerpy 1.1.0
File Interpreter ABI Platform
Workerpy-1.1.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.6

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page