Skip to main content

No project description provided

Project description

OneStep

内部测试阶段,请勿用于生产。

Brokers

  • MemoryBroker
  • RabbitMQBroker
  • WebHookBroker
  • RedisBroker
  • KafkaBroker

example

from onestep import step, WebHookBroker


# 对外提供一个webhook接口,接收外部的消息
@step(from_broker=WebHookBroker(path="/push"))
def waiting_messages(message):
    print("收到消息:", message)


if __name__ == '__main__':
    step.start(block=True)

更多例子请参阅:examples

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

onestep-0.1.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

onestep-0.1-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file onestep-0.1.tar.gz.

File metadata

  • Download URL: onestep-0.1.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.10 Darwin/22.3.0

File hashes

Hashes for onestep-0.1.tar.gz
Algorithm Hash digest
SHA256 f4573cd5d99c298b5f2925237134af683ebc05824271fd307c093ea491fbb64e
MD5 e213e64bc893702529c1163748387d36
BLAKE2b-256 d1fcfc7726d6e9bf79966fb6abc8440bc59396573e6fea13ff5d4e1555afa686

See more details on using hashes here.

File details

Details for the file onestep-0.1-py3-none-any.whl.

File metadata

  • Download URL: onestep-0.1-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.10 Darwin/22.3.0

File hashes

Hashes for onestep-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ec4623347bff6836cf10b9662a7fb1d8c39262961c630f2c16eedfd8b5319353
MD5 8c966edf7f7ccc5ed2697ad37c6612bf
BLAKE2b-256 d5343ededcb82972ea508e739c8991ea836eba803a1889fe6d84c75841fdd1f5

See more details on using hashes here.

Supported by

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