$npx skillfedfor your agent

pyts

A python package for time series classification

With conditionsPyPI Software DevelopmentReleased Jun 2023131.7K downloads / monew BSDPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pyts-0.13.0-py3-none-any.whl
v0.13.0 · released 2023-06-18 · 5 runtime deps: numpy, scipy, scikit-learn, joblib, numba

Yes, if you need time series classification and want a well-structured, scikit-learn-compatible library with multiple algorithms and transformations. The permissive license, low install friction, and established dependencies make it low-risk. However, the last release was in June 2023, so verify that the package's algorithms and dependencies align with your Python and library versions before committing to production use.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >= 3.8 and working installations of numpy, scipy, scikit-learn, joblib, and numba; Numba in particular may require a C compiler on some systems.
  • Low friction install with a pure-Python wheel.
  • Depends on five established scientific packages (numpy, scipy, scikit-learn, joblib, numba); all are widely available.

License · maintenance · safety

new BSD (permissive) — Licensed under new BSD (permissive), which allows commercial and private use with minimal restrictions—suitable for most projects without legal friction.

last release 2023-06-18 (1153 days) · last repo commit 2025-06-18 · 1,875 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 131,673 downloads/mo, #11,579 on PyPI

Verify before relying

pip install pyts

from pyts.classification import SAXVSM
from pyts.datasets import load_UCR

X_train, X_test, y_train, y_test = load_UCR('GunPoint')
clf = SAXVSM()
clf.fit(X_train, y_train)
clf.score(X_test, y_test)
  • Specific performance benchmarks or accuracy comparisons against other time series classification libraries.
  • Whether the package is actively maintained beyond the June 2023 release or if recent commits represent only minor updates.
  • Real-world scalability limits for very long time series or high-dimensional multivariate data.
Same gist for agents: .md · .json

What it is and what it does

Pyts is a scikit-learn-style library for time series classification that implements state-of-the-art algorithms and provides a suite of preprocessing and transformation tools. It bridges the gap between raw temporal data and machine learning by offering multiple ways to represent time series—from symbolic approximations (Piecewise Aggregate Approximation, Symbolic Aggregate approXimation) to image-based encodings (Recurrence Plot, Gramian Angular Field) to bag-of-words models. The library also includes specialized classifiers like SAXVSM, BOSSVS, Learning Shapelets, and Time Series Forest, as well as time-series-specific metrics such as Dynamic Time Warping variants and the BOSS metric.

The package is built on top of numpy, scipy, scikit-learn, joblib, and numba, inheriting their maturity and performance characteristics. It is designed for developers and researchers who need to classify temporal sequences—whether univariate or multivariate—without building these algorithms from scratch. The modular structure (approximation, bag_of_words, classification, decomposition, image, metrics, preprocessing, transformation) allows you to compose pipelines for custom workflows, and it includes utilities to fetch benchmark datasets from the UEA & UCR Time Series Classification Repository.

Use it for

  • Classify sensor time series (e.g., accelerometer data, ECG signals) using shapelet or bag-of-words approaches.
  • Transform raw time series into symbolic or image representations for use with standard classifiers.
  • Compute specialized distance metrics (Dynamic Time Warping) between temporal sequences for nearest-neighbor classification.
  • Preprocess multivariate time series (e.g., stock prices, weather data) sample-wise before feeding to downstream models.
  • Benchmark your own time series classifier against state-of-the-art algorithms using UCR/UEA datasets.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need time series classification and want a well-structured, scikit-learn-compatible library with multiple algorithms and transformations.

The permissive license, low install friction, and established dependencies make it low-risk. However, the last release was in June 2023, so verify that the package's algorithms and dependencies align with your Python and library versions before committing to production use.

Install

pyts on PyPI

Before you install

Low friction install with a pure-Python wheel. Depends on five established scientific packages (numpy, scipy, scikit-learn, joblib, numba); all are widely available. Last release was in June 2023 and the repository remains active, though the package is marked as aging in maintenance status.

Requires Python >= 3.8 and working installations of numpy, scipy, scikit-learn, joblib, and numba; Numba in particular may require a C compiler on some systems.

License in practice

Licensed under new BSD (permissive), which allows commercial and private use with minimal restrictions—suitable for most projects without legal friction.

Quickstart

pip install pyts

from pyts.classification import SAXVSM
from pyts.datasets import load_UCR

X_train, X_test, y_train, y_test = load_UCR('GunPoint')
clf = SAXVSM()
clf.fit(X_train, y_train)
clf.score(X_test, y_test)

Verify before relying

  • Specific performance benchmarks or accuracy comparisons against other time series classification libraries.
  • Whether the package is actively maintained beyond the June 2023 release or if recent commits represent only minor updates.
  • Real-world scalability limits for very long time series or high-dimensional multivariate data.

Package facts

Licensenew BSD permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
5 packages
numpyscipyscikit-learnjoblibnumba
MaintenanceAging 1,153 days since the last release
Last repo commit
First released
Downloads131,673 / month, #11,579 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI ApprovedOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIXOperating System :: UnixProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Scientific/EngineeringTopic :: Software Development

Evidence: pyts-0.13.0-py3-none-any.whl

Tags

Capabilities
time series classificationtemporal data machine learningtime series feature extractionsymbolic time series approximationtime series distance metricsshapelet-based classificationtime series preprocessing tools
Topics
time-seriesclassificationfeature-extraction

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 › “time series classification”

  • pytsPyts provides time series classification algorithms and preprocessing…
  • sktimesktime provides a unified interface for time series machine learning…
  • tslearntslearn provides machine learning algorithms optimized for time…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also antropy · pypots · stumpy · tslearn · sktime · benchpots · dtw-python · darts · pyriemann · ruptures