今日话语-TodayDiscourse
简介
今日所想,一句话语,即可概括。
今日话语是一款基于CPython的一言API,可以在被调用时从词库中获取每日一句。
部署
从Pip部署(推荐)
在开始部署前,请确保您已安装Python。 随后,在命令行中执行以下命令:
pip install todaydiscourse
cd example
随后,执行下面的命令启动服务器:
todaydiscourse
此时,您已成功启动在8080端口启动服务器。
调用
默认访问 localhost:8000 获取今日话语
您也可以访问settings.json自行修改端口号
更多高阶用法,请前往官方文档
鸣谢
感谢这些本项目的贡献者,您们都是好样的!
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
todaydiscourse-1.0.1.tar.gz
(4.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file todaydiscourse-1.0.1.tar.gz.
File metadata
- Download URL: todaydiscourse-1.0.1.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/5.0.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48f813f7a1cc4bbde6ddc6dec22ffbb5d1e643aeffa539d7f717ab7f070e41ba
|
|
| MD5 |
c4b58530961bd3a749454dd04ca20300
|
|
| BLAKE2b-256 |
ff1400bbd68cb4bffee7303a2f8c44d11b75494669804f4aeeeffb1a5c67b0c1
|
File details
Details for the file todaydiscourse-1.0.1-py3-none-any.whl.
File metadata
- Download URL: todaydiscourse-1.0.1-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/5.0.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5bc6f6c6912e4794f4378e8bd30447e497edfe28cc090f2b61c4e3d7fa9e4eba
|
|
| MD5 |
c55077a0af6f408715853cf8ca790e68
|
|
| BLAKE2b-256 |
4e5c1bfdb3eab7a831978e30fa0128f9fab4c579aab8f36cda0b4aaf920702d1
|