This project has been archived by its maintainers, and is no longer receiving any updates.
Phigros-Cloud-Server
基于 FastAPI 实现的 Phigros 云存档服务端。测试阶段,不代表生产可用。
食用方法(使用)
- 安装
pip install phi-cloud-server
- 启动
phi_cloud_server
- 想办法替换
Phigros客户端里的云存档服务器地址,本项目不提供教程。
配置
配置路径均在软件输出,暂不提供更换配置路径。
TODO
已知问题:
- 修复第一次上传获取的存档为空
毕竟给我折腾了2天写在这里也合理吧 - 必须新建存档2次后才能正常上传存档(不影响正常客户端,会丢失第一次云存档,后续不会丢失)(纯内存数据库没这个问题
主播主播你的数据库确实挺强势,就是容易写好多bug啊)
API实现:
- 上/下传存档
- 上/下传存档 Summary
- 上/下传用户信息
- 刷新用户sessionToken
- TapTap登录(默认不开启,有安全风险)
API扩展:
- 注册新用户
- 主动推送响应事件(目前仅支持 WebSocket 方式)
查看扩展 API 食用教程,或在
配置文件中,把docs字段更改成true后,访问FastAPI自带的文档。
其他
- 打包并发布到
PyPI - 使用持久化数据库
- 更多功能请开
issue
谢谢他们和它们
- Phi-CloudAction-Python 参考了API、字段和流程,以及用于测试。
- html5syt 感谢帮忙测试
- 以及帮助过本项目的所有人
Metadata
Release files for phi-cloud-server 0.1.2b0
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 |
|---|---|---|---|---|
| phi_cloud_server-0.1.2b0.tar.gz | 25.6 kB | Without provenance | Details for phi_cloud_server-0.1.2b0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| phi_cloud_server-0.1.2b0-py3-none-any.whl | Python 3 | none | any | Details for phi_cloud_server-0.1.2b0-py3-none-any.whl |
Total release size: 53.8 kB
Release files / phi_cloud_server-0.1.2b0.tar.gz
| Download URL | phi_cloud_server-0.1.2b0.tar.gz |
|---|---|
| Size | 25.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b07f05c416c1d1a9a05ed17780c2bb3602a990a0ddef71b9ea5f7be9a13e75ae
|
|
BLAKE2b-256 checksum How to use checksums |
510a5cc1f12244bb6976d083c3f1fb7552e69598bbcb2a72fd5a25d35c742382
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.21
|
Release files / phi_cloud_server-0.1.2b0-py3-none-any.whl
| Download URL | phi_cloud_server-0.1.2b0-py3-none-any.whl |
|---|---|
| Size | 28.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1cb4e47103a3d3cf14597262ee41292e486fdec3bcf5702c92f176736bf3a080
|
|
BLAKE2b-256 checksum How to use checksums |
621461531514ff2a37f1b14facd8bc80d1f6facf59448abfbcce1eb1913babe8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.21
|
Security for phi-cloud-server 0.1.2b0
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.