decoupler - Ensemble of methods to infer enrichment scores
decoupler is a python package containing different enrichment statistical methods to extract biologically driven scores from omics data within a unified framework.
This is its faster and memory efficient Python implementation, a deprecated version in R can be found here.
decoupler is part of the scverse® project (website, governance) and is fiscally sponsored by NumFOCUS. If you like scverse® and want to support our mission, please consider making a tax-deductible donation to help the project pay for developer time, professional services, travel, workshops, and a variety of other needs.
Getting started
Please refer to the documentation, in particular, the API documentation.
Installation
You need to have Python 3.12 or newer installed on your system. If you don't have Python installed, we recommend installing uv.
There are several alternative options to install decoupler:
- Install the latest stable release from PyPI with minimal dependancies:
pip install decoupler
- Install the latest stable full release from PyPI with extra dependancies:
pip install decoupler[full]
- Install the latest stable version from conda-forge using mamba or conda (pay attention to the
-pysuffix at the end):
mamba create -n=dcp conda-forge::decoupler-py
- Install the latest development version:
pip install git+https://github.com/scverse/decoupler.git@main
Agent Skill
decoupler ships an Agent Skill that teaches coding agents to use the library correctly. Install it into your agent's skills directory by choosing a framework with --agent {claude,codex,agents,claude-science} (or an explicit directory with --dest):
decoupler-install-skills --agent claude
Re-run with --force after upgrading, use --check to see whether an installed copy is up to date, or --print-path to show where the bundled copy lives inside the package.
Release notes
See the changelog.
Contact
For questions and help requests, you can reach out in the scverse discourse. If you found a bug, please use the issue tracker.
License
Enrichment methods inside decoupler can be used for academic or commercial purposes, except viper which holds a non-commercial license.
The data redistributed by OmniPath does not have a single license, each original resource has its own. By default, decoupler
assumes an academic license, but commercial or nonprofit licenses can be specified in the license parameter of decoupler's OmniPath functions.
Here one can find the license information of all the resources in OmniPath.
Citation
Badia-i-Mompel P., Vélez Santiago J., Braunger J., Geiss C., Dimitrov D., Müller-Dott S., Taus P., Dugourd A., Holland C.H., Ramirez Flores R.O. and Saez-Rodriguez J. 2022. decoupleR: Ensemble of computational methods to infer biological activities from omics data. Bioinformatics Advances. https://doi.org/10.1093/bioadv/vbac016
Metadata
Release files for decoupler 2.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| decoupler-2.3.0.tar.gz | 941.6 kB | With provenance | Details for decoupler-2.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| decoupler-2.3.0-py3-none-any.whl | Python 3 | none | any | Details for decoupler-2.3.0-py3-none-any.whl |
Total release size: 1.1 MB
Release files / decoupler-2.3.0.tar.gz
| Download URL | decoupler-2.3.0.tar.gz |
|---|---|
| Size | 941.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e43834c1defb972da93d4a0700ecaaea70e773d4461fa05001accebd8c07fbd1
|
|
BLAKE2b-256 checksum How to use checksums |
6f4f0db36f6f605fab09247151f889bc256663889fe613886e273df4e6aa0915
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 24, 2026.
Transparency logRelease files / decoupler-2.3.0-py3-none-any.whl
| Download URL | decoupler-2.3.0-py3-none-any.whl |
|---|---|
| Size | 135.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d51201feae88503155859a217c4391fe140a1c6f909dc0abe5d3cfb4d0307639
|
|
BLAKE2b-256 checksum How to use checksums |
924402b2aa293031bf4a1c8523ef5cea81bf3751205df83938035b6e3bd26504
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 24, 2026.
Transparency logSecurity for decoupler 2.3.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.
Attestation for decoupler-2.3.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 Oct 24, 2026.
Transparency logA 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.