Skip to main content

Python interface to the Lab Streaming Layer

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

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. 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.1-cp37-cp37m-win_amd64.whl (419.4 kB view details)

Uploaded CPython 3.7m Windows x86-64

pylsl-1.13.1-cp37-cp37m-win32.whl (335.1 kB view details)

Uploaded CPython 3.7m Windows x86

pylsl-1.13.1-cp37-cp37m-macosx_10_6_intel.whl (985.8 kB view details)

Uploaded CPython 3.7m macOS 10.6+ intel

pylsl-1.13.1-cp36-cp36m-win_amd64.whl (419.4 kB view details)

Uploaded CPython 3.6m Windows x86-64

pylsl-1.13.1-cp36-cp36m-win32.whl (335.1 kB view details)

Uploaded CPython 3.6m Windows x86

pylsl-1.13.1-cp36-cp36m-macosx_10_6_intel.whl (985.8 kB view details)

Uploaded CPython 3.6m macOS 10.6+ intel

pylsl-1.13.1-cp35-cp35m-win_amd64.whl (419.4 kB view details)

Uploaded CPython 3.5m Windows x86-64

pylsl-1.13.1-cp35-cp35m-win32.whl (335.1 kB view details)

Uploaded CPython 3.5m Windows x86

pylsl-1.13.1-cp35-cp35m-macosx_10_6_intel.whl (985.8 kB view details)

Uploaded CPython 3.5m macOS 10.6+ intel

pylsl-1.13.1-cp34-cp34m-win_amd64.whl (419.4 kB view details)

Uploaded CPython 3.4m Windows x86-64

pylsl-1.13.1-cp34-cp34m-win32.whl (335.1 kB view details)

Uploaded CPython 3.4m Windows x86

pylsl-1.13.1-cp34-cp34m-macosx_10_6_intel.whl (985.8 kB view details)

Uploaded CPython 3.4m macOS 10.6+ intel

pylsl-1.13.1-cp27-cp27m-win_amd64.whl (419.5 kB view details)

Uploaded CPython 2.7m Windows x86-64

pylsl-1.13.1-cp27-cp27m-win32.whl (335.1 kB view details)

Uploaded CPython 2.7m Windows x86

pylsl-1.13.1-cp27-cp27m-macosx_10_6_intel.whl (985.8 kB view details)

Uploaded CPython 2.7m macOS 10.6+ intel

File details

Details for the file pylsl-1.13.1-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: pylsl-1.13.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 419.4 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

File hashes

Hashes for pylsl-1.13.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 74458500789a95f00381f4d75c7dc43a460c84e7eef3167dc0835e52c748fd59
MD5 d5e5190b8b29da4c9203886a0d0f3010
BLAKE2b-256 0b9ab94800662e66464984aed1ff26e89d07da47a1ac766e7ee876dd8cd445f0

See more details on using hashes here.

File details

Details for the file pylsl-1.13.1-cp37-cp37m-win32.whl.

File metadata

  • Download URL: pylsl-1.13.1-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 335.1 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

File hashes

Hashes for pylsl-1.13.1-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 d18638364f19b71dbed4dd9521515aa87dc0466ac8a91d2859421c1e5ae5feeb
MD5 9308d4288397924e6f48680171848a03
BLAKE2b-256 7f2ddfb47aa9070b2499897441e91dda71ce3dbd74c421d9826729594950b228

See more details on using hashes here.

File details

Details for the file pylsl-1.13.1-cp37-cp37m-macosx_10_6_intel.whl.

File metadata

  • Download URL: pylsl-1.13.1-cp37-cp37m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 985.8 kB
  • Tags: CPython 3.7m, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

File hashes

Hashes for pylsl-1.13.1-cp37-cp37m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 8402af97f0f22a222e7018d2888db68af4a12ea9adb69585e6f2d15fcea25353
MD5 2511d149d3d55072488bfab314a2a8a4
BLAKE2b-256 2e8805c278688972594865453d84f2ee224f8fd7f80c23db5fbeae06368b8c29

See more details on using hashes here.

File details

Details for the file pylsl-1.13.1-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: pylsl-1.13.1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 419.4 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

File hashes

Hashes for pylsl-1.13.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 758c7446bf212d8af936f8d5ac6f7fc89ff1b80ebfffa45f87e0ec7e2567c388
MD5 471f662d97c46f81cf870eb864ad4218
BLAKE2b-256 5f321e996b1a0a7f27cd06947b687fb9159eb62186d38988abab49adf48bdc59

See more details on using hashes here.

File details

Details for the file pylsl-1.13.1-cp36-cp36m-win32.whl.

File metadata

  • Download URL: pylsl-1.13.1-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 335.1 kB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

File hashes

Hashes for pylsl-1.13.1-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 87e7aa3fbe1100930d9eba6b11a708c766d615700262dd80937a05a50ef7f700
MD5 79964a7d00c7d18878bfae36a79a1916
BLAKE2b-256 b95316fdf35eb1184b09344cfdfd8b712114f48a45c0f3c44ec69cae0bbbd615

See more details on using hashes here.

File details

Details for the file pylsl-1.13.1-cp36-cp36m-macosx_10_6_intel.whl.

File metadata

  • Download URL: pylsl-1.13.1-cp36-cp36m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 985.8 kB
  • Tags: CPython 3.6m, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

File hashes

Hashes for pylsl-1.13.1-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 ea45c6e24296a65282ad285d4361644cd4ea2fa3d5e352db6371a943df738de6
MD5 4c5d9af6739df1f6e683d018c680bbf8
BLAKE2b-256 5f12cdc01d5f41a8dcd5c6d33a679ff3b63e5ea973f60979df75fed3136c6bf0

See more details on using hashes here.

File details

Details for the file pylsl-1.13.1-cp35-cp35m-win_amd64.whl.

File metadata

  • Download URL: pylsl-1.13.1-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 419.4 kB
  • Tags: CPython 3.5m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

File hashes

Hashes for pylsl-1.13.1-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 13523733b969566de3b74e86eac23ce72de032079ded80d84c93ae0dd8560cc8
MD5 6d7dbe422aaa79d84f1dd6f46a888b6f
BLAKE2b-256 1af9b64ff6a13bb1124b5b45cc1d527296bdac4b0604ad094e90d7c065e4cee2

See more details on using hashes here.

File details

Details for the file pylsl-1.13.1-cp35-cp35m-win32.whl.

File metadata

  • Download URL: pylsl-1.13.1-cp35-cp35m-win32.whl
  • Upload date:
  • Size: 335.1 kB
  • Tags: CPython 3.5m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

File hashes

Hashes for pylsl-1.13.1-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 96c556d1994fa818d7d1d5cd8e11ab9ccb2fe2bd3d2797c49814cb5ca968df97
MD5 d8cf11f5e1050df1292fefd2bb332366
BLAKE2b-256 d764aab0536edb1d06f651538df524dbca1ef973b414c702d2b721277f589455

See more details on using hashes here.

File details

Details for the file pylsl-1.13.1-cp35-cp35m-macosx_10_6_intel.whl.

File metadata

  • Download URL: pylsl-1.13.1-cp35-cp35m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 985.8 kB
  • Tags: CPython 3.5m, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

File hashes

Hashes for pylsl-1.13.1-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 d1d341d282c8b6cf25e759987d84a3d1dc05149e2569709ba592504f9c15d2f1
MD5 535ba121b3aaf96e7938c17391a473bd
BLAKE2b-256 15554c4de1147654754ccd1c57edd0f4def3d4b7b89cbd3d4b0b942bde688fea

See more details on using hashes here.

File details

Details for the file pylsl-1.13.1-cp34-cp34m-win_amd64.whl.

File metadata

  • Download URL: pylsl-1.13.1-cp34-cp34m-win_amd64.whl
  • Upload date:
  • Size: 419.4 kB
  • Tags: CPython 3.4m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

File hashes

Hashes for pylsl-1.13.1-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 7bb1049d840e9dca978605b8a383ae469a6e2d4e1b750a20d27dcce895ec4ba4
MD5 225b0d7dc8f8b22c764534d861e42a73
BLAKE2b-256 68df2034e1c49cdab3f29568b76fb94c7cf8f88204ab29b504d49d09cd2b6690

See more details on using hashes here.

File details

Details for the file pylsl-1.13.1-cp34-cp34m-win32.whl.

File metadata

  • Download URL: pylsl-1.13.1-cp34-cp34m-win32.whl
  • Upload date:
  • Size: 335.1 kB
  • Tags: CPython 3.4m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

File hashes

Hashes for pylsl-1.13.1-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 24f6b7e49b23a17281c95d9e2d8b39bc85b0be881ddf36aeb583e69f0c589e9a
MD5 69a522d6012483f82fce7313786d2fb7
BLAKE2b-256 fdff83209e3d8295eaf5bf388c01710d2393bf179013561bdaca1d8db1d963e9

See more details on using hashes here.

File details

Details for the file pylsl-1.13.1-cp34-cp34m-macosx_10_6_intel.whl.

File metadata

  • Download URL: pylsl-1.13.1-cp34-cp34m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 985.8 kB
  • Tags: CPython 3.4m, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

File hashes

Hashes for pylsl-1.13.1-cp34-cp34m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 e57f9730adf32b36a8a0b0a0754e1a08b7bfd181806e88c2beb322e3eb439534
MD5 1be60692296bea9e1e522fd69a61bef8
BLAKE2b-256 d6278252c6fd496e436d278d85fd7cd927a1809ae1606f50dd8558d9702713d7

See more details on using hashes here.

File details

Details for the file pylsl-1.13.1-cp27-cp27m-win_amd64.whl.

File metadata

  • Download URL: pylsl-1.13.1-cp27-cp27m-win_amd64.whl
  • Upload date:
  • Size: 419.5 kB
  • Tags: CPython 2.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

File hashes

Hashes for pylsl-1.13.1-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 640bc3712eb1733e7d499afd52c52d1333e6490d1a292fab366c019ef48679eb
MD5 5668a342d85cbd7abe601251cb662aa8
BLAKE2b-256 0cb05aed86b1bef247bfb5bd015bdb919edf38910adfa03eb0cf514d84e373e3

See more details on using hashes here.

File details

Details for the file pylsl-1.13.1-cp27-cp27m-win32.whl.

File metadata

  • Download URL: pylsl-1.13.1-cp27-cp27m-win32.whl
  • Upload date:
  • Size: 335.1 kB
  • Tags: CPython 2.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

File hashes

Hashes for pylsl-1.13.1-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 f1ce61d12cb34decedaae50d37b9a998012398680b375512279f9faa9eb3635f
MD5 ef80e3c5f6390c9596d0521cf3fc0e5d
BLAKE2b-256 aab227f73a5994447f4b70f7cac4832432ba35fe866fdd276ad74287f62cef6e

See more details on using hashes here.

File details

Details for the file pylsl-1.13.1-cp27-cp27m-macosx_10_6_intel.whl.

File metadata

  • Download URL: pylsl-1.13.1-cp27-cp27m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 985.8 kB
  • Tags: CPython 2.7m, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

File hashes

Hashes for pylsl-1.13.1-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 89938fb0f87dc0d1f85cad32ee3868233571f35646fd7e527933dec2205a511d
MD5 0331a936044c356dbc4ee4f798b7e67c
BLAKE2b-256 6765f827020d5bc331d202b8723489b5d5039004455c4e77a77e7c486cf11386

See more details on using hashes here.

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