TreeData - AnnData with trees
TreeData is a lightweight wrapper around AnnData which adds two additional attributes, obst and vart, to store nx.DiGraph trees for observations and variables. TreeData has the same interface as AnnData and is fully compatible with scverse packages like Scanpy.
To learn more about TreeData, please refer to the documentation or checkout the getting started guide.
See the Pycea documentation to learn how TreeData can be used to analyze single-cell lineage tracing data.
Installation
You need to have Python 3.10 or newer installed on your system. If you don't have Python installed, we recommend installing Mambaforge.
There are several alternative options to install treedata:
- Install the latest release of
treedatafrom PyPI:
pip install treedata
- Install the latest development version:
pip install git+https://github.com/YosefLab/treedata.git@main
Release notes
See the changelog.
Contact
For questions and bug reports please use the issue tracker.
Citation
t.b.a
Metadata
Release files for treedata 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| treedata-0.3.1.tar.gz | 643.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| treedata-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 665.6 kB
Release files / treedata-0.3.1.tar.gz
| Download URL | treedata-0.3.1.tar.gz |
|---|---|
| Size | 643.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d45dac68d44ad619a9d974ed9f1653739326e291facf07f0dedecf1428a8dff3
|
|
BLAKE2b-256 checksum How to use checksums |
5ec3d6e3e5afd374c889270a85370fcad10d61bf6b2fbce12ded17353588eb7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 8, 2026.
Transparency logRelease files / treedata-0.3.1-py3-none-any.whl
| Download URL | treedata-0.3.1-py3-none-any.whl |
|---|---|
| Size | 22.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
89cd6b71d4ebf3b99155b956032c6a756ea721981e4dd32acc76a7a6a599ac9f
|
|
BLAKE2b-256 checksum How to use checksums |
d63176c6dfab4f714145f5bd5085ae9ed687b260e306b6baa1a480a6911a3cdc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 8, 2026.
Transparency log