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
# install from PyPI
pip install async_pcloud
Examples
there are 2 ways to use the AsyncPyCloud.
- manual connect, disconnect (needed for session, because this is async):
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())
- async with - auto connect, disconnect:
pcloud = AsyncPyCloud("token")
async def main():
async with pcloud:
# 'async with AsyncPyCloud("token") as pcloud:' will also work
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
Metadata
Release files for async-pcloud 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| async_pcloud-0.3.0.tar.gz | 9.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| async_pcloud-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.4 kB
Release files / async_pcloud-0.3.0.tar.gz
| Download URL | async_pcloud-0.3.0.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
229b1a24c3a933cf471d4c0294aeed6b92fbc4f74beac916545e80ceb87b8fd0
|
|
BLAKE2b-256 checksum How to use checksums |
6ed6cb5e1fe783135700636bea09fa6ac5c4944a3e8dfc6bf453908c15fe549c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 9, 2026.
Transparency logRelease files / async_pcloud-0.3.0-py3-none-any.whl
| Download URL | async_pcloud-0.3.0-py3-none-any.whl |
|---|---|
| Size | 8.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7659760339bbe7c97c006ff13a9b816f8671d6af27c2f46268ae97178cb564c3
|
|
BLAKE2b-256 checksum How to use checksums |
9a26ae0792d7d2a8bf5baea9f3689e0bb427d7204462a4f5cbaf34377363cf09
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 9, 2026.
Transparency log