Skip to main content

VSR53

PyPI version

Build and Test

This is a Python library to communicate with Thyracont's VSR53USB pressure gauge. It should also work with the VSR53DL model (over RS485) but I haven't tested it as I don't have access to one.

This library is a fork of this repository. All credits go to the original author.

The original library was designed for the RS485 protocol and does not work out of the box for the USB version of this sensor, however, with some minor modifications such as allowing the user to set the baudrate and updating the default value (to 9600 instead of 115200) it works perfectly.

Installation

This library is available in PyPI and can be installed with pip:

pip install vsr53

Usage

from vsr53 import VSR53USB

port = "/dev/ttyUSB0"  # replace with the device port of your gauge
with VSR53USB(port) as gauge:
    print(gauge.get_device_type())
    print(gauge.get_product_name())
    print(gauge.get_measurement_value())

Metadata

Release files for vsr53 1.1.1

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

Source distribution (sdist)

Source distribution for vsr53 1.1.1
File Size Uploaded Provenance Actions
vsr53-1.1.1.tar.gz 13.4 kB Without provenance Details for vsr53-1.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 25.2 kB

Release files / vsr53-1.1.1.tar.gz

Download URL vsr53-1.1.1.tar.gz
Size 13.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c3ab5ca517860e3f709373bcf19a6a68bd5e21428a282d3704ff337631eeea15
BLAKE2b-256 checksum
How to use checksums
c0999e3891ca31e91359186b42a2fb2e30a19c90b454f801854050938ea6b89a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.8

Release files / vsr53-1.1.1-py3-none-any.whl

Download URL vsr53-1.1.1-py3-none-any.whl
Size 11.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b5eb8ed4a657158f3ea3db371ca3ad7b1dbaf0681730320ad74b8c9122946832
BLAKE2b-256 checksum
How to use checksums
b153385405aadc4dfff2cad41884a24c83191dca53d9c1f6789d949c94fbed37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.8

Security for vsr53 1.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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