{"categories":[{"label":"Scientific/Engineering","url":"https://skillfed.io/packages/category/scientific-engineering/5"}],"enrichment":{"capability":"Computes Dynamic Time Warping alignments between time series, measuring optimal temporal correspondence and cumulative distance with support for windowing and step-pattern constraints.","skillfed_tags":["time-series-analysis","sequence-alignment","scientific-computing"],"use_cases":["Classify or cluster financial time series (stock prices, economic indicators) by measuring temporal similarity.","Match speech or audio signals with different playback speeds or durations for speaker recognition or phoneme alignment.","Align medical time series (ECG, EEG, rehabilitation motion data) to detect patterns despite temporal variations.","Compare DNA or protein sequences with variable-length insertions/deletions in bioinformatics workflows.","Detect anomalies in sensor data by computing DTW distance to a reference normal pattern.","Perform real-time sequence matching with open-end constraints for streaming or incomplete time series."],"what_it_does":"dtw-python is a comprehensive implementation of Dynamic Time Warping algorithms for computing optimal alignments between time series. It measures how much temporal stretching or compression is needed to map one sequence onto another, outputting both the cumulative distance and the warping function (alignment path) itself. The package is widely used for time series classification, clustering, and pattern matching in domains like econometrics, chemistry, and bioinformatics.\n\nThe implementation supports arbitrary local constraints (symmetric, asymmetric, slope-limited step patterns) and global windowing constraints (Sakoe-Chiba band, Itakura parallelogram), partial matches (open-begin, open-end, substring), and proper normalization. It wraps fast native C code and depends on numpy and scipy for numerical operations. The package is a faithful Python port of R's established DTW package.","worth_installing":"Yes, if you need time series alignment or distance computation. Active maintenance, no known vulnerabilities, broad Python version support (3.9\u20133.13), and prebuilt wheels minimize friction. GPL-3.0-or-later copyleft is a blocker only if you cannot open-source your code. The package is production-stable and widely cited in academic literature."},"id":"dtw-python","links":{"html":"https://skillfed.io/packages/dtw-python","md":"https://skillfed.io/packages/dtw-python.md","pypi":"https://pypi.org/project/dtw-python/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-12","license_spdx":"GPL-3.0-or-later","license_treatment":"copyleft","name":"dtw-python","python_support":"supports_current","summary":"A comprehensive implementation of dynamic time warping (DTW) algorithms."},"popularity":{"monthly_downloads":250950,"position":8609,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.7.5"}
