Skip to main content

The Python Implementation of Apache RocketMQ Client

English | 简体中文 | RocketMQ Website

Overview

Here is the Python implementation of the client for Apache RocketMQ. Different from the remoting-based client, the current implementation is based on separating architecture for computing and storage, which is the more recommended way to access the RocketMQ service.

Here are some preparations you may need to know (or refer to here).

  1. Python 3.7 is the minimum version required, Python 3.10 is the recommended version.
  2. Setup namesrv, broker, and proxy.

Getting Started

We are using Poetry as the dependency management & publishing tool. You can find out more details about Poetry from its website. Here is the related command of Poetry you may use for development.

# Create a virtual environment and activate it.
poetry env use python3
# Installs the project dependencies.
poetry install
# Spawns a shell within the virtual environment.
poetry shell

We use pytest as the testing framework for the current project, and you can execute pytest directly to run all tests.

Publishing Steps

We utilize PyPI to help users easily introduce and use the Python client in their projects. To publish a package to PyPI, please register an account in advance, then execute the following command.

# Builds a package, as a tarball and a wheel by default.
poetry build
# Publishes a package to a remote repository.
poetry publish -u username -p password

Current Progress

  • Protocol layer code generation is completed.
  • Partial completion of rpc_client.py.

Metadata

Release files for rocketmq-yue 0.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 rocketmq-yue 0.1.0
File Size Uploaded Provenance Actions
rocketmq_yue-0.1.0.tar.gz 44.4 kB Without provenance Details for rocketmq_yue-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rocketmq-yue 0.1.0
File Interpreter ABI Platform Actions
rocketmq_yue-0.1.0-py3-none-any.whl Python 3 none any Details for rocketmq_yue-0.1.0-py3-none-any.whl

Total release size: 115.0 kB

Release files / rocketmq_yue-0.1.0.tar.gz

Download URL rocketmq_yue-0.1.0.tar.gz
Size 44.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d5dfe0721746a3559c1881981a28e3ceda73827cb78dc6398cdebad071298fe9
BLAKE2b-256 checksum
How to use checksums
20362ba029863326f1f1986ea77b09a8123848a76aa59c4fd12238be53db068d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.8.18 Windows/10

Release files / rocketmq_yue-0.1.0-py3-none-any.whl

Download URL rocketmq_yue-0.1.0-py3-none-any.whl
Size 70.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
210af1afd46858079f7a1fe3a8ad748adf8412f29b28de66d18b5461ee063acb
BLAKE2b-256 checksum
How to use checksums
16d20fa24a7c009be9af50bd1e48f69b41342af1d705ed7239e9a733dd74856c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.8.18 Windows/10

Security for rocketmq-yue 0.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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files 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