wobbegong
wobbegong converts Bioconductor objects (like BiocFrame, SummarizedExperiment, and SingleCellExperiment) into a set of static files optimized for HTTP range requests.
It includes a native Python client that allows you to query these datasets remotely, fetching only the specific genes or metadata columns you need without downloading the entire file.
[!NOTE]
Check out the R version of this package here.
Install
To get started, install the package from PyPI
pip install wobbegong
Quick Start
1. Convert Data (wobbegongify)
Use wobbegongify to convert your objects into static files.
from wobbegong import wobbegongify
from biocframe import BiocFrame
from singlecellexperiment import SingleCellExperiment
from scipy import sparse
import numpy as np
# 1. Create a SingleCellExperiment
counts = sparse.random(100, 20, density=0.1, format="csr")
pca = np.random.randn(20, 5)
sce = SingleCellExperiment(
assays={"counts": counts},
reduced_dims={"PCA": pca}
)
# 2. Convert to wobbegong format (defaults to zlib compression)
wobbegongify(sce, "output/my_study")
# OR use lz4 compression
wobbegongify(sce, "output/my_study", compression = "lz4")
2. Read Data (load)
Use wobbegong.load() to read data from a local path or a remote URL. The client automatically handles HTTP range requests for you.
import wobbegong
# Load from a local directory (or URL)
sce = wobbegong.load("output/my_study")
# Access Assays (Row-wise access is optimized)
counts = sce.get_assay("counts")
gene_expression = counts.get_row(0)
# Access Reduced Dimensions
pca = sce.get_reduced_dim("PCA")
pc1 = pca.get_column(0)
Note
This project has been set up using BiocSetup and PyScaffold.
Release files for wobbegong 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wobbegong-0.0.5.tar.gz | 34.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wobbegong-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 51.9 kB
Release files / wobbegong-0.0.5.tar.gz
| Download URL | wobbegong-0.0.5.tar.gz |
|---|---|
| Size | 34.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5e83bba25b4aeeeee2ad85e42cd1b55d63fe86351d5eba31bc981ed8d57ab743
|
|
BLAKE2b-256 checksum How to use checksums |
c9bab1cbf161599f470705415a2b809037c6286434f045cdcba2468e2df2f58f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.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.
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 Jan 31, 2026.
Transparency logRelease files / wobbegong-0.0.5-py3-none-any.whl
| Download URL | wobbegong-0.0.5-py3-none-any.whl |
|---|---|
| Size | 17.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8a66b97584ca9d2456f14cb9324f7b62438029e287b70803b9d883c990f40e4b
|
|
BLAKE2b-256 checksum How to use checksums |
dc526c60dd4b34f9211d055cd1df3b466e50611fba0f5549baf3a87e51de7735
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.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.
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 Jan 31, 2026.
Transparency log