Skip to main content

今日所想,对物所评,一语,即可概括。

Project description

今日话语-TodayDiscourse

简介

今日所想,一句话语,即可概括。
今日话语是一款基于CPython的一言API,可以在被调用时从词库中获取每日一句。

部署

从Pip部署(推荐)

在开始部署前,请确保您已安装Python。 随后,在命令行中执行以下命令:

pip install todaydiscourse
cd example

随后,执行下面的命令启动服务器:

todaydiscourse

此时,您已成功启动在8080端口启动服务器。

调用

默认访问 localhost:8000 获取今日话语
您也可以访问settings.json自行修改端口号
更多高阶用法,请前往官方文档

鸣谢

感谢这些本项目的贡献者,您们都是好样的!

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

todaydiscourse-1.0.1.tar.gz (4.4 kB view hashes)

Uploaded Source

Built Distribution

todaydiscourse-1.0.1-py3-none-any.whl (6.1 kB view hashes)

Uploaded Python 3

Supported by

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