Skip to main content

pylsl

This is the Python interface to the Lab Streaming Layer (LSL). LSL is an overlay network for real-time exchange of time series between applications, most often used in research environments. LSL has clients for many other languages and platforms that are compatible with each other.

Pylsl should work with any recent version of the liblsl library (which is also included with this package), on any operating system and with any recent Python version, including 2.7+ and 3.x.

Let us know if you encounter any bugs (ideally using the issue tracker on the GitHub project).

Installation

The preferred method of installation is to use pip: pip install pylsl

Usage

See the examples in pylsl/examples. Note that these can be run directly from the commandline with (e.g.) python -m pylsl.examples.SendStringMarkers.

Development

If you are a developer or if you are a user that would like to submit a pull request, then the easiest way to modify pylsl is to install it to your python environment in development mode:

  1. Clone this repository.
  2. Download the correct liblsl shared object (*.so on Linux, *.dylib on MacOS, or *.dll on Windows) from the liblsl release page and copy it into this directory's pylsl folder.
    • On platforms with symlinks, be sure to use cp -L to copy the links correctly.
  3. In a conda terminal / command prompt / terminal, make sure your preferred python environment is active.
  4. cd to the root directory for this repository, then do pip install -e .

For pypi maintainers

  1. Manual way:
    1. rm -Rf build dist *.egg-info
    2. python setup.py sdist bdist_wheel
    3. twine upload dist/*
  2. TODO: AppVeyor/Travis

Known Issues

  • On Linux one currently cannot call pylsl functions from a thread that is not the main thread.
  • Though

Acknowledgments

Pylsl was primarily written by Christian Kothe while at Swartz Center for Computational Neuroscience, UCSD. The LSL project was funded by the Army Research Laboratory under Cooperative Agreement Number W911NF-10-2-0022 as well as through NINDS grant 3R01NS047293-06S1. Thanks for contributions, bug reports, and suggestions go to Bastian Venthur, Chadwick Boulay, David Medine, Clemens Brunner, and Matthew Grivich.

Release files for pylsl 1.12.2

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

Source distribution (sdist)

Source distribution for pylsl 1.12.2
File Size Uploaded
pylsl-1.12.2.tar.gz 2.7 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for pylsl 1.12.2
File Interpreter ABI Platform
pylsl-1.12.2-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 5.3 MB

Release files / pylsl-1.12.2.tar.gz

Download URL pylsl-1.12.2.tar.gz
Size 2.7 MB
Tags Source
SHA-256 checksum
How to use checksums
8469b6f74624390876e82ce80a3ba1fa96fd9b22dc053cc9287c11086674052c
BLAKE2b-256 checksum
How to use checksums
5b1e71fb9b89c713fcddb63304ee52ae14bc2ba9b20cd7e019e0fe1c92df32af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0

Release files / pylsl-1.12.2-py2.py3-none-any.whl

Download URL pylsl-1.12.2-py2.py3-none-any.whl
Size 2.7 MB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
2e4391a75e38effb924e76f66b8f510cc2412aecc145b9d3092047adb8c70a8d
BLAKE2b-256 checksum
How to use checksums
a963ffa84bb429d1b42a7b3451e11847cbfb95a2151ed4016c99e1ba732f7252
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0

Release history Release notifications | RSS feed

1.18.5

6 release files

1.18.4

6 release files

1.18.2

6 release files

1.18.1

6 release files

1.18.0

2 release files

1.17.6

4 release files

1.17.5

4 release files

1.17.4

4 release files

1.17.3

2 release files

1.17.2

2 release files

1.17.1

2 release files

1.17.0

2 release files

1.16.2

3 release files

1.16.1

3 release files

1.16.0

5 release files

1.15.0

4 release files

1.14.0

4 release files

1.13.6

4 release files

1.13.5

5 release files

1.13.4

5 release files

1.13.3

5 release files

1.13.2

5 release files

This release

1.12.2 This release

2 release files

1.10.5

1 release file

1.10.3

2 release 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