neurokit2
The Python Toolbox for Neurophysiological Signal Processing.
Decision gist · record as of 2026-08-14
Yes, if you work with physiological signals and want to avoid building signal processing pipelines from scratch. The package is actively maintained, permissively licensed, has low install friction, and is backed by published research. The Pre-Alpha classifier is a minor concern—verify current stability for production use—but the active repository, recent releases, and substantial community adoption suggest it is reliable for research and clinical applications.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >=3.10; eight runtime dependencies (numpy, scipy, scikit-learn, pandas, matplotlib, pywavelets, requests, setuptools) will be installed automatically.
- Low install friction with a pure-Python wheel.
- Maintenance is active with recent commits and a substantial community (2324 stars).
License · maintenance · safety
MIT License (permissive) — MIT License permits commercial and private use with minimal restrictions; you may use, modify, and distribute the package freely provided you include the license notice.
last release 2026-03-02 (165 days) · last repo commit 2026-08-07 · 2,324 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 175,694 downloads/mo, #10,260 on PyPI
Alternatives
Verify before relying
pip install neurokit2
import neurokit2 as nk
data = nk.data("bio_eventrelated_100hz")
processed_data, info = nk.bio_process(ecg=data["ECG"], rsp=data["RSP"], eda=data["EDA"], sampling_rate=100)
results = nk.bio_analyze(processed_data, sampling_rate=100)- Whether the package's Pre-Alpha classifier (Development Status :: 2) reflects current stability or is outdated given active maintenance since 2019.
- Real-world performance and accuracy of signal processing algorithms compared to domain-specific alternatives.
- Whether all eight runtime dependencies are truly necessary for typical use cases or if some are optional.
What it is and what it does
NeuroKit2 is a Python toolbox for processing and analyzing physiological signals commonly recorded in research and clinical settings. It wraps complex signal processing operations (filtering, peak detection, feature extraction) into high-level functions that researchers and clinicians can call with minimal code—the description example shows analysis completed in two function calls. The package supports multiple signal types: ECG (electrocardiogram), RSP (respiration), EDA (electrodermal activity), EMG (electromyography), PPG (photoplethysmography), and EOG (electrooculography).
The package is built on established scientific libraries (numpy, scipy, scikit-learn, pandas, matplotlib) and provides both simple "master" functions for standard workflows and lower-level functions for custom pipelines. It includes example datasets and supports signal simulation for testing. The codebase is actively maintained, has a published peer-reviewed paper (2021), and is designed to be accessible to users without deep expertise in signal processing or programming.
Use it for
- Preprocess and extract heart rate variability features from ECG recordings for cardiovascular research.
- Analyze electrodermal activity (skin conductance) peaks and troughs in emotion or stress studies.
- Extract respiratory rate and variability metrics from respiration signals in sleep or exercise studies.
- Simulate synthetic physiological signals to validate custom analysis pipelines before applying them to real data.
- Perform event-related analysis by aligning and processing multiple signal types around experimental events.
- Locate and delineate ECG waveform components (P, Q, R, S, T waves) for detailed cardiac morphology analysis.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you work with physiological signals and want to avoid building signal processing pipelines from scratch.
The package is actively maintained, permissively licensed, has low install friction, and is backed by published research. The Pre-Alpha classifier is a minor concern—verify current stability for production use—but the active repository, recent releases, and substantial community adoption suggest it is reliable for research and clinical applications.
Install
neurokit2 on PyPI
Before you install
Low install friction with a pure-Python wheel. Maintenance is active with recent commits and a substantial community (2324 stars). Supports modern Python versions (3.10–3.14).
Requires Python >=3.10; eight runtime dependencies (numpy, scipy, scikit-learn, pandas, matplotlib, pywavelets, requests, setuptools) will be installed automatically.
License in practice
MIT License permits commercial and private use with minimal restrictions; you may use, modify, and distribute the package freely provided you include the license notice.
Quickstart
pip install neurokit2
import neurokit2 as nk
data = nk.data("bio_eventrelated_100hz")
processed_data, info = nk.bio_process(ecg=data["ECG"], rsp=data["RSP"], eda=data["EDA"], sampling_rate=100)
results = nk.bio_analyze(processed_data, sampling_rate=100)
Verify before relying
- Whether the package's Pre-Alpha classifier (Development Status :: 2) reflects current stability or is outdated given active maintenance since 2019.
- Real-world performance and accuracy of signal processing algorithms compared to domain-specific alternatives.
- Whether all eight runtime dependencies are truly necessary for typical use cases or if some are optional.
Package facts
| License | MIT License permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 8 packagesmatplotlibnumpypandaspywaveletsrequestsscikit-learnscipysetuptools |
| Maintenance | Actively maintained 165 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 175,694 / month, #10,260 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 2 - Pre-AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: neurokit2-0.2.13-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “ECG signal processing”
- neurokit2NeuroKit2 processes physiological signals (ECG, RSP, EDA, EMG, PPG,…
- wfdbRead, write, process, and plot physiologic signal and annotation data…
- antropyAntroPy computes entropy and fractal dimension measures from…
Give your agent the search over MCP, or paste the wish link into any chat.
More Information Analysis packages
A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.
pyarrow provides Python bindings to Apache Arrow's C++ libraries for efficient columnar data processing, serialization, and interoperability with pandas, NumPy, and other Python ecosystem tools.
NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.
Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.
ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.
Snowpark Python provides APIs to query and process data directly in Snowflake without moving data to your local system, with support for both native Snowpark and pandas-compatible interfaces.
Install it if you use Snowflake and want to process data without moving it to your application layer.
See also pyPPG · wfdb · edfio · mne · antropy · noisereduce · ruptures · PeakUtils · cysignals · benchpots