Skip to main content

Installation

Requirements

  • Python 3.10 or higher
  • No external dependencies (uses only Python standard library)

Install from PyPI

The simplest way to install the SDK:

pip install ashr-labs

Install with Development Dependencies

If you want to contribute or run tests:

pip install -e ".[dev]"

This installs additional packages:

  • pytest - Testing framework
  • pytest-cov - Code coverage
  • black - Code formatter
  • mypy - Type checker
  • ruff - Linter

Verify Installation

After installation, verify it works:

from ashr_labs import AshrLabsClient, __version__

print(f"Ashr Labs SDK v{__version__}")

We recommend using a virtual environment:

# Create virtual environment
python -m venv venv

# Activate it
source venv/bin/activate # Linux/macOS
# or
venv\Scripts\activate # Windows

# Install the SDK
pip install ashr-labs

Upgrading

To upgrade to the latest version:

pip install --upgrade ashr-labs