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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

napistu_torch-0.4.0.tar.gz (301.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

napistu_torch-0.4.0-py3-none-any.whl (342.6 kB view details)

Uploaded Python 3

File details

Details for the file napistu_torch-0.4.0.tar.gz.

File metadata

  • Download URL: napistu_torch-0.4.0.tar.gz
  • Upload date:
  • Size: 301.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for napistu_torch-0.4.0.tar.gz
Algorithm Hash digest
SHA256 b4c2a56a6c77a7fa87ec4f5d7807f966ffb79a0cf23a7c828b834ba054abb266
MD5 a80ee182d6cab3e7c25c721857d62614
BLAKE2b-256 c6a8dbd88c80613ec9fe88480fd6b3cfab8dabc6582db513b95d4328c81322dd

See more details on using hashes here.

Provenance

The following attestation bundles were made for napistu_torch-0.4.0.tar.gz:

Publisher: release.yml on napistu/napistu-torch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file napistu_torch-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: napistu_torch-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 342.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for napistu_torch-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 594477edf5d0382e35d8d264d5128c9d1d0ba95d16ae903da08b89a6cbf69b2c
MD5 6a1cbf7c02a69dbebbc590ed80a853aa
BLAKE2b-256 9289b20e588b5fde2c0c1ea2761216b86845f8a089f190a8d0ba1e78dbe78e9e

See more details on using hashes here.

Provenance

The following attestation bundles were made for napistu_torch-0.4.0-py3-none-any.whl:

Publisher: release.yml on napistu/napistu-torch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 files

0.3.17

2 files

0.3.16

2 files

0.3.15

2 files

0.3.14

2 files

0.3.13

2 files

0.3.12

2 files

0.3.11

2 files

0.3.10

2 files

0.3.9

2 files

0.3.8

2 files

0.3.7

2 files

0.3.6

2 files

0.3.5

2 files

0.3.4

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.14

2 files

0.2.13

2 files

0.2.12

2 files

0.2.11

2 files

0.2.10

2 files

0.2.9

2 files

0.2.8

2 files

0.2.7

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page