Skip to main content

RocketMQ Python Client

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dpyrocketmq-0.1.10.tar.gz (44.7 kB view details)

Uploaded Source

Built Distribution

dpyrocketmq-0.1.10-py3-none-any.whl (70.7 kB view details)

Uploaded Python 3

File details

Details for the file dpyrocketmq-0.1.10.tar.gz.

File metadata

  • Download URL: dpyrocketmq-0.1.10.tar.gz
  • Upload date:
  • Size: 44.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.8.18 Windows/10

File hashes

Hashes for dpyrocketmq-0.1.10.tar.gz
Algorithm Hash digest
SHA256 fafc0234d70bd4161501b4e76c5a31e201ded108da5b71607999185b3c09d5d0
MD5 44385c7056dfe0d574bdd2619b7ccf81
BLAKE2b-256 9ef1dde13054d1549def4c795144788d29b69263b9176b455c9c9c771b6d8354

See more details on using hashes here.

File details

Details for the file dpyrocketmq-0.1.10-py3-none-any.whl.

File metadata

  • Download URL: dpyrocketmq-0.1.10-py3-none-any.whl
  • Upload date:
  • Size: 70.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.8.18 Windows/10

File hashes

Hashes for dpyrocketmq-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 1bd7b865498110a5eafa80ccb6978ced49008f9a081467442fd3ee8c1eb8e28e
MD5 4ecf1c7a82d54baaf62b47b464a53a62
BLAKE2b-256 ca5d3f38c3d6de34b3cfcecb2e1cf33607944c18f3251502d223867ddc561c99

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page