Skip to main content

A python package bundling LabRecorder and liblsl, statically linked, to control LabRecorder from Python.

Project description

Ruff Code style: black Imports: isort codecov ci

PyLabRecorder

A Python package to control LabRecorder from Python. The wheel statically bundles liblsl and the LabRecorderCLI binary, so no separate installation of either is required.

Installation

pylabrecorder is published on PyPI:

pip install pylabrecorder

Wheels are provided for Linux, macOS, and Windows on Python 3.11+.

Usage

from pylabrecorder import LabRecorder

recorder = LabRecorder()
recorder.start(
    "recording.xdf",
    streams=[
        {"name": "stream1", "source_id": "source1"},
        {"name": "stream2", "source_id": "source2"},
    ],
)
# ... acquisition runs in the background ...
recorder.stop()

Each entry in streams is a dictionary mapping LSL stream metadata keys (name, type, source_id, ...) to the value to match. Pass streams=None to record every stream available on the network.

Project details


Download files

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

Source Distribution

pylabrecorder-0.2.0.tar.gz (1.3 MB view details)

Uploaded Source

Built Distributions

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

pylabrecorder-0.2.0-cp314-cp314t-win_amd64.whl (273.6 kB view details)

Uploaded CPython 3.14tWindows x86-64

pylabrecorder-0.2.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (318.5 kB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

pylabrecorder-0.2.0-cp314-cp314t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl (292.7 kB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.26+ ARM64manylinux: glibc 2.28+ ARM64

pylabrecorder-0.2.0-cp314-cp314t-macosx_11_0_arm64.whl (262.8 kB view details)

Uploaded CPython 3.14tmacOS 11.0+ ARM64

pylabrecorder-0.2.0-cp311-abi3-win_amd64.whl (265.0 kB view details)

Uploaded CPython 3.11+Windows x86-64

pylabrecorder-0.2.0-cp311-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (318.5 kB view details)

Uploaded CPython 3.11+manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

pylabrecorder-0.2.0-cp311-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl (292.7 kB view details)

Uploaded CPython 3.11+manylinux: glibc 2.26+ ARM64manylinux: glibc 2.28+ ARM64

pylabrecorder-0.2.0-cp311-abi3-macosx_11_0_arm64.whl (262.8 kB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

File details

Details for the file pylabrecorder-0.2.0.tar.gz.

File metadata

  • Download URL: pylabrecorder-0.2.0.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pylabrecorder-0.2.0.tar.gz
Algorithm Hash digest
SHA256 263d5f24fa4d6261b46eb7109aeb40eb32eaa4e13b74fe79c109531a22da15eb
MD5 813e5bbff029bd4a9eb090a6dbe730b7
BLAKE2b-256 738cd0e0a19654b56ab49e4d59e53019a87802785104156cce1d8a42becffe0d

See more details on using hashes here.

File details

Details for the file pylabrecorder-0.2.0-cp314-cp314t-win_amd64.whl.

File metadata

  • Download URL: pylabrecorder-0.2.0-cp314-cp314t-win_amd64.whl
  • Upload date:
  • Size: 273.6 kB
  • Tags: CPython 3.14t, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pylabrecorder-0.2.0-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 87828043cc42ff854898c61555eb97ae4b835fa2ddbcaa4aa1b429b6492d4658
MD5 05ed8e9b752a56b6c837630e551d3273
BLAKE2b-256 002e661b30726631353eac08434aa8e82d5a249e63694fce0a12e042cc2e0686

See more details on using hashes here.

File details

Details for the file pylabrecorder-0.2.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: pylabrecorder-0.2.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 318.5 kB
  • Tags: CPython 3.14t, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pylabrecorder-0.2.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bf0bb6eca55cf7c828643ad1e2f9522ddf906e7bc1b915337474895fed2651d8
MD5 d6ccd22cb2554d2bba2f7b229b92bf3b
BLAKE2b-256 b5b828aa9805d9dcba271d3583cf11b71a4bfdcf349aa36c8421581df9281909

See more details on using hashes here.

File details

Details for the file pylabrecorder-0.2.0-cp314-cp314t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.

File metadata

  • Download URL: pylabrecorder-0.2.0-cp314-cp314t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
  • Upload date:
  • Size: 292.7 kB
  • Tags: CPython 3.14t, manylinux: glibc 2.26+ ARM64, manylinux: glibc 2.28+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pylabrecorder-0.2.0-cp314-cp314t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 31fc52bc539322e1ce9f12e78efdbc26ebb2d570fa9c3b6743d49bcc77901e10
MD5 0c0edd3a7d2684590797a1120336e71c
BLAKE2b-256 78de69a734f49eba0764f8d530fcfabb785a78b91d7715e9945934c958acfdda

See more details on using hashes here.

File details

Details for the file pylabrecorder-0.2.0-cp314-cp314t-macosx_11_0_arm64.whl.

File metadata

  • Download URL: pylabrecorder-0.2.0-cp314-cp314t-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 262.8 kB
  • Tags: CPython 3.14t, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pylabrecorder-0.2.0-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f77e8bd7026d4c5dc2fdbcce449c4fa30a2179260168ec7c085e65ab680c81a6
MD5 3b124366d33d8f1a573619aa85651771
BLAKE2b-256 f11692da253c2dc593ac7d612613feaf273aedbbe161050a1fe9c1a20e423849

See more details on using hashes here.

File details

Details for the file pylabrecorder-0.2.0-cp311-abi3-win_amd64.whl.

File metadata

  • Download URL: pylabrecorder-0.2.0-cp311-abi3-win_amd64.whl
  • Upload date:
  • Size: 265.0 kB
  • Tags: CPython 3.11+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pylabrecorder-0.2.0-cp311-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 7d38384977c76939adca92fa0e52c0ed59bca6d0eb230cd0d38b0f5aff612da9
MD5 f455509e651afcb40e4406cb667bf92e
BLAKE2b-256 3dee393614fa2a0da13bc90c85cbc68559db2f0a87be81c62b90e4c4eef7b629

See more details on using hashes here.

File details

Details for the file pylabrecorder-0.2.0-cp311-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: pylabrecorder-0.2.0-cp311-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 318.5 kB
  • Tags: CPython 3.11+, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pylabrecorder-0.2.0-cp311-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8e9686819c7324c0ec49048f6f6a967270b40a5bae7037ad4d354c01da9d4f67
MD5 b0ff79a3aa5a4f53deb5ecd5d94e8451
BLAKE2b-256 0fc4921733b0eb58ca5408ff4f2014745e01749fbd9c0658051a86c7fa730fde

See more details on using hashes here.

File details

Details for the file pylabrecorder-0.2.0-cp311-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.

File metadata

  • Download URL: pylabrecorder-0.2.0-cp311-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
  • Upload date:
  • Size: 292.7 kB
  • Tags: CPython 3.11+, manylinux: glibc 2.26+ ARM64, manylinux: glibc 2.28+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pylabrecorder-0.2.0-cp311-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9a948407d58e75e6b161498e36649321a74e71189b19598e5c8d463242c1b86e
MD5 6e95da87a65ff626e6d10250e47e7b7e
BLAKE2b-256 846992671594dd1c4d5adb36211ab28805e62cf685542db8d99279e734066425

See more details on using hashes here.

File details

Details for the file pylabrecorder-0.2.0-cp311-abi3-macosx_11_0_arm64.whl.

File metadata

  • Download URL: pylabrecorder-0.2.0-cp311-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 262.8 kB
  • Tags: CPython 3.11+, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pylabrecorder-0.2.0-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4fb782614bc09175833517e3bd20927167c89f37755fdd269f50325c404e472c
MD5 5c50d0fe1634da9f5c0ca671cee60c13
BLAKE2b-256 948a19af585aefdc56d211a57c0768e450c47c0cde72db6f29c6d0dfc0febe9e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page