今日话语-TodayDiscourse
简介
今日所想,一句话语,即可概括。
今日话语是一款基于CPython的一言API,可以在被调用时从词库中获取每日一句。
部署
从Pip部署(推荐)
在开始部署前,请确保您已安装Python。 随后,在命令行中执行以下命令:
pip install todaydiscourse
cd example
随后,执行下面的命令启动服务器:
todaydiscourse
此时,您已成功启动在8080端口启动服务器。
调用
默认访问 localhost:8000 获取今日话语
您也可以访问settings.json自行修改端口号
更多高阶用法,请前往官方文档
鸣谢
感谢这些本项目的贡献者,您们都是好样的!
Metadata
Release files for todaydiscourse 1.0.1
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 |
|---|---|---|---|---|
| todaydiscourse-1.0.1.tar.gz | 4.4 kB | Without provenance | Details for todaydiscourse-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| todaydiscourse-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for todaydiscourse-1.0.1-py3-none-any.whl |
Total release size: 10.5 kB
Release files / todaydiscourse-1.0.1.tar.gz
| Download URL | todaydiscourse-1.0.1.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
48f813f7a1cc4bbde6ddc6dec22ffbb5d1e643aeffa539d7f717ab7f070e41ba
|
|
BLAKE2b-256 checksum How to use checksums |
ff1400bbd68cb4bffee7303a2f8c44d11b75494669804f4aeeeffb1a5c67b0c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.19
|
Release files / todaydiscourse-1.0.1-py3-none-any.whl
| Download URL | todaydiscourse-1.0.1-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5bc6f6c6912e4794f4378e8bd30447e497edfe28cc090f2b61c4e3d7fa9e4eba
|
|
BLAKE2b-256 checksum How to use checksums |
4e5c1bfdb3eab7a831978e30fa0128f9fab4c579aab8f36cda0b4aaf920702d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.19
|
Security for todaydiscourse 1.0.1
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.