Skip to main content

Lint (ruff) Pytest with Coverage Type check (mypy) Build and Deploy Docs codecov Latest release Python 3.13+

TorchCell overview: literature and public databases feed an ontology and a knowledge graph (a); reference data and experiment data (b); persistent entities, the encoder, perturbation, and decoder path, and contingent observations (c)

Documentation: https://mjvolk3.github.io/torchcell/

Database: https://torchcell-database.ncsa.illinois.edu:7473/browser/ (Neo4j Browser over the served TorchCell knowledge graph)

Database releases and compatibility: https://mjvolk3.github.io/torchcell/database/compatibility.html

Datasets: https://mjvolk3.github.io/torchcell/datasets/index.html

Dataset downloads (the tc-data API): https://mjvolk3.github.io/torchcell/guide/downloads.html

Install

torchcell needs Python 3.13 or newer.

pip install torchcell      # or: uv pip install torchcell

On a machine with no GPU, select the CPU build of torch. The environment is then 2.4 GB in place of 7.0 GB, as measured in the download tutorial:

uv pip install --torch-backend cpu torchcell
pip install --extra-index-url https://download.pytorch.org/whl/cpu torchcell

Download a dataset

Built datasets are served as versioned archives (the records LMDB plus its build manifest) by the public tc-data endpoint on the database host, with Swagger at /docs. The endpoint takes no key. With TC_DATA_URL set, a loader downloads its archive, checks the sha256, and unpacks it instead of building from the publisher's files:

import os

os.environ["TC_DATA_URL"] = "http://torchcell-database.ncsa.illinois.edu:8724"

from torchcell.datasets.ecoli.campos2018 import GrowthRateCampos2018Dataset

dataset = GrowthRateCampos2018Dataset(root="data/torchcell/ecoli_growth_rate_campos2018")
record = dataset[0]  # a dict: experiment, reference, publication
print(len(dataset), record["experiment"]["phenotype"]["fitness"])

The loader reads TC_DATA_URL from the process environment and does not read a .env file itself. With the variable unset it builds from the publisher's files instead. An archive is read by the releases that share the major.minor it was packaged with.

Page Datasets (records) Archives packaged with
Downloading E. coli datasets Growth rate, Campos 2018 (3,664)
Cell shape and cell cycle, Campos 2018 (3,664)
Genetic interaction, Babu 2014 (42,705)
Metabolome, Fuhrer 2017 (3,806)
torchcell 1.8
Gene essentiality and single-mutant fitness Gene essentiality, SGD (1,329)
Single-mutant fitness, Costanzo 2016 (20,484)
torchcell 1.5
Amino acids and betaxanthin Amino acids, Mulleder 2016 (4,678)
Amine peaks, Cooper 2010 (4,313)
Betaxanthin, Cachera 2023 (4,719)
torchcell 1.5

The first page is a download tutorial that loads each dataset and prints its records. The other two describe what the experiments measured, the stored records, the value distributions, and the query that returns them from the knowledge graph. Downloading datasets documents the endpoint.

The full collection served by the knowledge graph (170 datasets, 73.1 million experiments at release 2026.10.17) is listed on the Datasets page.

Metadata

Release files for torchcell 1.8.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for torchcell 1.8.5
File Size Uploaded Provenance Actions
torchcell-1.8.5.tar.gz 4.8 MB With provenance Details for torchcell-1.8.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for torchcell 1.8.5
File Interpreter ABI Platform Actions
torchcell-1.8.5-py3-none-any.whl Python 3 none any Details for torchcell-1.8.5-py3-none-any.whl

Total release size: 10.2 MB

Release files / torchcell-1.8.5.tar.gz

Download URL torchcell-1.8.5.tar.gz
Size 4.8 MB
Tags Source
SHA-256 checksum
How to use checksums
8c60063bed97c672eca12a6b741b7954d11884b2eddfa294717d36f48138703e
BLAKE2b-256 checksum
How to use checksums
420f477dc5545193576c203425391a945c05646b84ad2078f2343626dc2872be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 17, 2026.

Transparency log

Release files / torchcell-1.8.5-py3-none-any.whl

Download URL torchcell-1.8.5-py3-none-any.whl
Size 5.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
61661ce704ca743da526d9b1de9c42d22fc63b5659a0e2fd052baad1d4f74e89
BLAKE2b-256 checksum
How to use checksums
3130171ec74b5871fb2ff2a9bf6bba114e5f22501d27c4b00ef74db3867bd4c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 17, 2026.

Transparency log

Security for torchcell 1.8.5

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for torchcell-1.8.5.tar.gz

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 Nov 17, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.8.5 This release

2 release files Full provenance

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