Skip to main content

A client library for pCloud

Project description

This Python (Version >= 3.6 only!) library provides a Python API to the pCloud storage.


  • Can be used as a library
  • Comes with a command line script
  • Provides a PyFileSystem implementation


Usage of API

>>> from pcloud import PyCloud
>>> pc = PyCloud('', 'SecretPassword')
>>> pc.listfolder(folderid=0)

Usage of PyFilesystem with opener

>>> from fs import opener
>>> opener.open_fs('pcloud://')

Uploading files

  1. from filenames:
>>> pc.uploadfile(files=['/full/path/to/image1.jpg', '/Users/tom/another/image.png']
  1. from data:
>>> import io
>>> from PIL import Image
>>> img ='image.jpg', 'r')
>>> bio = io.BytesIO()
>>>, format='jpeg')
>>> pc.uploadfile(data=bio.getvalue(), filename="image.jpg")


Implements the pCloud API found at


$ pip install pcloud


The project is licensed under MIT (see docs/LICENSE.rst).



1.0a8 (2020-02-21)

  • Fix upload of multiple files from paths [tomgross]
  • Document uploading of files [tomgross]

1.0a7 (2020-02-20)

  • Add new API method createfolderifnotexists #19 [Arkoniak, tomgross]
  • Fix duplication of data transfer on file upload #17 [blasterspike, tomgross]
  • Consistently use MIT licences [tomgross]

1.0a6 (2019-01-18)

  • Fix error while using makedirs from PyFilesystem with recreate=True [blasterspike]

1.0a5 (2018-10-22)

1.0a4 (2017-10-29)

  • Fix error with duplicate files parameter #3 [tomgross]
  • Fix upload of data [tomgross]
  • Do flake8 checks [tomgross]

1.0a3 (2017-10-07)

  • Test API with py.test [tomgross]
  • Support for PyFileSystem [tomgross]
  • Support for file operations [tomgross]

1.0a2 (2017-05-21)

  • Rename to pcloud [tomgross]

1.0a1 (2017-05-21)

  • Initial release. [tomgross]

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pcloud, version 1.0a8
Filename, size File type Python version Upload date Hashes
Filename, size pcloud-1.0a8.tar.gz (11.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page