【文件属性】:
文件名称:clu:使用asyncio的基本演员
文件大小:380KB
文件格式:ZIP
更新时间:2021-03-27 11:06:40
Python
为SDSS actor实施了新协议,同时提供了对传统风格actor的支持。
特征
基于异步API。
基于和具有消息传递功能的新型actor。
通过进行TCP套接字通信的旧式actor。
设备处理工具。
消息是经过验证的JSON字符串。
启用命令解析器。
安装
可以使用pip安装CLU
pip install sdss-clu
或从来源
git clone https://github.com/sdss/clu
cd clu
pip install .
发展
clu使用进行依赖性管理和打包。 要进行可编辑的安装,建议您通过以下操作在虚拟环境中安装poetry并安装clu :
poetry install
Pip目前尚不支持PEP-517的可编辑安装。 这意味着运行pip install -e . 将因为poetry不使用setup.py文件而失败。 解决方法是,可以使用cr
【文件预览】:
clu-main
----readthedocs.yml(151B)
----README.rst(5KB)
----codecov.yml(517B)
----pyrightconfig.json(140B)
----.flake8(245B)
----.github()
--------workflows()
----poetry.lock(86KB)
----CHANGELOG.rst(11KB)
----etc()
--------config.ini(146B)
--------clu.module(2KB)
----LICENSE.md(1KB)
----create_setup.py(2KB)
----docs()
--------sphinx()
----tests()
--------test_client.py(4KB)
--------test_device.py(2KB)
--------test_parser.py(5KB)
--------test_actor_json.py(4KB)
--------test_model.py(2KB)
--------__init__.py(0B)
--------test_tools.py(8KB)
--------test_testing.py(3KB)
--------test_command.py(3KB)
--------conftest.py(2KB)
--------test_amqp.py(7KB)
--------test_protocol.py(2KB)
--------data()
--------test_exceptions.py(476B)
--------legacy()
----.gitignore(1KB)
----CODEOWNERS(1KB)
----python()
--------clu()
----pyproject.toml(3KB)