Skip to content

scalable-design-participation-lab/imageable

Repository files navigation

imageable

An image processing library built with modern Python tooling.

Tests

Installation

For Development

  1. Install uv (if you haven't already):

    # On macOS/Linux
    curl -LsSf https://astral.sh/uv/install.sh | sh
    
    # On Windows
    powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
    
    # Or with pip
    pip install uv
  2. Clone and setup the project:

    git clone https://github.com/yourusername/imageable.git
    cd imageable
    
    # Install all dependencies (including dev dependencies)
    uv sync --group dev

Development

Running Tests

# Run all tests
uv run pytest

# Run tests with coverage report
uv run pytest --cov=src/imageable --cov-report=html

# Run specific test file
uv run pytest tests/test_specific.py

# Run tests with verbose output
uv run pytest -v

# Run tests and stop at first failure
uv run pytest -x

Adding Dependencies

# Add a runtime dependency
uv add numpy

# Add a development dependency
uv add --dev pytest-mock

# Add optional dependencies
uv add --optional vis matplotlib seaborn

Project Structure

imageable/
├── src/
│   └── imageable/
│       ├── __init__.py
│       ├── main.py
│       └── ...
├── tests/
│   ├── __init__.py
│   ├── test_main.py
│   └── ...
├── pyproject.toml
├── README.md
└── uv.lock

Available Commands

# Install dependencies
uv sync --group dev

# Run tests
uv run pytest

# Run tests with coverage
uv run pytest --cov-report=html
open htmlcov/index.html  # View coverage report

# Run Python in the project environment
uv run python

# Run any command in the project environment
uv run <command>

# Add/remove dependencies
uv add <package>
uv remove <package>

# Update dependencies
uv sync --upgrade

License

See LICENSE file for details.

Authors

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •