Skip to main content

A client library for pCloud

Project description

https://travis-ci.org/tomgross/pycloud.svg?branch=master

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

Features

  • Can be used as a library

  • Comes with a command line script

  • Provides a PyFileSystem implementation

Examples

Usage of API

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

Usage of PyFilesystem with opener

>>> from fs import opener
>>> opener.open_fs('pcloud://email%40example.com:SecretPassword@/')
<pCloudFS>

Documentation

Implements the pCloud API found at https://docs.pcloud.com/

Installation

$ pip install pcloud

Contribute

License

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

Contributors

Changelog

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.

Source Distribution

pcloud-1.0a7.tar.gz (10.8 kB view details)

Uploaded Source

File details

Details for the file pcloud-1.0a7.tar.gz.

File metadata

  • Download URL: pcloud-1.0a7.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for pcloud-1.0a7.tar.gz
Algorithm Hash digest
SHA256 8004a4e2ffdf33f21ad59c43763ddbe490fa6b6380b58585c3c91a5b63b80e07
MD5 3128746d5943495ba443dfbb6b1924d6
BLAKE2b-256 4d12506b45b48ee188399f52ab07102ed900ed83f2f3d860eb5655b0aecfc761

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page