easymq
一个基于stomp的简单连接,发送和接收activemq的包
A simple package based on stomp, connection, sending and receiving ActiveMQ
Quick Start
You can use pip install easymq to install easymq
There are two examples, send and receive message from activemq
from easymq.mq import MQ
def receive(headers, body):
print(headers, body)
mq = MQ(
mq_user="root",
password="root1234",
host_and_ports=[
("localhost", 61613),
("localhost", 61613)
],
func=receive,
queue_name="/queue/test_queue",
)
mq.receive()
mq.send("12345")
Metadata
Release files for easymq 2.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| easymq-2.1.0-py3-none-any.whl | Python 3 | none | any | Details for easymq-2.1.0-py3-none-any.whl |
Release files / easymq-2.1.0-py3-none-any.whl
| Download URL | easymq-2.1.0-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
75d72d93ce0bb19fe09729c35d13d7505e210e3c666043fb7108304bb72bb6c2
|
|
BLAKE2b-256 checksum How to use checksums |
2d6abd6525708105ec2eaa92dd52bff1425d0b2442a1445b5536dc9ad0a16d6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.2
|
Security for easymq 2.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.