semvec/pypi-packages huggingface dataset:
olympic 0.1.5
A port of the Keras API to PyTorch
License: MIT

# Olympic PyTorch

Olympic implements a Keras-like API for PyTorch.

The goal of Olympic is to combine the joy of Pytorch's dynamic graph execution with the joy of Keras's high level abstractions
for training. Concretely, Olympic contains:

1. The ``olympic.fit()`` function. This implements a very similar API
    to Keras's ``model.fit`` and ``model.fit_generator`` methods in a
    more functional and less object-oriented fashion and spares you
    the effort of "hand-rolling" your own training loop.
2. ``Callback`` objects that perform functionality common to most deep
    learning training pipelines such as learning rate scheduling, model
    checkpointing and csv logging. These integrate into ``olympic.fit()``
    and spare you the effort of writing boilerplate code.
3. Some helpful utility functions such as common metrics and some
    convenience layers from Keras that are missing in PyTorch.

Documentation is available [here](https://olympic-pytorch.readthedocs.io/en/latest/)

This package is available on PyPi.

```
pip install olympic
```
turtl-backup 0.1.1
Tool to backup a turtl account.
License: MIT
Keywords: turtl backup

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:
```bash
pip3 install turtl-backup
```

Usage
-----

There's a graphical user interface:
```bash
turtl-backup-gui
```

And a command line tool, here's its usage:
```bash
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:
```bash
$ turtl-backup backup https://api.framanotes.org backup.json
username: test
password:
```

To decrypt a backup:
```bash
$ turtl-backup decrypt backup.json backup/
username: test
password:
```

To export a decrypted backup to markdown:
```bash
$ 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.