Skip to content

Installation

Pixi is a fast package manager that handles both Python and system dependencies.

# Clone the repository
git clone https://github.com/siligam/dummyxarray.git
cd dummyxarray

# Install dependencies with pixi
pixi install

# Run tests to verify installation
pixi run test

Using pip

If you prefer using pip, you can install the dependencies manually:

# Clone the repository
git clone https://github.com/siligam/dummyxarray.git
cd dummyxarray

# Install dependencies
pip install -r requirements.txt

# Install the package in development mode
pip install -e .

Verify Installation

Test your installation by running:

from dummyxarray import DummyDataset

ds = DummyDataset()
print("Installation successful!")

Requirements

  • Python >= 3.9
  • numpy >= 1.20.0
  • xarray >= 0.19.0
  • pyyaml >= 5.4.0
  • zarr >= 2.10.0

Development Installation

For development, you'll also want pytest:

pixi install  # pytest is already included

Or with pip:

pip install pytest