Name | next-api-py JSON |
Version |
0.2.0
JSON |
| download |
home_page | None |
Summary | Python wrapper for the next.avanpost20.ru API |
upload_time | 2024-11-05 02:40:24 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.9 |
license | None |
keywords |
api
async
http
websockets
wrapper
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# next.py
An async library to interact with the https://next.avanpost20.ru API.
You can join the support server [here](https://app.avanpost20.ru/invite/Testers) and find the library's documentation [here](https://nextpy.readthedocs.io/en/latest/).
## Installing
You can use `pip` to install next.py. It differs slightly depending on what OS/Distro you use.
On Windows
```
py -m pip install -U next.py # -U to update
```
On macOS and Linux
```
python3 -m pip install -U next.py
```
## Example
More examples can be found in the [examples folder](https://github.com/avanpost200/next.py/blob/master/examples).
```py
import next
import asyncio
class Client(next.Client):
async def on_message(self, message: next.Message):
if message.content == "hello":
await message.channel.send("hi how are you")
async def main():
async with next.utils.client_session() as session:
client = Client(session, "BOT TOKEN HERE")
await client.start()
asyncio.run(main())
```
Raw data
{
"_id": null,
"home_page": null,
"name": "next-api-py",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "api, async, http, websockets, wrapper",
"author": null,
"author_email": "Avanpost <me@avanpost20.ru>",
"download_url": "https://files.pythonhosted.org/packages/91/d8/eb8ca556ca851f36a7ca9ff76ec3df7f70fafd6597227277057df05da618/next_api_py-0.2.0.tar.gz",
"platform": null,
"description": "# next.py\n\nAn async library to interact with the https://next.avanpost20.ru API.\n\nYou can join the support server [here](https://app.avanpost20.ru/invite/Testers) and find the library's documentation [here](https://nextpy.readthedocs.io/en/latest/).\n\n## Installing\n\nYou can use `pip` to install next.py. It differs slightly depending on what OS/Distro you use.\n\nOn Windows\n```\npy -m pip install -U next.py # -U to update\n```\n\nOn macOS and Linux\n```\npython3 -m pip install -U next.py\n```\n\n## Example\n\nMore examples can be found in the [examples folder](https://github.com/avanpost200/next.py/blob/master/examples).\n\n```py\nimport next\nimport asyncio\n\nclass Client(next.Client):\n async def on_message(self, message: next.Message):\n if message.content == \"hello\":\n await message.channel.send(\"hi how are you\")\n\nasync def main():\n async with next.utils.client_session() as session:\n client = Client(session, \"BOT TOKEN HERE\")\n await client.start()\n\nasyncio.run(main())\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "Python wrapper for the next.avanpost20.ru API",
"version": "0.2.0",
"project_urls": {
"Bug Tracker": "https://git.avanpost20.ru/next/next.py/issues",
"Documentation": "https://nextpy.avanpost20.ru/",
"Homepage": "https://git.avanpost20.ru/next/next.py",
"Source Code": "https://git.avanpost20.ru/next/next.py"
},
"split_keywords": [
"api",
" async",
" http",
" websockets",
" wrapper"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d767970ee49902ac8099089320de636b51a1537abb302f3ea866fc38d9cfdd7d",
"md5": "a1096aeb67cb57f019e9b191eb2fbf47",
"sha256": "e97ae7436265ba3391feb853420d0faab77d49ca179f0358366175e687cfdd1e"
},
"downloads": -1,
"filename": "next_api_py-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a1096aeb67cb57f019e9b191eb2fbf47",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 70806,
"upload_time": "2024-11-05T02:40:22",
"upload_time_iso_8601": "2024-11-05T02:40:22.428806Z",
"url": "https://files.pythonhosted.org/packages/d7/67/970ee49902ac8099089320de636b51a1537abb302f3ea866fc38d9cfdd7d/next_api_py-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "91d8eb8ca556ca851f36a7ca9ff76ec3df7f70fafd6597227277057df05da618",
"md5": "5976e933f68266ccaeec5dc7151e9430",
"sha256": "844023219c11ec976243c4fff928eb35c1180cdd95242e742f2837d7b02befa9"
},
"downloads": -1,
"filename": "next_api_py-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "5976e933f68266ccaeec5dc7151e9430",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 49750,
"upload_time": "2024-11-05T02:40:24",
"upload_time_iso_8601": "2024-11-05T02:40:24.043931Z",
"url": "https://files.pythonhosted.org/packages/91/d8/eb8ca556ca851f36a7ca9ff76ec3df7f70fafd6597227277057df05da618/next_api_py-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-05 02:40:24",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "next-api-py"
}