Skip to main content

This is a python wrapper for ATTIMO, a fast algorithm for mining time series motifs, with probabilistic guarantees.

The inner workings and guarantees of the algorithm are described in this paper.

If you find this software useful for your research, please use the following citation:

@article{DBLP:journals/pvldb/CeccarelloG22,
  author    = {Matteo Ceccarello and
               Johann Gamper},
  title     = {Fast and Scalable Mining of Time Series Motifs with Probabilistic
               Guarantees},
  journal   = {Proc. {VLDB} Endow.},
  volume    = {15},
  number    = {13},
  pages     = {3841--3853},
  year      = {2022},
  url       = {https://www.vldb.org/pvldb/vol15/p3841-ceccarello.pdf},
  timestamp = {Wed, 11 Jan 2023 17:06:38 +0100},
  biburl    = {https://dblp.org/rec/journals/pvldb/CeccarelloG22.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

Installation

pyATTIMO is a Rust library wrapped in Python. Therefore, if a wheel is available for your platform, you can install it simply by invoking:

pip install pyattimo

Otherwise, you need the Rust toolchain installed to be able to compile it. The simplest way is to visit https://rustup.rs/ and follow the instructions there. You will need the nightly toolchain:

curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly

After that, you can just run:

pip install pyattimo

At this point, you should have the pyattimo library available in your interpreter.

Usage

In essence, the library provides an iterator over the motifs of the given time series. The following snippet illustrates the basic usage:

import pyattimo

# Load an example time series
ts = pyattimo.load_dataset("ecg", prefix=1000000)

# Create the motifs iterator
motifs = pyattimo.MotifsIterator(ts, w=1000, max_k=100)

# Get the top motif via the iterator interface
m = next(motifs)

# Plot the motif just obtained
m.plot()

Further information and examples can be found here

Metadata

Release files for pyattimo 0.8.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 pyattimo 0.8.1
File Size Uploaded Provenance Actions
pyattimo-0.8.1.tar.gz 257.5 kB Without provenance Details for pyattimo-0.8.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for pyattimo 0.8.1
File Interpreter ABI Platform Actions
pyattimo-0.8.1-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.7 abi3 Linux glibc 2.17+ x86-64 Details for pyattimo-0.8.1-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
pyattimo-0.8.1-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.7 abi3 Linux glibc 2.17+ ARM64 Details for pyattimo-0.8.1-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
pyattimo-0.8.1-cp37-abi3-macosx_11_0_arm64.whl CPython 3.7 abi3 macOS 11.0+ ARM64 Details for pyattimo-0.8.1-cp37-abi3-macosx_11_0_arm64.whl

Total release size: 18.6 MB

Release files / pyattimo-0.8.1.tar.gz

Download URL pyattimo-0.8.1.tar.gz
Size 257.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c632d853858293f71516671486096fb6672d5c24ff02775132244be87b7da18e
BLAKE2b-256 checksum
How to use checksums
fb50303b64bddc1510267774ba0a307d8036e53ab29ff93ad12c050df5c58f24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.12.6

Release files / pyattimo-0.8.1-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL pyattimo-0.8.1-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 9.6 MB
Tags CPython 3.7 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
6d4339c595ffc465faf30f7d6ffaf17a79528a7dafc8fe38e1d9917d0c82730b
BLAKE2b-256 checksum
How to use checksums
022856efb22c8ae242a7b0b5694d7706c77c977f104c8e6a64b0caf0a39118e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.12.6

Release files / pyattimo-0.8.1-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL pyattimo-0.8.1-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 7.9 MB
Tags CPython 3.7 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
1b13e1518c5c059c9a4a4e5b3d5687ac2403495bef5c68bd72a5bcf626eaa686
BLAKE2b-256 checksum
How to use checksums
b93520716a94929c411400f6aa0895c115847fb1fb53c2da4134400188217fee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.12.6

Release files / pyattimo-0.8.1-cp37-abi3-macosx_11_0_arm64.whl

Download URL pyattimo-0.8.1-cp37-abi3-macosx_11_0_arm64.whl
Size 816.2 kB
Tags CPython 3.7 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
3f0cc6af3f7b00e76c20411c12cb2a70a318ef5558e345a01fd3f2b5cce7f7a6
BLAKE2b-256 checksum
How to use checksums
36446141ee8d6548011b455664c9c5613cc291b735117432e8ed3a3743c6a03d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.12.6

Security for pyattimo 0.8.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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