Metadata-Version: 2.4
Name: dmtpy
Version: 0.3.5
Summary: Python runtime library for SIMOS based DMT models
Project-URL: Homepage, https://github.com/SINTEF/dmtpy
Project-URL: Repository, https://github.com/SINTEF/dmtpy
Author: SINTEF Ocean
License: MIT
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Requires-Dist: h5py>=3.7.0
Requires-Dist: numpy<1.25.0,>=1.21.0; python_version < '3.9'
Requires-Dist: numpy>=1.25.0; python_version >= '3.9'
Description-Content-Type: text/markdown

DMTPY - Python runtime library for DMT based models
=================================================================

Serves as a common base for libraries that are generated by the SINTEF DMT Python code generator

## Installation

### Prerequisites

This project uses [uv](https://github.com/astral-sh/uv) for fast and reliable Python package management.

**Install uv:**
```bash
# Windows
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"

# macOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
```

### Development Setup

```bash
# Clone the repository
git clone https://github.com/SINTEF/dmtpy.git
cd dmtpy

# Install dependencies (including dev dependencies)
uv sync --dev

# Activate the virtual environment
uv venv
```

## Building

```bash
# Build the package
uv build

# Install locally for development
uv pip install -e .
```

## Testing

```bash
# Run tests
uv run pytest

# Run tests with coverage
uv run pytest --cov=dmtpy

# Run linting
uv run pylint src/dmt
```

## Publishing

```bash
# Build and publish (requires PUBLISH_LIB environment variable)
./publish.sh
```

## Authors

* **Lasse Bjermeland** - [lassebje](https://github.com/lassebje)

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.