Skip to main content

Swisscom myCloud CLI

Swisscom myCloud CLI is a command line utility to manage all your data stored on Swisscom myCloud. To achieve this, it uses the public Swisscom myCloud API.

Requirements

Any Keyring Backend comptatible with the keyring package is required in order to store the credentials for myCloud.

Usage

Docker

docker run -it mycloud-cli

Manual Installation

First, make sure chromium and chromedriver are installed and in your $PATH.

To install or upgrade myCloud CLI via pip, run:

python3 -m pip install --user --upgrade mycloud-cli

After installing myCloud CLI make sure to add the certificates for mitmproxy to your CA in your OS / Chromium. Run:

mycloud auth cert

to download the required certificate.

Authenticate

To use myCloud CLI, run mycloud [command]. Then authenticate yourself with your username and password using:

mycloud auth login

To get a list of all available commands, run:

mycloud -h

Setup local environment

First, clone the repository:

git clone https://github.com/thomasgassmann/mycloud-cli

Then install all dependencies via pipenv:

cd mycloud-cli
export PIPENV_VENV_IN_PROJECT="enabled"
pipenv install --python 3.6
pipenv shell

Then run python -m mycloud auth cert to install the certificates as described in the Installation section.

Metadata

Release files for mycloud-cli 1.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for mycloud-cli 1.2.3
File Interpreter ABI Platform
mycloud_cli-1.2.3-py3-none-any.whl Python 3 none any Details

Release files / mycloud_cli-1.2.3-py3-none-any.whl

Download URL mycloud_cli-1.2.3-py3-none-any.whl
Size 53.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8390ffd12ced40e285fce7358f29a5df3e696b96f7b9c7977361dce8e0bc2178
BLAKE2b-256 checksum
How to use checksums
e1e9f7207fd2af84a36c2afdb3c698b8c1edb937b93204de38d681ccdee5e6a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.20.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.5

Release history Release notifications | RSS feed

This release

1.2.3 This release

1 release file

1.2.2

3 release files

1.2.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page