rele:易于使用的Google PubSub

时间:2021-05-06 14:38:15
【文件属性】:
文件名称:rele:易于使用的Google PubSub
文件大小:126KB
文件格式:ZIP
更新时间:2021-05-06 14:38:15
python google-cloud pubsub event-driven hacktoberfest Relé使与Google PubSub的集成变得简单而轻松。 动机和特点 ,尤其是Google Cloud 是非常强大的工具,但是您可以轻松地对其进行操作。 Relé通过为Publisher,Subscriber和Worker类提供以下功能,实现了无缝集成: 强大的发布API 高度可扩展的工人 直观的订阅管理 易于扩展的中间件 准备好进行Django / Flask集成 命令行界面 以及更多! 看起来像什么 # Publish to the topic import rele rele . publish ( topic = 'photo-uploaded' , data = { 'customer_id' : 123 }) # Subscribe to the Pub/Sub topic from rele import sub @ sub ( topic = 'photo-uplo
【文件预览】:
rele-master
----setup.py(2KB)
----.gitignore(176B)
----Dockerfile(244B)
----.codecov.yml(13B)
----Makefile(2KB)
----.readthedocs.yml(470B)
----pyproject.toml(76B)
----rele()
--------worker.py(5KB)
--------__init__.py(288B)
--------subscription.py(7KB)
--------middleware.py(3KB)
--------contrib()
--------client.py(7KB)
--------discover.py(2KB)
--------config.py(4KB)
--------apps.py(199B)
--------__main__.py(1KB)
--------publishing.py(1KB)
--------management()
----.travis.yml(419B)
----AUTHORS.md(474B)
----CONTRIBUTING.md(1KB)
----CODE_OF_CONDUCT.md(3KB)
----LICENSE(11KB)
----setup.cfg(367B)
----.github()
--------CODEOWNERS(48B)
--------pull_request_template.md(193B)
----README.md(3KB)
----tests()
--------conftest.py(2KB)
--------test_middleware.py(1012B)
--------test_discover.py(835B)
--------test_subscription.py(12KB)
--------test_worker.py(4KB)
--------__init__.py(0B)
--------test_config.py(5KB)
--------subs.py(491B)
--------test_publishing.py(2KB)
--------more_subs()
--------dummy-pub-sub-credentials.json(1KB)
--------commands()
--------test_client.py(7KB)
--------settings.py(1KB)
----runtests.py(1KB)
----requirements()
--------deploy.txt(6B)
--------base.txt(2B)
--------test.txt(101B)
--------django.txt(16B)
--------docs.txt(7B)
----CHANGELOG.rst(4KB)
----docs()
--------_templates()
--------Makefile(634B)
--------index.rst(3KB)
--------conf.py(3KB)
--------_static()
--------make.bat(795B)
--------changelog.rst(30B)
--------settings.rst(4KB)
--------reference.rst(925B)
--------guides()
----.editorconfig(231B)

网友评论