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 install timings:

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
The 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.7

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.7
File Size Uploaded Provenance Actions
torchcell-1.8.7.tar.gz 4.8 MB With provenance Details for torchcell-1.8.7.tar.gz

Built distribution (wheel)

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

Total release size: 10.2 MB

Release files / torchcell-1.8.7.tar.gz

Download URL torchcell-1.8.7.tar.gz
Size 4.8 MB
Tags Source
SHA-256 checksum
How to use checksums
f7e6abe9f44554de20f31d10aa485c25c3c41d56a9cea1f26ab89fadc4ec0866
BLAKE2b-256 checksum
How to use checksums
838b0cff0154783f0cd8e5aef1420eaa24c0ff66f3a78745e1a63c4314cfabb6
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 19, 2026.

Transparency log

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

Download URL torchcell-1.8.7-py3-none-any.whl
Size 5.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
2ddc12e1e0154c6070835a14232d59c2a1560cfab89baad174074ed88b917689
BLAKE2b-256 checksum
How to use checksums
9ac9ea63ddcd904871403c381831a9bf4df8865f5a0d5fef84f6df9991fffc57
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 19, 2026.

Transparency log

Security for torchcell 1.8.7

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.7.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 19, 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.7 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