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
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file napistu_torch-0.3.8.tar.gz.
File metadata
- Download URL: napistu_torch-0.3.8.tar.gz
- Upload date:
- Size: 251.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37f730ff0b7d0bd4271e0c841d9ee273e24c5b2fc2502d36d24d2ab4d4f2aaec
|
|
| MD5 |
14225f52820da30c8525cec13b7e1f27
|
|
| BLAKE2b-256 |
82f787f7c840af6449c64f4801ff853430641e7edd83af4201a5ec97b8d3f1d7
|
Provenance
The following attestation bundles were made for napistu_torch-0.3.8.tar.gz:
Publisher:
release.yml on napistu/napistu-torch
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
napistu_torch-0.3.8.tar.gz -
Subject digest:
37f730ff0b7d0bd4271e0c841d9ee273e24c5b2fc2502d36d24d2ab4d4f2aaec - Sigstore transparency entry: 824057768
- Sigstore integration time:
-
Permalink:
napistu/napistu-torch@17b6986e5e9402cec6b81903327e7235dfe31ecb -
Branch / Tag:
refs/heads/main - Owner: https://github.com/napistu
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@17b6986e5e9402cec6b81903327e7235dfe31ecb -
Trigger Event:
workflow_run
-
Statement type:
File details
Details for the file napistu_torch-0.3.8-py3-none-any.whl.
File metadata
- Download URL: napistu_torch-0.3.8-py3-none-any.whl
- Upload date:
- Size: 288.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
292c4cc5b5db5f5c33b15fa38560502add5b1aa7c30dbadef8be952ff025a028
|
|
| MD5 |
f67b8956ffdf6d7de3be35375f8a253c
|
|
| BLAKE2b-256 |
3d67cc404c0197293c3b9a56c32f8ef6c3325030438f23187babf61135048800
|
Provenance
The following attestation bundles were made for napistu_torch-0.3.8-py3-none-any.whl:
Publisher:
release.yml on napistu/napistu-torch
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
napistu_torch-0.3.8-py3-none-any.whl -
Subject digest:
292c4cc5b5db5f5c33b15fa38560502add5b1aa7c30dbadef8be952ff025a028 - Sigstore transparency entry: 824057831
- Sigstore integration time:
-
Permalink:
napistu/napistu-torch@17b6986e5e9402cec6b81903327e7235dfe31ecb -
Branch / Tag:
refs/heads/main - Owner: https://github.com/napistu
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@17b6986e5e9402cec6b81903327e7235dfe31ecb -
Trigger Event:
workflow_run
-
Statement type: