Skip to content

Latest commit

 

History

30 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 for fast and reliable Python package management.

Install uv:

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

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

Development Setup

# 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

# Build the package
uv build

# Install locally for development
uv pip install -e .

Testing

# Run tests
uv run pytest

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

# Run linting
uv run pylint src/dmt

Publishing

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

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages