Skip to main content

Phigros云存档服务器。

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

Phigros-Cloud-Server

基于 FastAPI 实现的 Phigros 云存档服务端。测试阶段,不代表生产可用。

PyPI

食用方法(使用)

  1. 安装
pip install phi-cloud-server
  1. 启动
phi_cloud_server
  1. 想办法替换 Phigros 客户端里的云存档服务器地址,本项目不提供教程。

[!WARNING] 请自行承担修改客户端行为所带来的风险,本项目不提供非法用途相关支持。

配置

配置路径均在软件输出,暂不提供更换配置路径。

TODO

已知问题:

  • 修复第一次上传获取的存档为空毕竟给我折腾了2天写在这里也合理吧
  • 必须新建存档2次后才能正常上传存档(不影响正常客户端,会丢失第一次云存档,后续不会丢失)(纯内存数据库没这个问题主播主播你的数据库确实挺强势,就是容易写好多bug啊)

API实现:

  • 上/下传存档
  • 上/下传存档 Summary
  • 上/下传用户信息
  • 刷新用户sessionToken

API扩展:

  • 注册新用户
  • 主动推送响应事件(目前仅支持 WebSocket 方式) 查看扩展 API 食用教程,或在配置文件中,把docs字段更改成true后,访问FastAPI自带的文档。

其他

  • 打包并发布到 PyPI
  • 使用持久化数据库
  • 更多功能请开issue

谢谢他们和它们

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

phi_cloud_server-0.1.1b0.tar.gz (20.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

phi_cloud_server-0.1.1b0-py3-none-any.whl (25.3 kB view details)

Uploaded Python 3

File details

Details for the file phi_cloud_server-0.1.1b0.tar.gz.

File metadata

  • Download URL: phi_cloud_server-0.1.1b0.tar.gz
  • Upload date:
  • Size: 20.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for phi_cloud_server-0.1.1b0.tar.gz
Algorithm Hash digest
SHA256 02c3f35231e8b616c1123fcb5e334486fe40c952eff10f352c3a9fea0d083423
MD5 e8c2028a1577d3dc3fb1a735356b235f
BLAKE2b-256 060c292a4c1e31c1c50f62b259492a98d0af77f1be047796acb7185ecf34a8ae

See more details on using hashes here.

File details

Details for the file phi_cloud_server-0.1.1b0-py3-none-any.whl.

File metadata

File hashes

Hashes for phi_cloud_server-0.1.1b0-py3-none-any.whl
Algorithm Hash digest
SHA256 60647f377433a9e6cf5cb4e853bdc12fa8c758bd83103241d29d5b6db1502a29
MD5 9d8b2fb67e146c50cd4d47788606825b
BLAKE2b-256 251ec3aaf0f74ad764f85faa951b71bb44e208d625b6e90a221e8afce516d56a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page