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
  • 登录时使用的/upload

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.2a3.tar.gz (24.0 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.2a3-py3-none-any.whl (26.8 kB view details)

Uploaded Python 3

File details

Details for the file phi_cloud_server-0.1.2a3.tar.gz.

File metadata

  • Download URL: phi_cloud_server-0.1.2a3.tar.gz
  • Upload date:
  • Size: 24.0 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.2a3.tar.gz
Algorithm Hash digest
SHA256 5fe1e4f25b69e49bc26a37fdc08d5068998c8ce5ac61bd5333e26fe1dd3fc4b3
MD5 9b33a7a179670f815f1f2cac4ad404d4
BLAKE2b-256 8f731d31b01143a86efd7c61b2a141e66c50ff4ae49c602cae24dfc04d6d1b68

See more details on using hashes here.

File details

Details for the file phi_cloud_server-0.1.2a3-py3-none-any.whl.

File metadata

File hashes

Hashes for phi_cloud_server-0.1.2a3-py3-none-any.whl
Algorithm Hash digest
SHA256 e22a043569fb03063ef5b5e55078a18d3151cf9910f0af07dc9efb664816f5bf
MD5 91d1022331d0dbb503000132654cc566
BLAKE2b-256 16b17f6f0708db3d05eead3ab92e8660ccde8a202fd95c95f640b33718bc0f68

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