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.0.3.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

onestep-0.0.3-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: onestep-0.0.3.tar.gz
  • Upload date:
  • Size: 9.1 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.0.3.tar.gz
Algorithm Hash digest
SHA256 bdce9ad99a1dcf1624a349930a0c1ee1d4c60d08faea917068383c41e94c5b4c
MD5 770421e75285eba93402da0c4508b6d4
BLAKE2b-256 6c2f2824efa745fa572ddbacc68495df34c7932e455ee58a325921a3170105f8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: onestep-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 12.7 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.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6e747d05104e66f295fc309a19c935dfae118489b88de4b151730eb91ae2cfca
MD5 2f822b538c8185fd3ee29efd49a52c87
BLAKE2b-256 ea2e21e43736c12d990481e798b888f6845a9f142dafd5720a5dec770da51f18

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