Turtl Backup
This program permits to download a whole turtl account for offline backuping, and optionally decrypt the backup file, then optionally export the decrypted file to markdown.
Installation
You can install turtl-backup using pip:
pip3 install turtl-backup
Usage
There's a graphical user interface:
turtl-backup-gui
And a command line tool, here's its usage:
usage: turtl-backup [-h] {backup,get_auth_token,export} ...
Backup a turtl account.
positional arguments:
{backup,get_auth_token,export}
Backup can be done with a login/password pair or using
an auth token.
backup Backup a turtl account (with a password or an auth
token)
get_auth_token Get a turtl auth token
export Decrypt and export all notes in the given directory.
optional arguments:
-h, --help show this help message and exit
So typically to create an encrypted backup:
$ turtl-backup backup https://api.framanotes.org backup.json
username: test
password:
To decrypt a backup:
$ turtl-backup decrypt backup.json backup/
username: test
password:
To export a decrypted backup to markdown:
$ turtl-backup export backup/ backup-md/
$ cat backup-md/Hello.md
type: text
title: Hello
tags: []
url: None
username: None
password: None
world
FAQ
Is it possible to setup a cron to backup my notes without storing my login/password in plaintext in my crontab?
Yes, the turtl auth_token is enough to backup an account. You can
get your auth token using turtl-backup get_auth_token, but still
be carefull not to leak it. Then use turtl-backup backup --auth-token YOUR_AUTH_TOKEN.
Is it possible to decrypt my notes using my
auth_token?
No, you'll need your login and password again.
Metadata
Release files for turtl-backup 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| turtl-backup-0.1.1.tar.gz | 7.2 kB | Without provenance | Details for turtl-backup-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| turtl_backup-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for turtl_backup-0.1.1-py3-none-any.whl |
Total release size: 15.9 kB
Release files / turtl-backup-0.1.1.tar.gz
| Download URL | turtl-backup-0.1.1.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
96dc0b7fb8902d1282894aae2b7b6108c0144a13e8a6f265919f81175b8e3eb9
|
|
BLAKE2b-256 checksum How to use checksums |
eca6a74ff9af56382debb7b44d48b11dd447a1163f0d4ac22b26471c01309407
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.19.2 CPython/3.7.3rc1
|
Release files / turtl_backup-0.1.1-py3-none-any.whl
| Download URL | turtl_backup-0.1.1-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a16eca40797bc47a6db5135ba80c6cefd8f4657ab551742e62f617ebb665ffd7
|
|
BLAKE2b-256 checksum How to use checksums |
7c6048d547c57ea2b45c7df85e45c53a3448e47aeb735a57e58e8ba503ba2032
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.19.2 CPython/3.7.3rc1
|
Security for turtl-backup 0.1.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.