Skip to main content

Napistu PyTorch Library

Python package supporting integration of Napistu network graphs and PyTorch NNs

PyPI version Documentation CI Release Code style: black

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

Advanced setup

Wandb

If this is your first time using wandb, you'll need to authenticate:

  1. Go to https://wandb.ai/ and create an account
  2. Get your API key from https://wandb.ai/authorize
  3. Run: wandb login
  4. 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)

Source distribution for napistu-torch 0.4.0
File Size Uploaded
napistu_torch-0.4.0.tar.gz 301.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for napistu-torch 0.4.0
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.17

2 release files

0.3.16

2 release files

0.3.15

2 release files

0.3.14

2 release files

0.3.13

2 release files

0.3.12

2 release files

0.3.11

2 release files

0.3.10

2 release files

0.3.9

2 release files

0.3.8

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.14

2 release files

0.2.12

2 release files

0.2.11

2 release files

0.2.10

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page