Skip to main content

Downloads PyPI Latest Release Python version support

labManager v1.0.5

System for managing multi-station multi-tenant lab setups - client

This package is part of the labManager tools, a collection of tools for managing behavioral research setups. Please see here for more information.

Installation

pip install labManager-client
# or
pip install labManager-client[eye-tracker] # ①
  1. use the eye-tracker extra to enable support for reporting the status of Tobii Pro eye trackers to the labManager-master tool.

Example script

An example script for running the labManager client script is provided here.

Configuration

The below shows the schema used for parsing the configuration file for labManager client, using StrictYAML’s notation. An example configuration file is also available.

'network': s.Str(),                         # Network on which to discover clients, e.g. 10.0.1.0/24
'network_retry': s.Map({                    # Configuration for retrying to get network connection on startup.
                                            # Useful whenit may take some time for the network connection to
                                            # come up after the computer station starts
    'number_tries': s.Int(),                # Number of times to try
    'wait': s.Int(),                        # Wait duration (s) between tries
}),

'service_discovery_protocol':               # Protocol to use for client discovery, MDNS or SSDP
    s.Enum(['MDNS','SSDP']),

s.Optional('MDNS'): s.Map({
    'service': s.Str(),                     # Service name to discover when using MDNS, e.g.,
}),                                         # _master._labManager._tcp.local.

s.Optional('SSDP'): s.Map({
    'device_type': s.Str(),                 # Device type to announce and listen for when using SSDP, e.g.,
}),                                         # urn:schemas-upnp-org:device:labManager

Standalone deployment

One simple way to make a standalone install of the app is to download WinPython, e.g. the latest 3.10.x version. I think this is recommended instead of using a system-wide or user installation of Python, so that users of the computer are unlikely to accidentally interfere with the Python distribution that runs the management tools.

Do as follows:

  1. Download the dot version, not the full package, e.g. Winpython64-3.10.11.1dot.
  2. Run the downloaded exe, which unzips the WinPython files.
  3. Take the python folder from the unzipped files (e.g. python-3.10.11.amd64), you do not need the rest. This is your python distribution. Put it where you want on the disk.
  4. Open a command prompt in the root of the Python installation. Install the wanted labManager packages into it using, e.g., .\python.exe -m pip install labManager-client.
  5. Finally use the python.exe in the folder to execute your script, such the example script to launch this tool.

Acknowledgements

This project was made possible by funding from the LMK foundation, Sweden.

Metadata

Release files for labManager-client 1.0.5

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

Source distribution (sdist)

Source distribution for labManager-client 1.0.5
File Size Uploaded
labmanager_client-1.0.5.tar.gz 7.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for labManager-client 1.0.5
File Interpreter ABI Platform
labmanager_client-1.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 15.6 kB

Release files / labmanager_client-1.0.5.tar.gz

Download URL labmanager_client-1.0.5.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e342acfa401642b30997e469fe165791e245d1b6ae264e10ea913fb4f86621b1
BLAKE2b-256 checksum
How to use checksums
b1a0ecac876a06c099f8ccf029dc0244537df31805dc3e1ff19900782cfaa6a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / labmanager_client-1.0.5-py3-none-any.whl

Download URL labmanager_client-1.0.5-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0b7b19bd84aac0ae52dfb814e4e6b5f19d7a825bfbacd643e159259c784e9992
BLAKE2b-256 checksum
How to use checksums
64198df1cac42ead4fe735a95329173494a9bb81fe637429fe63b019baa2e64a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Release history Release notifications | RSS feed

This release

1.0.5 This release

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.0

2 release files

0.9.0

2 release files

0.8.6

2 release files

0.8.5

2 release files

0.8.4

2 release files

0.8.3

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

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