Skip to main content

gpbiometricspy

PyPI Python

gpbiometricspy is the Python counterpart of gpbiometrics, with the supplied gpbiometrics 2.0.0 source release frozen as its initial semantic reference. It provides Gazepoint-native tools for importing, validating, preprocessing, analysing, plotting, modelling, synchronising, and reporting biometric and multimodal eye-tracking data.

Parity status

The current development tree has reached the frozen R API contract:

  • 406 / 406 R exports implemented and registered
  • 0 pending exports
  • 200+ Python parity/edge tests
  • whole-package statement coverage ≥ 90%
  • packaged synthetic kiosk demo: 36 participants, 69,120 rows
  • frozen R reference retained: 144 R sources, 403 Rd files, 120 R test files, and 26 vignette/article sources

The project deliberately distinguishes API completion from an absolute claim that independent R and Python runtimes are numerically identical in every external-library/version combination. The frozen R tests and implementation are retained in reference/ so parity can continue to be audited.

Install

Install the public release from PyPI:

python -m pip install gpbiometricspy

For optional integrations:

python -m pip install "gpbiometricspy[interop]"

For a source checkout used in package development:

python -m pip install -e ".[dev]"

Individual extras are available for heartpy, biosppy, pyhrv, neurokit, mne, lsl, bayes, stats, docs, and dev.

Quick start

import gpbiometricspy as gp

# Load the public synthetic kiosk demo distributed with the package.
data = gp.load_kiosk_demo()
print(data.shape)  # (69120, ...)

# Inspect biometric signal validity / availability.
validity = gp.summarise_gazepoint_biometric_validity(data)

# Extract TTL transitions.
events = gp.extract_gazepoint_ttl_events(data)

# Example native pyHRV-style workflow from IBI values.
hrv = gp.run_gazepoint_pyhrv_style(
    nni_ms=data.loc[data["IBI"].notna(), "IBI"].head(500).to_numpy() * 1000
)

The demo is fully synthetic and is intended only for examples, testing, and reproducible workflow demonstrations.

Deep validation layers

Beyond the 406/406 export freeze, development on main includes independent R↔Python golden fixtures, floor/current optional-backend interoperability CI, 26 executable Python article companions, and a privacy-preserving real-data validation CLI. See the documentation site for the distinction between API parity and deeper cross-runtime/backend evidence.

Scientific scope

The 2.0.0 parity surface covers, among other areas:

  • Gazepoint biometric file/folder import, schema detection, validation and QC;
  • EDA/GSR/SCR preprocessing, artifacts, response detection, windows, habituation/recovery, spectral/nonlinear descriptors and external bridges;
  • HR/IBI/HRV/PPG processing, pyHRV-style, HeartPy-style and BioSPPy-style workflows, nonlinear HRV, RQA/geometric metrics and respiratory proxies;
  • pupil, gaze, fixation, saccade, AOI and event-locked multimodal workflows;
  • TTL alignment, synchronization drift, LSL/XDF, MNE and BIDS-oriented bridges;
  • cluster permutation testing plus explicit guardrails for designs that the R package intentionally refuses;
  • reproducibility, preregistration, audit trails, readiness checks, reporting, plots, workflow summaries, simulation and synthetic smoke testing.

Interpretation guardrails

gpbiometricspy preserves the conservative interpretation policy of the R package. Physiological and eye-tracking signals are measurements and derived features; they do not directly establish emotion, stress, cognition, preference, health status, or diagnosis. Pupil measurements remain sensitive to luminance and visual context, and respiration estimates derived from PPG or other surrogate channels are proxies unless independently validated.

Reference precedence

When Python and explanatory prose disagree, parity work follows:

  1. frozen gpbiometrics 2.0.0 implementation;
  2. frozen R tests;
  3. formal Rd documentation;
  4. vignettes/examples;
  5. repository/site explanatory material.

See the documentation site source in docs/, the machine-readable export inventory in reference/r-export-inventory.csv, and VALIDATION.md for the current release gates.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gpbiometricspy-0.1.1.tar.gz (9.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gpbiometricspy-0.1.1-py3-none-any.whl (8.4 MB view details)

Uploaded Python 3

File details

Details for the file gpbiometricspy-0.1.1.tar.gz.

File metadata

  • Download URL: gpbiometricspy-0.1.1.tar.gz
  • Upload date:
  • Size: 9.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for gpbiometricspy-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2c701d664fd13fbea64921d34dce1410c46677fd788435d97369f1fbacf98231
MD5 6c5977a70d741faefe8e25a1c4ca4e7e
BLAKE2b-256 1c9380313545efe2c19449266afdecc867eb992843839498fa9a97dca1228bf0

See more details on using hashes here.

Provenance

The following attestation bundles were made for gpbiometricspy-0.1.1.tar.gz:

Publisher: pypi.yml on stefanosbalaskas/gpbiometricspy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gpbiometricspy-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: gpbiometricspy-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for gpbiometricspy-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a266e916ba1ac00e77a9d30fc3e898eecf462229e28a8d09542fe01a0985a943
MD5 2c5699d2347084b9271686c37b4dd429
BLAKE2b-256 3c73667182bb0d66030f01fb8c6e66d2640c65973fd4c4774ec7938e9adea5e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for gpbiometricspy-0.1.1-py3-none-any.whl:

Publisher: pypi.yml on stefanosbalaskas/gpbiometricspy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

This release

0.1.1 This release

2 files

0.1.0

2 files

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