RoShareService
介绍
- RoShareService是一个数据服务包,主要功能是为底层数据向外提供了一个接口服务,可实现用户权限验证和流量限制。roShareService采用Client-Server架构设计,服务端使用HTTP协议构建数据服务的OpenAPI,暂时采用GET-method;用户权限采用token机制。
安装
roShareService采用Python开发,得益于Python良好的社区环境,安装支持Pythonic风格的各种管理器。
$ pip install roshareservice-0.1.1-xxxxxxxxxxxx.whl
快速指南
服务端使用
- 对于服务端数据服务启动,首先使用roShareService命令行进行元数据库初始化,然后再启动服务端服务。以下是roshareservicectl命令行示例:
$ roshareservicectl set-metadb
$ roshareservicectl start-service
设计
- 采用Client-Server架构设计
- 服务端使用HTTP协议构建数据服务的OpenAPI
- 用户权限采用token机制
- 用户流量限制
技术列表
- 微服务-FastAPI
- 加密验证-Token-JWT技术
- 数据库-SQLite3
设计UML图
以下是设计的UML图:
Metadata
Release files for shihua-roshareservice 0.1.1
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 |
|---|---|---|---|---|
| shihua-roshareservice-0.1.1.tar.gz | 13.9 kB | Without provenance | Details for shihua-roshareservice-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| shihua_roshareservice-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for shihua_roshareservice-0.1.1-py3-none-any.whl |
Total release size: 33.7 kB
Security for shihua-roshareservice 0.1.1
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.