- pip install the package, run
pip install data-to-paper
. - Install dependencies (see below).
- Add environment variables for API keys (see below).
- Check dependencies and keys (see below).
- Run the app, run
data-to-paper
.
- Clone the repo, run
git clone https://github.com/Technion-Kishony-lab/data-to-paper
. - Create a conda environment, run
conda create -n data-to-paper python=3.11
. - Activate the newly created environment, run
conda activate data-to-paper
. - Enter the repo root folder, run
cd data-to-paper
. - Install the app and further required packages, run
pip install -e .
. - Install dependencies (see below).
- Add environment variables for API keys (see below).
- Check dependencies and keys (see below).
-
Install pandoc (follow instructions at Pandoc Installation).
-
Install all the required packages for compiling LaTeX:
- On debian-based systems:
sudo apt-get update && \ sudo apt-get install -y --no-install-recommends \ texlive-latex-base \ texlive-latex-extra \ texlive-fonts-recommended
- On MacOS:
- Ensure you have Homebrew installed (see Homebrew Installation).
- Install MacTeX with the following command:
brew install --cask mactex-no-gui
- After installation, you may need to add the TeX binaries to your PATH!
- On Windows:
- Download and install MiKTeX from MiKTeX Download Page.
- During installation, select 'Yes' when asked to install missing packages on-the-fly.
- After installation, you may need to add the TeX binaries to your PATH!
- On debian-based systems:
You need to define the following environment variables in your system:
- OPENAI_API_KEY
- SEMANTIC_SCHOLAR_API_KEY
- DEEPINFRA_API_KEY (optional)
To set up the keys on your system, see openai instructions
To test installation of dependencies and check the API keys, run the following command:
data-to-paper-chkres