py-rodo aka py-rabbit-opensuse-org
This is a small helper library to process messages emitted to rabbit.opensuse.org by the Open Build Service.
Usage
The main entry point for this library is the QueueProcessor class, which listens to the message bus, processes messages and invokes user defined callbacks depending on the message routing keys.
The message callback functions receive a child class of ObsMessageBusPayloadBase as the single argument and should return nothing. The specific subtype of ObsMessageBusPayloadBase can be infered from the dictionary QUEUE_TO_PAYLOAD_TYPE which maps the routing keys to specific payload types.
To only process package commit messages, create the following callback:
def commit_to_my_package(payload: PackageCommitPayload) -> None:
# process the payload here
callbacks = {RoutingKey.PACKAGE_COMMIT: commit_to_my_package}
qp = QueueProcessor(callbacks=callbacks)
qp.listen_forever()
Metadata
Release files for py-rodo 0.0.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 |
|---|---|---|---|---|
| py_rodo-0.0.1.tar.gz | 7.4 kB | Without provenance | Details for py_rodo-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| py_rodo-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for py_rodo-0.0.1-py3-none-any.whl |
Total release size: 15.5 kB
Release files / py_rodo-0.0.1.tar.gz
| Download URL | py_rodo-0.0.1.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
95f1264f223df48cce8deec6e7ec6b599aa1aec4c8845090b685d3ba7b97c04e
|
|
BLAKE2b-256 checksum How to use checksums |
060bbce65f28512feb6acfc51711019b3a79959f0be4b3452d06675953ca7031
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / py_rodo-0.0.1-py3-none-any.whl
| Download URL | py_rodo-0.0.1-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ec48877eba03e3cad4653d1e2f1f1873d8d2f3542563cc475c7ed3daed150fc3
|
|
BLAKE2b-256 checksum How to use checksums |
b6b3f262c70e7e1688edf8860022cf82109a5352797771caf24e003b226ee144
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Security for py-rodo 0.0.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.