Name | Octra.py JSON |
Version |
1.8.68
JSON |
| download |
home_page | https://github.com/Octra/Octra.py |
Summary | An async API wrapper for Octra bot API in Python |
upload_time | 2023-01-31 12:52:16 |
maintainer | |
docs_url | None |
author | Akash |
requires_python | >=3.7 |
license | |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
<p align="center">
<img src="https://raw.githubusercontent.com/Octra/Octra.py/master/docs/icon.png" alt="Logo" title="Octra.py" height="200" width="200"/>
</p>
# Octra.py
[![PyPI](https://img.shields.io/pypi/v/Octra.py)](https://pypi.org/project/Octra.py)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/Octra.py)](https://pypi.org/project/Octra.py)
[![Documentation Status](https://readthedocs.org/projects/Octrapy/badge/?version=latest)](https://Octrapy.readthedocs.io/en/latest/?badge=latest)
[![GitHub - License](https://img.shields.io/github/license/Octra/Octra.py)](LICENSE)
[![Octra Channel](https://img.shields.io/badge/Octra-t.me%2Ftpy__updates-0088cc)](https://t.me/tpy_updates)
An async API wrapper for Octra bot API in Python
## Installation
Python 3.7+ is **required** to install and use Octra.py.
Install the latest release from PyPI:
```bash
# Mac/Linux
python3 -m pip install Octra.py
# Windows
py -3 -m pip install Octra.py
```
Or install the development version from GitHub:
```
# Mac/Linux
python3 -m pip install git+https://github.com/Octra/Octra.py
# Windows
py -3 -m pip install git+https://github.com/Octra/Octra.py
```
## Quick Example
```python
import logging
import Octrapy
from Octrapy.ext import commands
logging.basicConfig(level=logging.INFO, format="(%(asctime)s) %(levelname)s %(message)s", datefmt="%m/%d/%y - %H:%M:%S %Z")
logger = logging.getLogger("Octrapy")
bot = commands.Bot("token here")
@bot.command()
async def hi(ctx):
await ctx.send("Hello")
bot.run()
```
For a line-by-line walkthrough for this example, see the [quickstart](https://Octrapy.readthedocs.io/en/latest/quickstart.html#basic-example).
## Documentation
[Documentation can be found here.](https://Octrapy.readthedocs.io)
Raw data
{
"_id": null,
"home_page": "https://github.com/Octra/Octra.py",
"name": "Octra.py",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "",
"author": "Akash",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/09/76/8fcd98528e4ed6477a3763b99a88e5b33d4ab80866925f47228002991568/Octra.py-1.8.68.tar.gz",
"platform": null,
"description": "<p align=\"center\">\r\n<img src=\"https://raw.githubusercontent.com/Octra/Octra.py/master/docs/icon.png\" alt=\"Logo\" title=\"Octra.py\" height=\"200\" width=\"200\"/>\r\n</p>\r\n\r\n# Octra.py\r\n\r\n[![PyPI](https://img.shields.io/pypi/v/Octra.py)](https://pypi.org/project/Octra.py)\r\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/Octra.py)](https://pypi.org/project/Octra.py)\r\n[![Documentation Status](https://readthedocs.org/projects/Octrapy/badge/?version=latest)](https://Octrapy.readthedocs.io/en/latest/?badge=latest)\r\n[![GitHub - License](https://img.shields.io/github/license/Octra/Octra.py)](LICENSE)\r\n[![Octra Channel](https://img.shields.io/badge/Octra-t.me%2Ftpy__updates-0088cc)](https://t.me/tpy_updates)\r\n\r\nAn async API wrapper for Octra bot API in Python\r\n\r\n## Installation\r\n\r\nPython 3.7+ is **required** to install and use Octra.py.\r\n\r\nInstall the latest release from PyPI:\r\n\r\n```bash\r\n# Mac/Linux\r\npython3 -m pip install Octra.py\r\n\r\n# Windows\r\npy -3 -m pip install Octra.py\r\n```\r\n\r\nOr install the development version from GitHub:\r\n\r\n```\r\n# Mac/Linux\r\npython3 -m pip install git+https://github.com/Octra/Octra.py\r\n\r\n# Windows\r\npy -3 -m pip install git+https://github.com/Octra/Octra.py\r\n```\r\n\r\n## Quick Example\r\n\r\n```python\r\nimport logging\r\n\r\nimport Octrapy\r\nfrom Octrapy.ext import commands\r\n\r\nlogging.basicConfig(level=logging.INFO, format=\"(%(asctime)s) %(levelname)s %(message)s\", datefmt=\"%m/%d/%y - %H:%M:%S %Z\")\r\nlogger = logging.getLogger(\"Octrapy\")\r\n\r\nbot = commands.Bot(\"token here\")\r\n\r\n@bot.command()\r\nasync def hi(ctx):\r\n await ctx.send(\"Hello\")\r\n\r\nbot.run()\r\n```\r\n\r\nFor a line-by-line walkthrough for this example, see the [quickstart](https://Octrapy.readthedocs.io/en/latest/quickstart.html#basic-example).\r\n\r\n## Documentation\r\n\r\n[Documentation can be found here.](https://Octrapy.readthedocs.io)\r\n\r\n\r\n",
"bugtrack_url": null,
"license": "",
"summary": "An async API wrapper for Octra bot API in Python",
"version": "1.8.68",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e535fbcdfa255017c2920e63c4f38d3c19c59f76d3cb998933347172d543be57",
"md5": "a857a85407284692e569bfd441a2f425",
"sha256": "93193fc389cdc6557fde373926027bd7581518ac339c80c1c2212ed223c28645"
},
"downloads": -1,
"filename": "Octra.py-1.8.68-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a857a85407284692e569bfd441a2f425",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 25085,
"upload_time": "2023-01-31T12:52:14",
"upload_time_iso_8601": "2023-01-31T12:52:14.732472Z",
"url": "https://files.pythonhosted.org/packages/e5/35/fbcdfa255017c2920e63c4f38d3c19c59f76d3cb998933347172d543be57/Octra.py-1.8.68-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "09768fcd98528e4ed6477a3763b99a88e5b33d4ab80866925f47228002991568",
"md5": "6ce2e0fc173c108bd5331a4d9dd2422b",
"sha256": "e8d5ecdb6cc070dc449292991ea04e2a6d7c29e340a95d4a6b3886148124be2d"
},
"downloads": -1,
"filename": "Octra.py-1.8.68.tar.gz",
"has_sig": false,
"md5_digest": "6ce2e0fc173c108bd5331a4d9dd2422b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 19460,
"upload_time": "2023-01-31T12:52:16",
"upload_time_iso_8601": "2023-01-31T12:52:16.874724Z",
"url": "https://files.pythonhosted.org/packages/09/76/8fcd98528e4ed6477a3763b99a88e5b33d4ab80866925f47228002991568/Octra.py-1.8.68.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-31 12:52:16",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "Octra",
"github_project": "Octra.py",
"lcname": "octra.py"
}