This release is a pre-release and may not be stable for production use.
PyProtobufBot
如何使用
首先,运行 pip install --upgrade pypbbot 以安装本项目或更新至最新版本。
普通用户
在工作目录内(一般是plugins文件夹所在的目录)执行pypbbot即可启动插件服务器。
使用方法: pypbbot [选项]
选项列表:
--host TEXT 服务器地址 [默认值: localhost]
--port INTEGER 服务器端口 [默认值: 8080]
--plugin_path TEXT 插件文件夹 [默认值: plugins]
--reload / --no-reload 是否启用热重载(插件更新时立刻重启服务,建议仅调试时启用) [默认值: no-reload]
插件开发者
类驱动模式
如果仅需要编写一些简单的逻辑,可直接导入该库,按照文档内容编写机器人程序后直接运行即可。
样例程序源代码: simple_class_driver.py
(可在项目根目录下使用 python -m pypbbot_examples.simple_class_driver 执行)
插件驱动模式
插件开发时建议启动热重载。其余选项同普通用户,见上。
pypbbot --reload
里程碑
- 类驱动器
- 测试组件
- 插件化
- 事务处理
- 命令行工具:服务启动
- 命令行工具:插件安装
Metadata
Release files for pypbbot 0.4a8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pypbbot-0.4a8.tar.gz | 3.6 kB | Without provenance | Details for pypbbot-0.4a8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pypbbot-0.4a8-py3-none-any.whl | Python 3 | none | any | Details for pypbbot-0.4a8-py3-none-any.whl |
Total release size: 7.1 kB
Release files / pypbbot-0.4a8.tar.gz
| Download URL | pypbbot-0.4a8.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c14ce7f6831d41bc232cff8ca784dd54895033ed69788cb985de54a08cbd89e
|
|
BLAKE2b-256 checksum How to use checksums |
751c57b98e28a180e189e9f6854733ad47b82adf06fdcb27ef86db4102aa6480
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
|
Release files / pypbbot-0.4a8-py3-none-any.whl
| Download URL | pypbbot-0.4a8-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ccdd64cbc1d63cec1a5f9e7ac55b4807c9548938339ade3bf2fb63e4bbe03672
|
|
BLAKE2b-256 checksum How to use checksums |
11e75d317d043e9bb3384c6e722dfbec28e48eb513270fd053382cddb63b1d6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
|
Security for pypbbot 0.4a8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.