Skip to main content

PyTorch-based toolkit for working with Napistu network graphs

Project description

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

Project details


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.3.17.tar.gz (302.8 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.3.17-py3-none-any.whl (343.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: napistu_torch-0.3.17.tar.gz
  • Upload date:
  • Size: 302.8 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.3.17.tar.gz
Algorithm Hash digest
SHA256 9dbd749b7de6beff3256085f2bac3df1bc8b59d238763db6865f77fb9797fbc1
MD5 0468d73ccf02faa2aeddeccd3764dad6
BLAKE2b-256 ed7ead7f137365f3511110f3b86e028224e9b55d8f27c3d40dce7eca5593cc08

See more details on using hashes here.

Provenance

The following attestation bundles were made for napistu_torch-0.3.17.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.3.17-py3-none-any.whl.

File metadata

  • Download URL: napistu_torch-0.3.17-py3-none-any.whl
  • Upload date:
  • Size: 343.4 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.3.17-py3-none-any.whl
Algorithm Hash digest
SHA256 d70b1952077d56151e5912b9534f7f488b2cf87d73aeb46d81673bc66eb5f1b1
MD5 17326e9a4fdb309b044aab9530eea8be
BLAKE2b-256 4c8d7ec50bf2b2b84b74fa464921e77a7d21d2c95db728908744b8afbfdf019c

See more details on using hashes here.

Provenance

The following attestation bundles were made for napistu_torch-0.3.17-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.

Supported by

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