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
- Lasse Bjermeland - lassebje
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for dmtpy 0.3.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dmtpy-0.3.6.tar.gz | 61.3 kB | Without provenance | Details for dmtpy-0.3.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dmtpy-0.3.6-py3-none-any.whl | Python 3 | none | any | Details for dmtpy-0.3.6-py3-none-any.whl |
Total release size: 76.3 kB
Release files / dmtpy-0.3.6.tar.gz
| Download URL | dmtpy-0.3.6.tar.gz |
|---|---|
| Size | 61.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4cac0fa843e5d0cfc6cc450e665e2c5669762ad942017f8b33d9d32bcfb006db
|
|
BLAKE2b-256 checksum How to use checksums |
7519688179c7dd447d8a3bb62384d8c013c85b74c46df0ee22e171c9caa7fb7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / dmtpy-0.3.6-py3-none-any.whl
| Download URL | dmtpy-0.3.6-py3-none-any.whl |
|---|---|
| Size | 15.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0bfbb6b3199fb8bdd6a80d644e2b176de7361d3215bdd83c945f8c45af579a33
|
|
BLAKE2b-256 checksum How to use checksums |
32ea139144f089dcff95508a24be9f3d6da39a6adb9061da3c43e60d8896ee16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for dmtpy 0.3.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.