Skip to main content

VcdExtMessageWorker

VcdExtMessageWorker provides a way to handle, relay and answer to RabbitMQ messages produced from the VMware vCloud Director extensibility SDK (both for UI and API extension)

#!/usr/bin/env python

from vcdextmessageworker import MessageWorker, Connection
with Connection(
    (f"amqp://{RABBIT_USER}:{RABBIT_PASSWORD}@{RABBIT_HOST}:5672/%2F"),
    heartbeat=4
) as conn:
    worker = MessageWorker(
        conn,
        exchange=RABBIT_EXCHANGE,
        queue=RABBIT_QUEUE,
        routing_key=RABBIT_ROUTINGKEY,
        sub_worker="worker_example.SampleWorker",
        thread_support=True
    )
    worker.run()

Installation

Get binaries (as .whl file), then run pip install as:

pip install VcdExtMessageWorker-<version>-py3-none-any.whl

Or from PIP:

pip install VcdExtMessageWorker

Build and tests

python setup.py bdist_wheel && python -m pip install dist/VcdExtMessageWorker-<version>-py3-none-any.whl --force-reinstall

Metadata

Release files for VcdExtMessageWorker 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

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

Release files / VcdExtMessageWorker-0.3-py3-none-any.whl

Download URL VcdExtMessageWorker-0.3-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
55afc09022160f51004b253ad937b97303b82d17a500daf4715a9d752e5280ea
BLAKE2b-256 checksum
How to use checksums
7a59455e349196277dd28fc859f441ff392ced66479a3de46e5f4b4a49911a6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.1

Security for VcdExtMessageWorker 0.3

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.

Release history Release notifications | RSS feed

This release

0.3 This release

1 release file No provenance

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