todaydiscourse


Nametodaydiscourse JSON
Version 1.0.1 PyPI version JSON
download
home_pageNone
Summary今日所想,对物所评,一语,即可概括。
upload_time2024-04-05 17:18:19
maintainerNone
docs_urlNone
authorNone
requires_python>=3.12
licenseMIT License Copyright (c) 2024 TodayDiscourse 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 todaydiscourse discourse api
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 今日话语-TodayDiscourse
## 简介
今日所想,一句话语,即可概括。  
今日话语是一款基于[CPython](https://www.python.org/)的一言API,可以在被调用时从词库中获取每日一句。
## 部署
### 从Pip部署(推荐)
在开始部署前,请确保您已安装[Python](https://www.python.org/)。
随后,在命令行中执行以下命令:
```bash
pip install todaydiscourse
cd example
```
随后,执行下面的命令启动服务器:
```bash
todaydiscourse
```
此时,您已成功启动在8080端口启动服务器。

## 调用
默认访问 localhost:8000 获取今日话语  
您也可以访问settings.json自行修改端口号  
更多高阶用法,请前往[官方文档](https://xingchenopensource.github.io/apis/todaydiscourse/)

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

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "todaydiscourse",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.12",
    "maintainer_email": null,
    "keywords": "todaydiscourse, discourse, api",
    "author": null,
    "author_email": "YeyingXingchen <yeyingxingchen@yeah.net>, NoNameGMM <nonamegmm@qq.com>",
    "download_url": "https://files.pythonhosted.org/packages/ff/14/00bbd68cb4bffee7303a2f8c44d11b75494669804f4aeeeffb1a5c67b0c1/todaydiscourse-1.0.1.tar.gz",
    "platform": null,
    "description": "# \u4eca\u65e5\u8bdd\u8bed-TodayDiscourse\n## \u7b80\u4ecb\n\u4eca\u65e5\u6240\u60f3\uff0c\u4e00\u53e5\u8bdd\u8bed\uff0c\u5373\u53ef\u6982\u62ec\u3002  \n\u4eca\u65e5\u8bdd\u8bed\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\n## \u90e8\u7f72\n### \u4ecePip\u90e8\u7f72\uff08\u63a8\u8350\uff09\n\u5728\u5f00\u59cb\u90e8\u7f72\u524d\uff0c\u8bf7\u786e\u4fdd\u60a8\u5df2\u5b89\u88c5[Python](https://www.python.org/)\u3002\n\u968f\u540e\uff0c\u5728\u547d\u4ee4\u884c\u4e2d\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a\n```bash\npip install todaydiscourse\ncd example\n```\n\u968f\u540e\uff0c\u6267\u884c\u4e0b\u9762\u7684\u547d\u4ee4\u542f\u52a8\u670d\u52a1\u5668\uff1a\n```bash\ntodaydiscourse\n```\n\u6b64\u65f6\uff0c\u60a8\u5df2\u6210\u529f\u542f\u52a8\u57288080\u7aef\u53e3\u542f\u52a8\u670d\u52a1\u5668\u3002\n\n## \u8c03\u7528\n\u9ed8\u8ba4\u8bbf\u95ee localhost:8000 \u83b7\u53d6\u4eca\u65e5\u8bdd\u8bed  \n\u60a8\u4e5f\u53ef\u4ee5\u8bbf\u95eesettings.json\u81ea\u884c\u4fee\u6539\u7aef\u53e3\u53f7  \n\u66f4\u591a\u9ad8\u9636\u7528\u6cd5\uff0c\u8bf7\u524d\u5f80[\u5b98\u65b9\u6587\u6863](https://xingchenopensource.github.io/apis/todaydiscourse/)\n\n## \u9e23\u8c22\n\u611f\u8c22\u8fd9\u4e9b\u672c\u9879\u76ee\u7684\u8d21\u732e\u8005\uff0c\u60a8\u4eec\u90fd\u662f\u597d\u6837\u7684\uff01\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2024 TodayDiscourse  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\u5bf9\u7269\u6240\u8bc4\uff0c\u4e00\u8bed\uff0c\u5373\u53ef\u6982\u62ec\u3002",
    "version": "1.0.1",
    "project_urls": {
        "Bug Tracker": "https://github.com/XingchenOpenSource/TodayDiscourse/issues",
        "Documentation": "https://xingchenopensource.github.io/apis/todaydiscourse/",
        "Homepage": "https://xingchenopensource.github.io/apis/todaydiscourse",
        "Repository": "https://github.com/XingchenOpenSource/TodayDiscourse.git"
    },
    "split_keywords": [
        "todaydiscourse",
        " discourse",
        " api"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4e5c1bfdb3eab7a831978e30fa0128f9fab4c579aab8f36cda0b4aaf920702d1",
                "md5": "c55077a0af6f408715853cf8ca790e68",
                "sha256": "5bc6f6c6912e4794f4378e8bd30447e497edfe28cc090f2b61c4e3d7fa9e4eba"
            },
            "downloads": -1,
            "filename": "todaydiscourse-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c55077a0af6f408715853cf8ca790e68",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.12",
            "size": 6110,
            "upload_time": "2024-04-05T17:18:18",
            "upload_time_iso_8601": "2024-04-05T17:18:18.910553Z",
            "url": "https://files.pythonhosted.org/packages/4e/5c/1bfdb3eab7a831978e30fa0128f9fab4c579aab8f36cda0b4aaf920702d1/todaydiscourse-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ff1400bbd68cb4bffee7303a2f8c44d11b75494669804f4aeeeffb1a5c67b0c1",
                "md5": "c4b58530961bd3a749454dd04ca20300",
                "sha256": "48f813f7a1cc4bbde6ddc6dec22ffbb5d1e643aeffa539d7f717ab7f070e41ba"
            },
            "downloads": -1,
            "filename": "todaydiscourse-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "c4b58530961bd3a749454dd04ca20300",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.12",
            "size": 4368,
            "upload_time": "2024-04-05T17:18:19",
            "upload_time_iso_8601": "2024-04-05T17:18:19.883168Z",
            "url": "https://files.pythonhosted.org/packages/ff/14/00bbd68cb4bffee7303a2f8c44d11b75494669804f4aeeeffb1a5c67b0c1/todaydiscourse-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-05 17:18:19",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "XingchenOpenSource",
    "github_project": "TodayDiscourse",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "todaydiscourse"
}
        
Elapsed time: 3.28545s