Installation

Before you start, you'll need to setup a python environment (3.8+):

Virtual Environment

We like to keep things clean - so let's setup a virtual environment:

  1. Create and navigate to project directory

mkdir my-project
cd my-project
  1. Start a virtual environment

python -m venv venv
  1. Activate and deactivate the environment with the following commands:

// Activate
source venv/bin/activate

// Deactivate
deactivate

Now we are ready to install valyu

pip

pip install valyu

That was easy wasn't it? To check it was installed correctly, run the following in a python script:

from valyu import load_dataset_samples

load_dataset_samples("Valyu/valyu-cats-and-dogs")

You should see some dataset samples appear in your directory - enjoy! 🎉

Last updated