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

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

Built distribution (wheel)

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

Total release size: 10.2 MB

Release files / torchcell-1.8.6.tar.gz

Download URL torchcell-1.8.6.tar.gz
Size 4.8 MB
Tags Source
SHA-256 checksum
How to use checksums
f7251a4e9f01030d00fb979d7aaceff55a7a624eada226a67703a1c3a2d5624a
BLAKE2b-256 checksum
How to use checksums
5456de64b362cf7c0921615196d00dbbc82a5551b86a61cccb9e9897d4e7ae72
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 18, 2026.

Transparency log

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

Download URL torchcell-1.8.6-py3-none-any.whl
Size 5.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
e83fe0d3525ee47b8c250290b4043a080c04e1d0e62326de348334a42d7d7276
BLAKE2b-256 checksum
How to use checksums
16a01ad5351e2674c634a7c0b2cf31600247b522e8e9fc87cdcd55a34268192e
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 18, 2026.

Transparency log

Security for torchcell 1.8.6

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.6.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 18, 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.6 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