Skip to main content

Python interface to the Lab Streaming Layer

Reason this release was yanked:

CI failed to package a dll

Project description

pylsl

Build Status Build status

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.

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

Installation

Prepared distributions

Note: The manylinux wheels are currently broken. We are awaiting manylinux2010 rollout. Follow here.

The following platforms are supported with direct installation from pypi using pip: pip install pylsl

macOS 10.6+ manylinux i686 manylinux x86_64 Windows 32bit Windows 64bit
Python 2.7
Python 3.4
Python 3.5
Python 3.6
Python 3.7

More or less experimental releases are in tstenner's anaconda repo, install with conda install -c tstenner pylsl.

Self-built

If your platform is not supported by any of the prepared distributions then you will have to find or build a liblsl shared library for your platform. You might be able to find the appropriate liblsl shared object (*.so on Linux, *.dylib on MacOS, or *.dll on Windows) from the liblsl release page.

  • Copy the shared object into liblsl-Python/pylsl/lib (use cp -L on platforms that use symlinks).
  • From the liblsl-Python working directory, run pip install ..
    • Note: You can use pip install -e . to install while keeping the files in-place. This is convenient for developing 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.

For maintainers

Continuous Integration

pylsl uses continuous integration. It uses AppVeyor for Windows and Linux, and Travis-CI for MacOS. Whenever a new commit is pushed, AppVeyor and Travis build liblsl, copy it into the correct directory, install pylsl, then test its basic functionality. In addition, whenever a new git tag is used on a commit that is pushed to the master branch, the CI systems will deploy new wheels to pypi.

Manual Distrubtion

  1. Manual way:
    1. rm -Rf build dist *.egg-info
    2. python setup.py sdist bdist_wheel
    3. Additional steps on Linux:
      • auditwheel repair dist/*.whl -w dist
      • rm dist/*-linux_x86_64.whl
    4. twine upload dist/*
  2. For conda
    1. build liblsl: conda build ../liblsl/
    2. conda build .

Known Issues

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

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.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

pylsl-1.13.3-py2.py3-none-win_amd64.whl (32.2 kB view details)

Uploaded Python 2 Python 3 Windows x86-64

pylsl-1.13.3-py2.py3-none-win32.whl (905.2 kB view details)

Uploaded Python 2 Python 3 Windows x86

pylsl-1.13.3-py2.py3-none-manylinux2010_x86_64.whl (905.2 kB view details)

Uploaded Python 2 Python 3 manylinux: glibc 2.12+ x86-64

pylsl-1.13.3-py2.py3-none-manylinux1_x86_64.whl (1.6 MB view details)

Uploaded Python 2 Python 3

pylsl-1.13.3-py2.py3-none-macosx_10_13_x86_64.whl (983.3 kB view details)

Uploaded Python 2 Python 3 macOS 10.13+ x86-64

File details

Details for the file pylsl-1.13.3-py2.py3-none-win_amd64.whl.

File metadata

  • Download URL: pylsl-1.13.3-py2.py3-none-win_amd64.whl
  • Upload date:
  • Size: 32.2 kB
  • Tags: Python 2, Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/2.7.17

File hashes

Hashes for pylsl-1.13.3-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e56694285d967d7ce51936539ef1225b0e550c2b771b8a1199340cc4b9f34b50
MD5 5a83e4956ca8150c3948b43e9b7651fc
BLAKE2b-256 0dcaec8e4ebcae49c0db4423ce1196500d79ce86c0b1da4f6b224247f13ae93f

See more details on using hashes here.

Provenance

File details

Details for the file pylsl-1.13.3-py2.py3-none-win32.whl.

File metadata

  • Download URL: pylsl-1.13.3-py2.py3-none-win32.whl
  • Upload date:
  • Size: 905.2 kB
  • Tags: Python 2, Python 3, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/2.7.17

File hashes

Hashes for pylsl-1.13.3-py2.py3-none-win32.whl
Algorithm Hash digest
SHA256 a947e1cc09e5210302f7fac8cdd6aa98fcde454ee8c0ab3c54813646f7d2868e
MD5 7a107abb09dc1b2a3e94c620202c6969
BLAKE2b-256 88ef44e1807eb504f3b7bd79b9d7d43eb1a4654fdac0e1d8b351306c5dc45fe0

See more details on using hashes here.

Provenance

File details

Details for the file pylsl-1.13.3-py2.py3-none-manylinux2010_x86_64.whl.

File metadata

  • Download URL: pylsl-1.13.3-py2.py3-none-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 905.2 kB
  • Tags: Python 2, Python 3, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/2.7.17

File hashes

Hashes for pylsl-1.13.3-py2.py3-none-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 b192be721c7c8f30f17dc93b2721ca5ffedeec40ed160137d5c0e53dedb099ff
MD5 d0488c7319a4076f7f36f0792e733ade
BLAKE2b-256 0e0da6357c3b5c0a60ac3d0754c45126ec4c2a546005ba7b483c4a7eb55d1235

See more details on using hashes here.

Provenance

File details

Details for the file pylsl-1.13.3-py2.py3-none-manylinux1_x86_64.whl.

File metadata

  • Download URL: pylsl-1.13.3-py2.py3-none-manylinux1_x86_64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/2.7.17

File hashes

Hashes for pylsl-1.13.3-py2.py3-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c99ff8222507193f2b4287b1ec01d67b801f5c4a1b28463c7aeb83cedc7517de
MD5 239c16652b80f51ac3a9fd43ea0ea581
BLAKE2b-256 a96f5489ce26807b97998b195cb7b318f366785bd6e53b51ca9afc00a3afb3a1

See more details on using hashes here.

Provenance

File details

Details for the file pylsl-1.13.3-py2.py3-none-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: pylsl-1.13.3-py2.py3-none-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 983.3 kB
  • Tags: Python 2, Python 3, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/2.7.17

File hashes

Hashes for pylsl-1.13.3-py2.py3-none-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 aa66bcb973e617af25389bb03f8c4eff8d63e6db79e43a265bc554ef2d7a951e
MD5 83e6edd700ff58a1ace28d9280761a03
BLAKE2b-256 500b2cdb3145984bc58b8a0dde6a61495686d802bae774fc034e350c7819c2d6

See more details on using hashes here.

Provenance

Supported by

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