Napistu PyTorch Library
Python package supporting integration of Napistu network graphs and PyTorch NNs
This Python package builds on the Napistu Python package with PyTorch-specific data, model, and results management. As part of the broader Napistu project this work is intended to create and interrogate genome-scale networks of cellular physiology.
Setup
Napistu is available on PyPI so the recommended way to use it is just to pip install with:
pip install napistu-torch
Alternatively, you can clone this repository and perform a local install. e.g., from this directory:
pip install .
Mac setup
uv pip install torch==2.8.0
uv pip install torch-scatter torch-sparse -f https://data.pyg.org/whl/torch-2.8.0+cpu.html
uv install 'napistu-torch[dev]'
Documentation
- 🚸 Project Documentation: napistu/wiki
Advanced setup
Wandb
If this is your first time using wandb, you'll need to authenticate:
- Go to https://wandb.ai/ and create an account
- Get your API key from https://wandb.ai/authorize
- Run: wandb login
- Or set environment variable: export WANDB_API_KEY=your_api_key_here
Metadata
Release files for napistu-torch 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| napistu_torch-0.4.0.tar.gz | 301.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| napistu_torch-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 644.5 kB
Release files / napistu_torch-0.4.0.tar.gz
| Download URL | napistu_torch-0.4.0.tar.gz |
|---|---|
| Size | 301.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b4c2a56a6c77a7fa87ec4f5d7807f966ffb79a0cf23a7c828b834ba054abb266
|
|
BLAKE2b-256 checksum How to use checksums |
c6a8dbd88c80613ec9fe88480fd6b3cfab8dabc6582db513b95d4328c81322dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 26, 2026.
Transparency logRelease files / napistu_torch-0.4.0-py3-none-any.whl
| Download URL | napistu_torch-0.4.0-py3-none-any.whl |
|---|---|
| Size | 342.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
594477edf5d0382e35d8d264d5128c9d1d0ba95d16ae903da08b89a6cbf69b2c
|
|
BLAKE2b-256 checksum How to use checksums |
9289b20e588b5fde2c0c1ea2761216b86845f8a089f190a8d0ba1e78dbe78e9e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 26, 2026.
Transparency log