Metadata-Version: 2.1
Name: vpf-730
Version: 0.2.0
Summary: a library to read data from the Biral VPF-730 Present weather sensor
Home-page: https://github.com/RUB_Clim/vpf-730
Author: Jonas Kittner
Author-email: jonas.kittner@ruhr-uni-bochum.de
License: MIT
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Provides-Extra: sentry
License-File: LICENCE

[![CI](https://github.com/RUBclim/vpf-730/actions/workflows/CI.yaml/badge.svg)](https://github.com/RUBclim/vpf-730/actions?query=workflow%3ACI)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/RUBclim/vpf-730/master.svg)](https://results.pre-commit.ci/latest/github/RUBclim/vpf-730/master)
[![docs](https://github.com/RUBclim/vpf-730/actions/workflows/docs.yaml/badge.svg)](https://github.com/RUBclim/vpf-730/actions/workflows/docs.yaml)

# vpf-730

A package to read data from the [Biral VPF-730](https://www.biral.com/product/vpf-730-visibility-present-weather-sensor/#product-overview) Present weather sensor.

## installation

```
pip install vpf-730
```

## quick start

Make sure your Sensor is connected and find out the port it is connected to. For a detailed documentation please see the [Docs](https://rubclim.github.io/vpf-730).

### as a CLI

```bash
VPF730_API_KEY=deadbeef \
vpf-730 \
--local-db local.db \
--queue-db queue.db \
--serial-port /dev/ttyS0 \
--endpoint https://api.example.com
```

### as a package

```python
from vpf_730.vpf_730 import VPF730

vpf730 = VPF730(port='/dev/ttyS1')
print(vpf730.measure())
```
