Skip to main content

A library to access the JottaCloud API

Project description

This is not an official Jottacloud client. It is developed according to the company founder’s instructions, with write support reverse engineered with the company’s blessing.

So what is it, then?

This is a bare-bones, pythonic interface to the Jottacloud backup/cloud storage service. The service itself exposes a nice and simple HTTP REST api, and this library wraps that interface in a python module, in the hope that it may be useful.

All code is GPLv3 licensed, and the documentation lives at the official git repository.

There is also a FUSE implementation in here, mostly to test the library, but it is fully working and ready for use as a file system.

Caveats

Write support is reverse engineered and not based on official docs. Bugs patrol these waters! (Add them to the bug tracker! )

Requirements

The mandatory modules are listed in requirements.txt (pip -r requirements.txt will get you everything you need).

Optional requirements

fusepy for Fuse client
python-qt4 for the Qt models

How to get started

Export your Jottacloud username and password to the running environment. Running macosx or linux, it would normally go like this:

`export JOTTACLOUD_USERNAME="yourusername"`
`export JOTTACLOUD_PASSWORD="yourpassword"`

Fuse client

This will “mount” jottacloud as a folder on your system, allowing you to use your normal file system utilities to browse your account.

  1. Create a folder where you want your Jottacloud file system:

    mkdir $HOME/jottafs

  2. Run Fuse:

    jottafuse.py $HOME/jottafs

Note. Being a remote mounted folder, it won’t be as snappy as a locally synchronised folder like the official JottaCloud client.

QT models

Take a look at qt.py, where you’ll find a JFSModel(QtGui.QStandardItemModel) and various JFSNode(QtGui.QStandardItem) to match the jottacloud api.

QT Gui

A simple try at a usable gui lives in its own repository.

Other tools

`jottashare.py` - A simple command line script to easily upload and share a file at a public, secret URI

`duplicity-backend.py` - WORK IN PROGRESS A module for duplicity. Store your backups in the JottaCloud

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

jottalib-0.2.tar.gz (24.8 kB view details)

Uploaded Source

File details

Details for the file jottalib-0.2.tar.gz.

File metadata

  • Download URL: jottalib-0.2.tar.gz
  • Upload date:
  • Size: 24.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for jottalib-0.2.tar.gz
Algorithm Hash digest
SHA256 bcb7aafc48da5a515a85c602da1294b86336e1ecfbc6b252b68d8cb7b3ab546d
MD5 d28d9d4615480a9580819b2456bf79c5
BLAKE2b-256 3cc73d30b1f9713bf70adc234c460ee0a9e1309ec45e675f25418cd1b0d1135f

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