Skip to main content

PyURT Pro – расширенный протокол

Добавляет кластеризацию, очереди сообщений, RPC и JWT-аутентификацию.

Установка

pip install pyurt-pro
## Запуск
# УСТАНОВИТЕ И ЗАПУСТИТЕ redis
pyurt-pro -c config.yaml # Запуск 


## В коде 
from pyurt_pro import ClusterNode, RedisBroker, RPCServer, rpc_method

# Кластер
node = ClusterNode()
node.start()

# Очереди
broker = RedisBroker()
broker.publish("chat", "Hello, world!")

# RPC
@rpc_method("add")
def add(a, b):
    return a + b

## Для запуска

Download files

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

Source Distribution

pyurt_pro-3.1.1.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

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

pyurt_pro-3.1.1-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file pyurt_pro-3.1.1.tar.gz.

File metadata

  • Download URL: pyurt_pro-3.1.1.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.14

File hashes

Hashes for pyurt_pro-3.1.1.tar.gz
Algorithm Hash digest
SHA256 4c31c25fe563b65f4ed2580a111bc9e432f64a6967994cc4c7c7c31cef959048
MD5 d0129bd87c162b460f6e6881c27d3053
BLAKE2b-256 f1f16b54a58eb8d1a23b564387b4ffff1d29d7e428619922336b8184285750ff

See more details on using hashes here.

File details

Details for the file pyurt_pro-3.1.1-py3-none-any.whl.

File metadata

  • Download URL: pyurt_pro-3.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.14

File hashes

Hashes for pyurt_pro-3.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3c397703ce88d573271a01af6c1924100837b4d704c9dc5c6fcf7b76885edfba
MD5 7db20f9815ecf8504f8c12e278940206
BLAKE2b-256 bb29867f26344322a94455bf5db2e757f771ead8c7fccad7a32f6eb9fc903347

See more details on using hashes here.

Release history Release notifications | RSS feed

3.1.2

2 files

This release

3.1.1 This release

2 files

Supported by

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