Name | async-pcloud JSON |
Version |
0.1.0
JSON |
| download |
home_page | None |
Summary | Async python API client for PCloud |
upload_time | 2025-07-20 23:37:35 |
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/
## 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/b4/45/20a46ff63f42d4615d0e6717ed95bc75aaa548d190ffe06c73d6bad6d022/async_pcloud-0.1.0.tar.gz",
"platform": null,
"description": "# async_pcloud - Async python API client for PCloud\r\n\r\nthis in an indirect fork of https://github.com/tomgross/pcloud/\r\n\r\n## Difference\r\nIt's async, uses aiohttp. I plan to reimplement all functions, and add extra - implement some of the NotImplemented, make useful combinations.\r\n\r\nupdate: pcloud has too many methods, i won't implement all of them\r\n\r\n## why i made this?\r\nbecause i have not found any async packages for pcloud\r\n\r\n## Installation\r\n```sh\r\n# install from PyPI\r\npip install async_pcloud\r\n```\r\n\r\n## Examples\r\nthere are 2 ways to use the AsyncPyCloud.\r\n\r\n1. manual connect, disconnect (needed for session, because this is async):\r\n```py\r\nimport asyncio\r\nfrom async_pcloud import AsyncPyCloud\r\npcloud = AsyncPyCloud('token', endpoint=\"api\")\r\n\r\nasync def main():\r\n await pcloud.connect()\r\n data = await pcloud.listfolder(folderid=0)\r\n print(data)\r\n # when you're done\r\n await pcloud.disconnect()\r\n\r\nasyncio.run(main())\r\n```\r\n\r\n2. async with - auto connect, disconnect:\r\n```py\r\nasync def main():\r\n async with AsyncPyCloud('token') as pcloud:\r\n data = await pcloud.listfolder(folderid=0)\r\n print(data)\r\n```\r\n\r\n## Class arguments\r\n- AsyncPyCloud\r\n - token - the api token, you can generate one with get_auth()\r\n - endpoint - can be 'api' or 'eapi', choose the one used by your account\r\n - folder - base folder name, will be added before the path param\r\n - headers - you can make custom user agent or something\r\n\r\n\r\n\r\n\r\n\r\n\r\n",
"bugtrack_url": null,
"license": null,
"summary": "Async python API client for PCloud",
"version": "0.1.0",
"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": "0539d1cadf016a0585dee15ab0561896d9f98713a5df517607a3255dc2a90758",
"md5": "7cbf66ff38c1ffbc35778e43dadab1ce",
"sha256": "d27e20c246fbecb13f443ab94621c45be7914743aa5b515b2c67e1012a9847ce"
},
"downloads": -1,
"filename": "async_pcloud-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7cbf66ff38c1ffbc35778e43dadab1ce",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 7670,
"upload_time": "2025-07-20T23:37:34",
"upload_time_iso_8601": "2025-07-20T23:37:34.024773Z",
"url": "https://files.pythonhosted.org/packages/05/39/d1cadf016a0585dee15ab0561896d9f98713a5df517607a3255dc2a90758/async_pcloud-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "b44520a46ff63f42d4615d0e6717ed95bc75aaa548d190ffe06c73d6bad6d022",
"md5": "bec42b1c2cc7f0f49d2aa836df29a20d",
"sha256": "13a9763ad94a4403f1a94aac5aa479cc8944f0aaa5d5142cb9bbf27abdf1affc"
},
"downloads": -1,
"filename": "async_pcloud-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "bec42b1c2cc7f0f49d2aa836df29a20d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 7772,
"upload_time": "2025-07-20T23:37:35",
"upload_time_iso_8601": "2025-07-20T23:37:35.398526Z",
"url": "https://files.pythonhosted.org/packages/b4/45/20a46ff63f42d4615d0e6717ed95bc75aaa548d190ffe06c73d6bad6d022/async_pcloud-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-20 23:37:35",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Noob-Lol",
"github_project": "async_pcloud",
"github_not_found": true,
"lcname": "async-pcloud"
}