Metadata-Version: 2.1
Name: memrise-audio-uploader
Version: 0.2.0
Summary: Memrise audio uploader
Home-page: https://github.com/ollipa/memrise-audio-uploader
License: MIT
Author: Olli Paakkunainen
Author-email: olli@paakkunainen.fi
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: google-cloud-texttospeech (>=2.2.0,<3.0.0)
Requires-Dist: lxml (>=4.6.3,<5.0.0)
Requires-Dist: pydantic (>=1.8.1,<2.0.0)
Requires-Dist: python-dotenv (>=0.15.0,<0.16.0)
Requires-Dist: requests (>=2.25.1,<3.0.0)
Project-URL: Repository, https://github.com/ollipa/memrise-audio-uploader
Description-Content-Type: text/markdown

# Memrise audio uploader

A command-line tool to upload text-to-speech audio to Memrise courses. Audio is generated using Google Text-to-Speech synthesizator.

## Installation

The tool can be installed using Pip with the following command:

```sh
pip install memrise-audio-uploader
```

After installation you can start the tool using Python:

```sh
python -m memrise_audio_uploader
```

## Usage

You can input your Memrise credentials when prompted in the command line or alternatively you can define them in a dotenv file. Save `MEMRISE_USERNAME` and/or `MEMRISE_PASSWORD` to a `.env` file in your current folder.

You will need access to a Google Cloud project with Google Cloud Text to Speech API enabled. The application uses default credentials for accessing Google Cloud. For more information, see:

- [Getting started with Cloud SDK](https://cloud.google.com/sdk)
- [Cloud SDK Application Default Credentials](https://cloud.google.com/sdk/gcloud/reference/auth/application-default)
- [Cloud Text-to-Speech - Quickstart](https://cloud.google.com/text-to-speech/docs/quickstart-protocol)

