A python package bundling LabRecorder and liblsl, statically linked, to control LabRecorder from Python.
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pylabrecorder-0.1.0.tar.gz.
File metadata
- Download URL: pylabrecorder-0.1.0.tar.gz
- Upload date:
- Size: 1.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c522e9272e49168e10870a185f880c65bf3e1b97e7454a6c30521a92f25e2f09
|
|
| MD5 |
f0054fe20579558729f010a14b135b9c
|
|
| BLAKE2b-256 |
22fe70155e756f2e52a4461f925a5352ad5d4000206d2f8c0c2015918d5e5143
|
File details
Details for the file pylabrecorder-0.1.0-cp314-cp314t-win_amd64.whl.
File metadata
- Download URL: pylabrecorder-0.1.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.8 {"installer":{"name":"uv","version":"0.11.8","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c75bcf99f8e535ba7e6b6c1095e6211f79e2f57182dbf2be0cd98374328f8830
|
|
| MD5 |
d1cecc986d561cfdf67ad2b75811cb2a
|
|
| BLAKE2b-256 |
76859e1cb0660b365006c53078aed1f436b510eb3d8b682c9679c2e73d53c6c0
|
File details
Details for the file pylabrecorder-0.1.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: pylabrecorder-0.1.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.8 {"installer":{"name":"uv","version":"0.11.8","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1cc149a70a40a1bc09dff6fbfdc9744b1ba823e137fa1f5d397f6c964eca4f0
|
|
| MD5 |
f1c101a06c542e9e49dbeb43fc934810
|
|
| BLAKE2b-256 |
b056474f2b715e8164bbccf9b4235f367beab18385ab3404db5c15c59d618c8d
|
File details
Details for the file pylabrecorder-0.1.0-cp314-cp314t-macosx_11_0_arm64.whl.
File metadata
- Download URL: pylabrecorder-0.1.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.8 {"installer":{"name":"uv","version":"0.11.8","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17fd0bf9d22cd8eb255c7cd08b75f3228d8022073b1ee3e39fcce00c6ba9b4b8
|
|
| MD5 |
655ed12474b25f5b86ec70c144ef5c8e
|
|
| BLAKE2b-256 |
5581a49a7e1275d725c707d114f4eb2823ae501ce2db54944be2ee6b8d4c0600
|
File details
Details for the file pylabrecorder-0.1.0-cp311-abi3-win_amd64.whl.
File metadata
- Download URL: pylabrecorder-0.1.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.8 {"installer":{"name":"uv","version":"0.11.8","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a767f531807f1cf292945de7b1ac4f27c6db41be8dfb72f2e2924e11ec984c3
|
|
| MD5 |
10acba029051d87cbdd0a23ec90c81c9
|
|
| BLAKE2b-256 |
15c3a9b1e6db82a44bc87d411447b12fba1200367926312ddff92349ed72d92f
|
File details
Details for the file pylabrecorder-0.1.0-cp311-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: pylabrecorder-0.1.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.8 {"installer":{"name":"uv","version":"0.11.8","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
160bce406bc5c770a363d9b57390c4119583849c82407a117962459c28f7c077
|
|
| MD5 |
6ff999757497293828c00d91611afd3b
|
|
| BLAKE2b-256 |
a5460a65bf69dc12a14fedbcec3715c9c902deb90d7501a68de1adbbaef9bd5b
|
File details
Details for the file pylabrecorder-0.1.0-cp311-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: pylabrecorder-0.1.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.8 {"installer":{"name":"uv","version":"0.11.8","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69b6159087f96d7f80989286f8c28f7b97de58e945140bfc2589e871062c04b3
|
|
| MD5 |
96313157763611df46af40d119d71c71
|
|
| BLAKE2b-256 |
3760199cd066ae662a31cf64ddb0969308bcf8c3de1672189bdbab6cef4f641c
|