Serves as a common base for libraries that are generated by the SINTEF DMT Python code generator
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
# 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
# Build the package
uv build
# Install locally for development
uv pip install -e .
# Run tests
uv run pytest
# Run tests with coverage
uv run pytest --cov=dmtpy
# Run linting
uv run pylint src/dmt
# Build and publish (requires PUBLISH_LIB environment variable)
./publish.sh
- Lasse Bjermeland - lassebje
This project is licensed under the MIT License - see the LICENSE file for details.