Name | todayhitokoto JSON |
Version |
0.0.1
JSON |
| download |
home_page | None |
Summary | 今日所想,一言,即可概括。 |
upload_time | 2024-03-24 08:26:04 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.8 |
license | MIT License Copyright (c) 2024 TodayHitokoto Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
todayhitokoto
hitokoto
api
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 今日一言-TodayHitokoto
## 简介
今日所想,一言,即可概括。
今日一言是一款基于[CPython](https://www.python.org/)的一言API,可以在被调用时从词库中获取每日一句。
## 部署
首先,你需要安装Python3.11+。
在安装后,打开命令行,运行下面的命令:
```bash
pip install todayhitokoto
todayhitokoto [port(端口)]
```
## 调用
使用GET请求或直接访问API部署网站的地址即可获取今日一言。
更多高阶用法,请前往[官方文档](https://todayhitokoto.github.io)
## 鸣谢
感谢[VScode](https://code.visualstudio.com/)提供的免费开发环境。
感谢[GitHub](https://github.com)提供的免费代码托管服务。
感谢[CPython](https://python.org/)的免费编程语言。
Raw data
{
"_id": null,
"home_page": null,
"name": "todayhitokoto",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "todayhitokoto, hitokoto, api",
"author": null,
"author_email": "Zhihan <zhihan2727@hotmail.com>",
"download_url": "https://files.pythonhosted.org/packages/af/8e/108a6e79fa361c7bba7553e212a3e661d19e6e12acacbbbcd77a11834b26/todayhitokoto-0.0.1.tar.gz",
"platform": null,
"description": "# \u4eca\u65e5\u4e00\u8a00-TodayHitokoto\r\n## \u7b80\u4ecb\r\n\u4eca\u65e5\u6240\u60f3\uff0c\u4e00\u8a00\uff0c\u5373\u53ef\u6982\u62ec\u3002 \r\n\u4eca\u65e5\u4e00\u8a00\u662f\u4e00\u6b3e\u57fa\u4e8e[CPython](https://www.python.org/)\u7684\u4e00\u8a00API\uff0c\u53ef\u4ee5\u5728\u88ab\u8c03\u7528\u65f6\u4ece\u8bcd\u5e93\u4e2d\u83b7\u53d6\u6bcf\u65e5\u4e00\u53e5\u3002\r\n\r\n## \u90e8\u7f72\r\n\u9996\u5148\uff0c\u4f60\u9700\u8981\u5b89\u88c5Python3.11+\u3002\r\n\u5728\u5b89\u88c5\u540e\uff0c\u6253\u5f00\u547d\u4ee4\u884c\uff0c\u8fd0\u884c\u4e0b\u9762\u7684\u547d\u4ee4\uff1a\r\n```bash\r\npip install todayhitokoto\r\ntodayhitokoto [port\uff08\u7aef\u53e3\uff09]\r\n```\r\n\r\n## \u8c03\u7528\r\n\u4f7f\u7528GET\u8bf7\u6c42\u6216\u76f4\u63a5\u8bbf\u95eeAPI\u90e8\u7f72\u7f51\u7ad9\u7684\u5730\u5740\u5373\u53ef\u83b7\u53d6\u4eca\u65e5\u4e00\u8a00\u3002 \r\n\u66f4\u591a\u9ad8\u9636\u7528\u6cd5\uff0c\u8bf7\u524d\u5f80[\u5b98\u65b9\u6587\u6863](https://todayhitokoto.github.io)\r\n\r\n## \u9e23\u8c22\r\n\u611f\u8c22[VScode](https://code.visualstudio.com/)\u63d0\u4f9b\u7684\u514d\u8d39\u5f00\u53d1\u73af\u5883\u3002 \r\n\u611f\u8c22[GitHub](https://github.com)\u63d0\u4f9b\u7684\u514d\u8d39\u4ee3\u7801\u6258\u7ba1\u670d\u52a1\u3002\r\n\u611f\u8c22[CPython](https://python.org/)\u7684\u514d\u8d39\u7f16\u7a0b\u8bed\u8a00\u3002\r\n",
"bugtrack_url": null,
"license": "MIT License Copyright (c) 2024 TodayHitokoto Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
"summary": "\u4eca\u65e5\u6240\u60f3\uff0c\u4e00\u8a00\uff0c\u5373\u53ef\u6982\u62ec\u3002",
"version": "0.0.1",
"project_urls": {
"Bug Tracker": "https://github.com/TodayHitokoto/api/issues",
"Documentation": "https://todayhitokoto.github.io/",
"Homepage": "https://todayhitokoto.github.io/",
"Repository": "https://github.com/TodayHitokoto/api.git"
},
"split_keywords": [
"todayhitokoto",
" hitokoto",
" api"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "af8e108a6e79fa361c7bba7553e212a3e661d19e6e12acacbbbcd77a11834b26",
"md5": "1e09c76e9c78ee7fbab1a4ebdb1026f0",
"sha256": "0f1a292ba5b842c7149d3dcc204dbae5e456fc5b83994506ec76f4b31f0a770f"
},
"downloads": -1,
"filename": "todayhitokoto-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "1e09c76e9c78ee7fbab1a4ebdb1026f0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 3202,
"upload_time": "2024-03-24T08:26:04",
"upload_time_iso_8601": "2024-03-24T08:26:04.641997Z",
"url": "https://files.pythonhosted.org/packages/af/8e/108a6e79fa361c7bba7553e212a3e661d19e6e12acacbbbcd77a11834b26/todayhitokoto-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-24 08:26:04",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "TodayHitokoto",
"github_project": "api",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "todayhitokoto"
}