Skip to main content

WaveLine

CI Documentation Status Coverage Status License: MIT PyPI PyPI - Python Version Ruff

Documentation · Examples

Python library to easily interface with Vallen Systeme WaveLine™ devices using the public APIs:

  • linWave (prior names: conditionWave, FyrSonic)
  • spotWave

Getting started

Install the latest version from PyPI:

$ pip install waveline

Run examples:

$ python examples/linwave_ae.py  # if you have a linWave device
$ python examples/spotwave_ae.py  # if you have a spotWave device

Explore further examples and have a look at the documentation.

Contributing

Feature requests, bug reports and fixes are always welcome!

Development setup

After cloning the repository, you can easily install the development environment and tools (pylint, mypy, pytest, tox) with. Using a virtual environment is strongly recommended.

$ git clone https://github.com/vallen-systems/waveline.git
$ cd waveline

# Create virtual environment in directory .venv
$ python -m venv .venv
# Activate virtual environment
$ source .venv/bin/activate  # Linux
$ .venv\Scripts\activate  # Windows

# Install package (editable) and all development tools
$ pip install -e .[dev]

# Run formatter
$ ruff format .

# Run linter
$ ruff check .

# Run the test suite in the current environment
$ pytest

# Run the CI pipeline (checks and tests) for all targeted (and installed) Python versions with tox
$ tox

# Build the documentation
$ cd docs
$ make html  # Linux
$ .\make.bat html  # Windows

Run system tests

System level tests are only available, if the targeted device can be discovered.

Run system tests with a spotWave device:

$ pytest tests/system/spotwave --duration-acq 1

Measurement durations for long-term acquisition tests can be specified with the --duration-acq parameter (default: 1 second).

Run system tests with a linWave device (a specific IP can be provided with the --linwave-ip argument, otherwise the first discovered device will be used):

$ pytest tests/system/linwave --duration-acq 1 --linwave-ip 192.168.0.100

Metadata

Release files for waveline 0.10.0

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

Source distribution (sdist)

Source distribution for waveline 0.10.0
File Size Uploaded
waveline-0.10.0.tar.gz 38.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for waveline 0.10.0
File Interpreter ABI Platform
waveline-0.10.0-py3-none-any.whl Python 3 none any Details

Total release size: 59.8 kB

Release files / waveline-0.10.0.tar.gz

Download URL waveline-0.10.0.tar.gz
Size 38.7 kB
Tags Source
SHA-256 checksum
How to use checksums
2d4398737cfd963589a406caa0b55ee65b0ce7a0decd5b0d172a60f292528982
BLAKE2b-256 checksum
How to use checksums
a4ead9de7d738a7dd264c9e4dd295b7b9a0d00fed44d4e032519a10a5710533c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release files / waveline-0.10.0-py3-none-any.whl

Download URL waveline-0.10.0-py3-none-any.whl
Size 21.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e90ad1822367ab13320bea70661781dcdf9d22c7dade9cd7db48c0b78f27c9af
BLAKE2b-256 checksum
How to use checksums
aff5c896259a049b76785dfb3630569721aad4f82a8e31c655fc418f0667b9f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

0.10.0 This release

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.0

1 release file

0.5.0

1 release file

0.4.1

1 release file

0.4.0

1 release file

0.3.0

1 release file

0.2.0

1 release file

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