<p align="center">
📦 <a href="https://pypi.org/project/aioxdl" style="text-decoration:none;">AIO DOWNLOADER</a>
</p>
<p align="center">
<a href="https://telegram.me/clinton_abraham"><img src="https://img.shields.io/badge/𝑪𝒍𝒊𝒏𝒕𝒐𝒏 𝑨𝒃𝒓𝒂𝒉𝒂𝒎-30302f?style=flat&logo=telegram" alt="telegram badge"/></a>
<a href="https://telegram.me/Space_x_bots"><img src="https://img.shields.io/badge/Sᴘᴀᴄᴇ ✗ ʙᴏᴛꜱ-30302f?style=flat&logo=telegram" alt="telegram badge"/></a>
<a href="https://telegram.me/sources_codes"><img src="https://img.shields.io/badge/Sᴏᴜʀᴄᴇ ᴄᴏᴅᴇꜱ-30302f?style=flat&logo=telegram" alt="telegram badge"/></a>
</p>
## INSTALLATION
```bash
pip install aioxdl
```
## USAGE
```python
import asyncio
from aioxdl.modules import Aioxdl
async def progress(stime, tsize, dsize):
# stime = start_time
# tsize = total_size
# dsize = download_size
percentage = round((dsize / tsize) * 100, 2)
print("\rCOMPLETED : {}%".format(percentage), end="", flush=True)
async def main():
core = Aioxdl(timeout=2000)
link = "https://example.link/file.txt"
loca = await core.filename(link)
file = await core.start(link, loca, progress=progress)
fine = file if core.errors == None else core.errors
print(fine)
asyncio.run(main())
```
## GET FILENAME
```python
from aioxdl.modules import Aioxdl
async def main():
core = Aioxdl()
link = "https://example.link/file.txt"
name = await core.filename(link)
print(name)
asyncio.run(main())
```
Raw data
{
"_id": null,
"home_page": "https://github.com/Clinton-Abraham",
"name": "aioxdl",
"maintainer": null,
"docs_url": null,
"requires_python": "~=3.10",
"maintainer_email": null,
"keywords": "python, downloader, aiohttp",
"author": "Clinton-Abraham",
"author_email": "clintonabrahamc@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/14/0d/3ea6d215841422e64b8f5ffc5908536852c080c3e3d63a3acab6667a6f43/aioxdl-0.0.27.tar.gz",
"platform": null,
"description": "<p align=\"center\">\n \ud83d\udce6 <a href=\"https://pypi.org/project/aioxdl\" style=\"text-decoration:none;\">AIO DOWNLOADER</a>\n</p>\n\n<p align=\"center\">\n <a href=\"https://telegram.me/clinton_abraham\"><img src=\"https://img.shields.io/badge/\ud835\udc6a\ud835\udc8d\ud835\udc8a\ud835\udc8f\ud835\udc95\ud835\udc90\ud835\udc8f \ud835\udc68\ud835\udc83\ud835\udc93\ud835\udc82\ud835\udc89\ud835\udc82\ud835\udc8e-30302f?style=flat&logo=telegram\" alt=\"telegram badge\"/></a>\n <a href=\"https://telegram.me/Space_x_bots\"><img src=\"https://img.shields.io/badge/S\u1d18\u1d00\u1d04\u1d07 \u2717 \u0299\u1d0f\u1d1b\ua731-30302f?style=flat&logo=telegram\" alt=\"telegram badge\"/></a>\n <a href=\"https://telegram.me/sources_codes\"><img src=\"https://img.shields.io/badge/S\u1d0f\u1d1c\u0280\u1d04\u1d07 \u1d04\u1d0f\u1d05\u1d07\ua731-30302f?style=flat&logo=telegram\" alt=\"telegram badge\"/></a>\n</p>\n\n## INSTALLATION\n```bash\npip install aioxdl\n```\n\n## USAGE\n\n```python\nimport asyncio\nfrom aioxdl.modules import Aioxdl\n\nasync def progress(stime, tsize, dsize):\n # stime = start_time\n # tsize = total_size\n # dsize = download_size\n percentage = round((dsize / tsize) * 100, 2)\n print(\"\\rCOMPLETED : {}%\".format(percentage), end=\"\", flush=True)\n\nasync def main():\n core = Aioxdl(timeout=2000)\n link = \"https://example.link/file.txt\"\n loca = await core.filename(link)\n file = await core.start(link, loca, progress=progress)\n fine = file if core.errors == None else core.errors\n print(fine)\n\nasyncio.run(main())\n```\n\n## GET FILENAME\n```python\nfrom aioxdl.modules import Aioxdl\n\nasync def main():\n core = Aioxdl()\n link = \"https://example.link/file.txt\"\n name = await core.filename(link)\n print(name)\n\nasyncio.run(main())\n```\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Python fast downloader",
"version": "0.0.27",
"project_urls": {
"Homepage": "https://github.com/Clinton-Abraham"
},
"split_keywords": [
"python",
" downloader",
" aiohttp"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e38338c8e0cac3ea428542b8b0a856fdebe4aae3b8fad407af1f3d622e2c44b9",
"md5": "690455c0e46b6a054c89ea38f1b97227",
"sha256": "f1bda81e8e9b16086256714c00f86e3bd781fbbdb705a62317fa115df21e15b2"
},
"downloads": -1,
"filename": "aioxdl-0.0.27-py3-none-any.whl",
"has_sig": false,
"md5_digest": "690455c0e46b6a054c89ea38f1b97227",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "~=3.10",
"size": 8784,
"upload_time": "2024-05-10T11:29:15",
"upload_time_iso_8601": "2024-05-10T11:29:15.141196Z",
"url": "https://files.pythonhosted.org/packages/e3/83/38c8e0cac3ea428542b8b0a856fdebe4aae3b8fad407af1f3d622e2c44b9/aioxdl-0.0.27-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "140d3ea6d215841422e64b8f5ffc5908536852c080c3e3d63a3acab6667a6f43",
"md5": "d37ca26f0217ce85ed7cd82aef6c1275",
"sha256": "350b865533d4d594be1fbf8816deeb3b08663d2cd68a4a6bf888f9f757eea985"
},
"downloads": -1,
"filename": "aioxdl-0.0.27.tar.gz",
"has_sig": false,
"md5_digest": "d37ca26f0217ce85ed7cd82aef6c1275",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "~=3.10",
"size": 7811,
"upload_time": "2024-05-10T11:29:16",
"upload_time_iso_8601": "2024-05-10T11:29:16.536823Z",
"url": "https://files.pythonhosted.org/packages/14/0d/3ea6d215841422e64b8f5ffc5908536852c080c3e3d63a3acab6667a6f43/aioxdl-0.0.27.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-10 11:29:16",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "aioxdl"
}