Getting Started
This guide will walk you through the installation and setup of LibriScribe.
Prerequisites
-
Python 3.7 or later: Check with
python --version
orpython3 --version
. -
pip: Usually included with Python.
-
LLM API Key: Get an API key from one of the following services:
- OpenAI: Get API Key
- Anthropic: Get API Key
- DeepSeek: Get API Key
- Google AI Studio (Gemini): Get API Key
- Mistral AI: Get API Key
Installation Steps
-
Clone the repository:
git clone https://github.com/guerra2fernando/libriscribe.git
cd libriscribe -
Install in editable mode:
pip install -e .
This installs LibriScribe so that changes to the source code are reflected immediately.
-
Set up your LLM API Key:
-
Create a
.env
file in the root directory of the project. -
Add your key:
OPENAI_API_KEY=your_api_key_here
GOOGLE_AI_STUDIO_API_KEY=your_api_key_here
CLAUDE_API_KEY=your_api_key_here
DEEPSEEK_API_KEY=your_api_key_here
MISTRAL_API_KEY=your_api_key_hereReplace
your_api_key_here
of the LLM that you want to use. Make sure.env
is in your.gitignore
!
-
Verifying the Installation
After installation, run:
libriscribe --help