Name | async-pcloud JSON |
Version |
0.1.1
JSON |
| download |
home_page | None |
Summary | Async python API client for PCloud |
upload_time | 2025-07-29 22:45:19 |
maintainer | None |
docs_url | None |
author | Noob |
requires_python | >=3.9 |
license | None |
keywords |
python
pcloud
async
rest
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# async_pcloud - Async python API client for PCloud
this in an indirect fork of https://github.com/tomgross/pcloud/
[](https://github.com/Noob-Lol/async_pcloud/actions)
[](https://pypi.org/project/async_pcloud)
## Difference
It's async, uses aiohttp. I plan to reimplement all functions, and add extra - implement some of the NotImplemented, make useful combinations.
update: pcloud has too many methods, i won't implement all of them
## why i made this?
because i have not found any async packages for pcloud
## Installation
```sh
# install from PyPI
pip install async_pcloud
```
## Examples
there are 2 ways to use the AsyncPyCloud.
1. manual connect, disconnect (needed for session, because this is async):
```py
import asyncio
from async_pcloud import AsyncPyCloud
pcloud = AsyncPyCloud('token', endpoint="api")
async def main():
await pcloud.connect()
data = await pcloud.listfolder(folderid=0)
print(data)
# when you're done
await pcloud.disconnect()
asyncio.run(main())
```
2. async with - auto connect, disconnect:
```py
async def main():
async with AsyncPyCloud('token') as pcloud:
data = await pcloud.listfolder(folderid=0)
print(data)
```
## Class arguments
- AsyncPyCloud
- token - the api token, you can generate one with get_auth()
- endpoint - can be 'api' or 'eapi', choose the one used by your account
- folder - base folder name, will be added before the path param
- headers - you can make custom user agent or something
Raw data
{
"_id": null,
"home_page": null,
"name": "async-pcloud",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "Python, pCloud, async, REST",
"author": "Noob",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/47/fd/d7d8e9380c805cc263aa603d5b666d1fdca8c031838edc76ab2a81ecb332/async_pcloud-0.1.1.tar.gz",
"platform": null,
"description": "# async_pcloud - Async python API client for PCloud\n\nthis in an indirect fork of https://github.com/tomgross/pcloud/\n\n[](https://github.com/Noob-Lol/async_pcloud/actions)\n[](https://pypi.org/project/async_pcloud)\n\n## Difference\nIt's async, uses aiohttp. I plan to reimplement all functions, and add extra - implement some of the NotImplemented, make useful combinations.\n\nupdate: pcloud has too many methods, i won't implement all of them\n\n## why i made this?\nbecause i have not found any async packages for pcloud\n\n## Installation\n```sh\n# install from PyPI\npip install async_pcloud\n```\n\n## Examples\nthere are 2 ways to use the AsyncPyCloud.\n\n1. manual connect, disconnect (needed for session, because this is async):\n```py\nimport asyncio\nfrom async_pcloud import AsyncPyCloud\npcloud = AsyncPyCloud('token', endpoint=\"api\")\n\nasync def main():\n await pcloud.connect()\n data = await pcloud.listfolder(folderid=0)\n print(data)\n # when you're done\n await pcloud.disconnect()\n\nasyncio.run(main())\n```\n\n2. async with - auto connect, disconnect:\n```py\nasync def main():\n async with AsyncPyCloud('token') as pcloud:\n data = await pcloud.listfolder(folderid=0)\n print(data)\n```\n\n## Class arguments\n- AsyncPyCloud\n - token - the api token, you can generate one with get_auth()\n - endpoint - can be 'api' or 'eapi', choose the one used by your account\n - folder - base folder name, will be added before the path param\n - headers - you can make custom user agent or something\n\n\n\n\n\n\n",
"bugtrack_url": null,
"license": null,
"summary": "Async python API client for PCloud",
"version": "0.1.1",
"project_urls": {
"Homepage": "https://github.com/Noob-Lol/async_pcloud",
"Issues": "https://github.com/Noob-Lol/async_pcloud/issues"
},
"split_keywords": [
"python",
" pcloud",
" async",
" rest"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "115bc31998e2c78e348092023f4d866c3e7f5fa2fcf7eb2a8767a3c360eb86ff",
"md5": "85410971ac3d0e1dfece7badf36d79bc",
"sha256": "de99c6d84db4b6ec9387e46da62d84f5071db8d30d1aca8b98544f8bc84efc25"
},
"downloads": -1,
"filename": "async_pcloud-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "85410971ac3d0e1dfece7badf36d79bc",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 7667,
"upload_time": "2025-07-29T22:45:18",
"upload_time_iso_8601": "2025-07-29T22:45:18.494962Z",
"url": "https://files.pythonhosted.org/packages/11/5b/c31998e2c78e348092023f4d866c3e7f5fa2fcf7eb2a8767a3c360eb86ff/async_pcloud-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "47fdd7d8e9380c805cc263aa603d5b666d1fdca8c031838edc76ab2a81ecb332",
"md5": "8acf0e77e7d7d9ab4f899aad77e66d6b",
"sha256": "d66387451c5b7a385601b130e488e3b771638166a9fbfb4f301595395fc69c4f"
},
"downloads": -1,
"filename": "async_pcloud-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "8acf0e77e7d7d9ab4f899aad77e66d6b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 9478,
"upload_time": "2025-07-29T22:45:19",
"upload_time_iso_8601": "2025-07-29T22:45:19.773053Z",
"url": "https://files.pythonhosted.org/packages/47/fd/d7d8e9380c805cc263aa603d5b666d1fdca8c031838edc76ab2a81ecb332/async_pcloud-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-29 22:45:19",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Noob-Lol",
"github_project": "async_pcloud",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "async-pcloud"
}