Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

pymovements


PyPI Latest Release Conda Latest Release PyPI status Python version Operating System License Test Status Documentation Status codecov PyPI Downloads Binder

pymovements is an open-source python package for processing eye movement data. It provides a simple interface to download publicly available datasets, preprocess gaze data, detect oculomotoric events and render plots to visually analyze your results.

Installation

pymovements can be installed from PyPI via pip:

pip install pymovements

or from conda-forge:

conda install -c conda-forge pymovements

For other options, including uv and installing from source for development, see the installation guide.

Getting Started

If you are new to pymovements or to eye-tracking data analysis, we recommend starting with the User Guide, which introduces the concepts, data structures, and workflows used throughout the library: 👉 User Guide

Quick example

For a minimal example of loading and processing eye-tracking data with pymovements:

import pymovements as pm

dataset = pm.Dataset(
    'JuDo1000',  # choose a public dataset from our dataset library
    path='data/judo100',  # setup your local dataset path
)
dataset.download()  # download a public dataset from our dataset library
dataset.load()  # load the dataset

Transform coordinates and calculate velocities:

dataset.pix2deg()  # transform pixel coordinates to degrees of visual angle
dataset.pos2vel()  # transform positional data to velocity data

Detect oculomotoric events:

dataset.detect('ivt')  # detect fixation using the I-VT algorithm
dataset.detect('microsaccades')  # detect saccades using the microsaccades algorithm

Contributing

We welcome any sort of contribution to pymovements!

For a detailed guide, please refer to our CONTRIBUTING.md first.

If you have any questions, please open an issue or write to us at pymovements@python.org

Use of Generative AI

Generative AI tools are used, under human direction, in the development and maintenance of pymovements. Anthropic's Claude, JetBrains' Junie, and GitHub Copilot assist some contributors and maintainers with tasks such as code generation, drafting tests and documentation, and code review.

Every change to the codebase requires an approving review from at least one maintainer before merging, and the maintainer team takes responsibility for the correctness and quality of all code and documentation in this package.

Citing

If you use pymovements for a scientific publication, we would appreciate citations to the published software and the following paper:

  • pymovements on Zenodo. Please find us on Zenodo and replace with the citation for the version you are using. You can replace the full author list from there with "The pymovements project team" like in the example below.

      @software{pymovements,
        author    = {The pymovements project team},
        title     = {pymovements: A Python Package for Processing Eye Movement Data},
        month     = apr,
        year      = 2026,
        publisher = {Zenodo},
        version   = {v0.26.2},
        doi       = {10.5281/zenodo.19486286},
        url       = {https://doi.org/10.5281/zenodo.19486286},
      }
    
  • pymovements: A Python Package for Processing Eye Movement Data

      @inproceedings{pymovementsPaper,
        author    = {
          Krakowczyk, Daniel G. and Reich, David R. and Chwastek, Jakob and Jakobi, Deborah N.
          and Prasse, Paul and Süss, Assunta and Turuta, Oleksii and Kasprowski, Pawe\l{}
          and J\"{a}ger, Lena A.
        },
        title     = {pymovements: A Python Package for Processing Eye Movement Data},
        year      = {2023},
        isbn      = {9798400701504},
        publisher = {Association for Computing Machinery},
        address   = {New York, NY, USA},
        url       = {https://doi.org/10.1145/3588015.3590134},
        doi       = {10.1145/3588015.3590134},
        booktitle = {Proceedings of the 2023 Symposium on Eye Tracking Research and Applications},
        articleno = {53},
        numpages  = {2},
        location  = {Tubingen, Germany},
        series    = {ETRA '23}
      }
    

In case you want to cite specific parts of the package, like our dataset library or data quality reports, please consider citing our other publications listed on our citing page.

Acknowledgements

The pymovements project was partially funded by the Swiss National Science Foundation (SNSF) and the German Federal Ministry of Education and Research (BMBF). Please refer to our acknowledgements page for a comprehensive overview of funding and support.

Metadata

Release files for pymovements 0.29.0rc1

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

Source distribution (sdist)

Source distribution for pymovements 0.29.0rc1
File Size Uploaded Provenance Actions
pymovements-0.29.0rc1.tar.gz 374.3 kB With provenance Details for pymovements-0.29.0rc1.tar.gz

Built distribution (wheel)

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

Total release size: 897.5 kB

Release files / pymovements-0.29.0rc1.tar.gz

Download URL pymovements-0.29.0rc1.tar.gz
Size 374.3 kB
Tags Source
SHA-256 checksum
How to use checksums
dcc3e9d63386f231e6c0f01041e81cf0646fc41a8edad18491b2cf5162796890
BLAKE2b-256 checksum
How to use checksums
4b490266540deccabf9a8c2c728518b85d223612a19d0344444b4d7f1cf2a808
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 3, 2026.

Transparency log

Release files / pymovements-0.29.0rc1-py3-none-any.whl

Download URL pymovements-0.29.0rc1-py3-none-any.whl
Size 523.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
363c9111254c1338b98fbe1da7ecff698c62a1d53ed8dd38ccd56821fa06eee5
BLAKE2b-256 checksum
How to use checksums
64c284c9e336ac7431b7487761e913254f54808b89c7c2783cbc6a7f77f85b2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 3, 2026.

Transparency log

Security for pymovements 0.29.0rc1

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 pymovements-0.29.0rc1.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 Dec 3, 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
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