Skip to main content

Python Binding for EyeLogic Eye Tracking Devices

This is the python wrapper for the EyeLogic eye tracking API. It offers the possibility to connect you with your device from any custom application.

Download and install

The EyeLogic python SDK is available via the Python Package Index (PyPI), and can be installed through pip. pip install eyelogic-sdk

You can also download the EyeLogic SDK directly from the eyelogic homepage. The SDK contains also bindings to other languages as well as a user manual and API description.

Usage

In your python script, import the eyelogic SDK:

from eyelogic.ELApi import *

In the __main__ section, the application implements its control flow. It consists of the following code lines:

api = ELApi("Demo Client")

This constructs a new instance of the ELApi class. The instanciation will automatically "initialize" the library. Hence, it will also be automatically be "deinitialized" whenever the api object gets out of scope, e.g. at the end of the program.

resultConnect = api.connect()

Connects to the EyeLogic server. Check for the return value in order to find out whether the connection was established successfully.

resultTracking = api.requestTracking(0)

Starts the tracking of the device. The parameter 0 specifies the frame-rate mode. If your device is capable of multiple frame-rate modes (60Hz, 120Hz, 250Hz), you can also enter a different number. The list of available frame-rates is given to the callback onDeviceConnected( ). Usually, the frame-rate mode 0 is the default (the highest available speed mode of your system).

resultCalibrate = api.calibrate(0)

Performs a calibration. This method blocks until the calibration was performed (or aborted). The parameter 0 denotes the type of calibration.

At the end of your recording, close the connection:

api.disconnect()

Metadata

Release files for eyelogic-sdk 1.2.4

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

Built distribution (wheel)

Table of built distributions (wheels) for eyelogic-sdk 1.2.4
File Interpreter ABI Platform Actions
eyelogic_sdk-1.2.4-py3-none-any.whl Python 3 none any Details for eyelogic_sdk-1.2.4-py3-none-any.whl

Release files / eyelogic_sdk-1.2.4-py3-none-any.whl

Download URL eyelogic_sdk-1.2.4-py3-none-any.whl
Size 1.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
ac0260a6b3bcb8f72b0cdbb8962440c774b4315d5026e4f522c514cb57d37b9e
BLAKE2b-256 checksum
How to use checksums
c5fa43694b1e12612b609bcd2ad5dda91773a2d0c241dd2d38125a9c1bc3491f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Security for eyelogic-sdk 1.2.4

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