Skip to main content

RocketMQ Python 客户端

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

rocketmq_holder-1.0.2.tar.gz (44.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rocketmq_holder-1.0.2-py3-none-any.whl (70.3 kB view details)

Uploaded Python 3

File details

Details for the file rocketmq_holder-1.0.2.tar.gz.

File metadata

  • Download URL: rocketmq_holder-1.0.2.tar.gz
  • Upload date:
  • Size: 44.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.1 Linux/5.15.133.1-microsoft-standard-WSL2

File hashes

Hashes for rocketmq_holder-1.0.2.tar.gz
Algorithm Hash digest
SHA256 1312e5ff3b46cd97fd73a33aa077cc2f26e5fd3bd98ebe5dd969785f543f8cce
MD5 fab4f3c028de43bd1cbb5b52a7eccaff
BLAKE2b-256 69587a00fb8aa70e39a76883ae82bb5eb118490877f3691efa0d71bca9bd2d1e

See more details on using hashes here.

File details

Details for the file rocketmq_holder-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: rocketmq_holder-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 70.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.1 Linux/5.15.133.1-microsoft-standard-WSL2

File hashes

Hashes for rocketmq_holder-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1660537e4bb84f390d54c785aaeb74c5c24cf5818f06245f1287a639d1e2ec35
MD5 a21f8ee7770a9ab699bc41ac292405b4
BLAKE2b-256 fc3de8ae6ee471780c8dbd89821dffad75030c2e45f10bec06eb4407b48ed41e

See more details on using hashes here.

Supported by

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