Metadata-Version: 2.4
Name: adata-query
Version: 0.2.0
Summary: Fetch and format data matrices from AnnData
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: anndata
Requires-Dist: autodevice
Requires-Dist: torch
Provides-Extra: test
Requires-Dist: pytest>=7.0.0; extra == "test"
Requires-Dist: pytest-cov>=4.0.0; extra == "test"
Requires-Dist: scipy>=1.10.0; extra == "test"
Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == "dev"
Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
Requires-Dist: scipy>=1.10.0; extra == "dev"
Requires-Dist: ruff>=0.1.0; extra == "dev"
Requires-Dist: pre-commit>=3.0.0; extra == "dev"
Dynamic: license-file

# 🔎 AnnDataQuery

[![PyPI pyversions](https://img.shields.io/pypi/pyversions/adata_query.svg)](https://pypi.python.org/pypi/adata_query/)
[![PyPI version](https://badge.fury.io/py/adata_query.svg)](https://badge.fury.io/py/adata_query)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

Fetch data matrices from AnnData and format as `np.ndarray` or `torch.Tensor`, on any device.

## Installation

### Using UV (Recommended)

```bash
# Install the package
uv add adata-query

# Or for development
uv pip install -e .
```

### Using pip

```bash
pip install adata-query
```

### Development Installation

```bash
# Clone the repository
git clone https://github.com/mvinyard/AnnDataQuery.git
cd AnnDataQuery

# Install with UV (recommended)
uv sync --dev

# Or with pip
pip install -e .
```

## Get started

Example: [notebook](https://colab.research.google.com/github/mvinyard/AnnDataQuery/blob/main/notebooks/anndata_query_tutorial.ipynb)
