Skip to main content

py-SPARKX

Review-stage Python reconstruction of a subset of SPARK, following the discovery, preregistration and reference-validation workflow in omicverse-rebuildr.

SPARK-X single and mixture projection kernels, covariates, ACAT and BY. No SPARK generalized linear spatial mixed models, normalization suite or arbitrary quadratic-form API.

Install and test

This project has not been published on PyPI. From this checkout:

python -m pip install ".[test]"
python -m pytest -q

Usage and function map

See the executed tutorial, R-to-Python parameter dictionary, and complete upstream export audit. Inputs, orientations and unsupported modes are documented in function docstrings. No R process is used at runtime.

Reproduce the R oracle

git clone https://github.com/xzhoulab/SPARK.git ../SPARK-ref
git -C ../SPARK-ref checkout a8b4bf27b804604dfda53da42992f100b8e4e727
Rscript tests/reference.R ../SPARK-ref
python -m pytest -q

The runner sources the pinned upstream functions, not a rewritten R approximation. RUVSeq S4 registration is intercepted to execute only matrix methods. SPARK sparse sum/mean helpers are supplied by Matrix, with unchanged statistical functions. MuSiC and muscat functions are sourced with their R dependencies loaded. muscat's source declares R >=4.6; this selected function subset was executed on R 4.5.2, not installed as the full package.

muscat's public fixture additionally uses Rscript tests/public_reference.R ../muscat-ref. All other primary fixtures are synthetic and do not establish biological accuracy. Numerical gates were committed before implementation and have not been widened.

Validation and limitations

4 focused tests passed locally without skips. See reconstruction report for scope and remaining release checks. This is fixture-level equivalence, not full-domain or full-package equivalence. Runtime objects and failure messages are Python-native.

Citation and license

Upstream SPARK at a8b4bf27b804604dfda53da42992f100b8e4e727; see ATTRIBUTION.md for upstream authors and package citation context, and LICENSE for terms.

Distribution preparation

The intended PyPI distribution is py-sparkx-omicverse; the import remains pysparkx. See release preparation for installed-wheel validation and the manual Trusted Publishing procedure. This preparation does not mean a PyPI release is available.

Metadata

Release files for py-sparkx-omicverse 0.1.0

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

Source distribution (sdist)

Source distribution for py-sparkx-omicverse 0.1.0
File Size Uploaded Provenance Actions
py_sparkx_omicverse-0.1.0.tar.gz 101.5 kB With provenance Details for py_sparkx_omicverse-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for py-sparkx-omicverse 0.1.0
File Interpreter ABI Platform Actions
py_sparkx_omicverse-0.1.0-py3-none-any.whl Python 3 none any Details for py_sparkx_omicverse-0.1.0-py3-none-any.whl

Total release size: 134.6 kB

Release files / py_sparkx_omicverse-0.1.0.tar.gz

Download URL py_sparkx_omicverse-0.1.0.tar.gz
Size 101.5 kB
Tags Source
SHA-256 checksum
How to use checksums
74464093d33dadb07073ebd9208cf176ed81415993130ccc15ca9acd98be174f
BLAKE2b-256 checksum
How to use checksums
55b40346607b44ccf94d02167044ae844cb10bfb35921db426df2c5105b03dfb
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 14, 2026.

Transparency log

Release files / py_sparkx_omicverse-0.1.0-py3-none-any.whl

Download URL py_sparkx_omicverse-0.1.0-py3-none-any.whl
Size 33.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e76c659607c1fdfc1a83bdaaefeb2dd1fd358bddb63899af7b9e1937b734c1b5
BLAKE2b-256 checksum
How to use checksums
306aaf2d54c7fea7a787605755635c8752eece421fad7afa5c65cf91f46892fb
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 14, 2026.

Transparency log

Security for py-sparkx-omicverse 0.1.0

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 py_sparkx_omicverse-0.1.0.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 14, 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

0.1.0 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