Skip to main content

API and MCP server for NJUPT infomation ~

Project description

NJUPT Suan API

NJUPT Suan API 是一个 FastAPI 项目,目标在于实现对 NJUPT(南京邮电大学)的信息获取 API 和 MCP 服务。

文档

虽然项目还没个两样,但是文档其实也没个两样 (什么东西)

中文名叫芒果酸 - suan.mangofanfan.cn

功能

计划功能(芒果画饼中) 支持进度
教务系统 - 课程表获取
教务系统 - 课程获取 ⌛️
教务系统 - 成绩获取 ⌛️
体育部系统 - 早锻炼获取 ⌛️(等待体育部系统修复)

运行

建议查阅文档了解更多部署方式。

如需从源代码直接运行的话,项目的源码位于 src/njupt_suan_api 目录下,main.py 是旧的入口文件,可以直接传统方式启动。

manage.py 是命令行入口,提供了完整的帮助信息。

server.py 是 FastAPI app 所在文件,可以使用 uvicorn 命令启动。

另外如需从源代码启动项目,你需要自行构建 WebUI。

cd webui/
pnpm install
pnpm run build

AI 说 npm install 然后 npm run build 也可以,但我还没试过,你可以帮我试试(?)

vite 的构建产物会放在 src/njupt_suan_api/static 目录下,构建产物不会被 git 管理,但是会被项目打包进 wheel。

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

njupt_suan_api-0.1.2.tar.gz (49.6 MB view details)

Uploaded Source

Built Distribution

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

njupt_suan_api-0.1.2-py3-none-any.whl (566.3 kB view details)

Uploaded Python 3

File details

Details for the file njupt_suan_api-0.1.2.tar.gz.

File metadata

  • Download URL: njupt_suan_api-0.1.2.tar.gz
  • Upload date:
  • Size: 49.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for njupt_suan_api-0.1.2.tar.gz
Algorithm Hash digest
SHA256 878b5bbc2e254e8a32c2714ed6827fb5e7218ff5866d85acb03bc51a63655b2b
MD5 480eba871353d87c6d1fdb70ad4a4cd8
BLAKE2b-256 aab40d49981f38de9c4de33c5f9f85978d69f6405309c7a1c43def2c03739cce

See more details on using hashes here.

File details

Details for the file njupt_suan_api-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: njupt_suan_api-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 566.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for njupt_suan_api-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f2a5f6f1b3f76588ea9eb8063aa1da3cdadb4ef91df5ccc1282945f074e6caef
MD5 64f1d4682a46cb6c73af8902280b6565
BLAKE2b-256 c0d7b31c0ac231ae4e0d005f318d65a04a7693bb29cf1ecbb9fdc471a848fb27

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