Skip to main content

decoupler - Ensemble of methods to infer enrichment scores

Tests Documentation

Issues Coverage Stars

PyPI Downloads month Downloads all

Conda version Conda downloads

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:

  1. Install the latest stable release from PyPI with minimal dependancies:
pip install decoupler
  1. Install the latest stable full release from PyPI with extra dependancies:
pip install decoupler[full]
  1. Install the latest stable version from conda-forge using mamba or conda (pay attention to the -py suffix at the end):
mamba create -n=dcp conda-forge::decoupler-py
  1. 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.1

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

Source distribution (sdist)

Source distribution for decoupler 2.3.1
File Size Uploaded Provenance Actions
decoupler-2.3.1.tar.gz 942.8 kB With provenance Details for decoupler-2.3.1.tar.gz

Built distribution (wheel)

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

Total release size: 1.1 MB

Release files / decoupler-2.3.1.tar.gz

Download URL decoupler-2.3.1.tar.gz
Size 942.8 kB
Tags Source
SHA-256 checksum
How to use checksums
24080418a1c44c001761b277559b2b9a1029a65a9b27021df0e6cf807e65cd55
BLAKE2b-256 checksum
How to use checksums
b8e44a9cd934a075216b1e4cce87387b639cc6bbcfd1e06725a07074e0c2c098
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 26, 2026.

Transparency log

Release files / decoupler-2.3.1-py3-none-any.whl

Download URL decoupler-2.3.1-py3-none-any.whl
Size 135.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8e374dc75881d250e3905d717e33ecf11fd6482980524dfbb8e032091abc8516
BLAKE2b-256 checksum
How to use checksums
845198066921272f894d981b826ae89a8c6c0c6c87414914a077e9963f24ed33
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 26, 2026.

Transparency log

Security for decoupler 2.3.1

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 decoupler-2.3.1.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 26, 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

2.3.1 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