pyrabbitmq
Scenarios
The library is not proposed with same functions as 'pika'. It helps to initialize a rabbitmq instance via its native API in following cases:
- Many rabbitmq instances to be kicked via scripts but not its management UI, or
- For some reason you need reset rabbitmq instances more often.
Good Luck.
Usage
from pyrabbitmq import connection
# rmq = connection.Instance(
# rabbitmq_host="127.0.0.1",
# rabbitmq_port="5673",
# rabbitmq_admin_user="guest",
# rabbitmq_admin_password="guest",
# rabbitmq_tls_enabled=False
# )
# It reads the rabbitmq os $env values.
# If no $env variables find, default values used..
rmq = connection.Instance()
# Virtual Hosts
v = rmq.VirtualHost
v.create('a-vhost-name')
v.delete('a-vhost-name')
# Users
u = rmq.User
u.create('test-user','test-user-password')
u.delete('test-user')
# Queues
q = rmq.Queue
q.create(vhost='vhost01', queue='queue01')
q.delete(vhost='vhost01', queue='queue01')
# Bindings
b = rmq.Binding
b.create(vhost='vhost01',exchange='exchange01', queue='queue01')
b.delete(vhost='vhost01',exchange='exchange01',queue='queue01',routing_key='routing_key-queue01')
Metadata
Release files for pyrabbitmq 0.0.5
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 |
|---|---|---|---|---|
| pyrabbitmq-0.0.5.tar.gz | 2.8 kB | Without provenance | Details for pyrabbitmq-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyrabbitmq-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for pyrabbitmq-0.0.5-py3-none-any.whl |
Total release size: 5.9 kB
Release files / pyrabbitmq-0.0.5.tar.gz
| Download URL | pyrabbitmq-0.0.5.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
87ddc0ef02250359c21684acbe6e164fc3baa4c2c0aa6cac6de8184ac31b083d
|
|
BLAKE2b-256 checksum How to use checksums |
7692615c848b93d76548f2c3ad59e2f42f7452f3e8c04fc99f1edd3e50ec1ee8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / pyrabbitmq-0.0.5-py3-none-any.whl
| Download URL | pyrabbitmq-0.0.5-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6d9b146c22860abf6b59926aaa5c04ecef1a81d00880eea5b7124402175f5560
|
|
BLAKE2b-256 checksum How to use checksums |
105ecbd0e1aac480048dd79915c66762020fb73353cb1748a46d87ee32bca500
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Security for pyrabbitmq 0.0.5
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.