semvec/pypi-packages huggingface dataset:
rg15 0.6.1
rg15 library

# rg15
rg15 is a library for interfacing with the [RG-15 sensor](https://store.hydreon.com/RG-15.html) via serial port. It is inspired by the following [library](https://github.com/waggle-sensor/plugin-raingauge).

## Installation

```bash
pip install rg15
```

## Exampe usage

Below is an example of basic usage:

```python
from rg15 import sensor

while True: 
    print(rg15.parse_values())
```

Output example:

```bash
Acc  0.00 mm, EventAcc  0.00 mm, TotalAcc  1.11 mm, RInt  0.00 mmph
```
gbwyljp-mymod 0.0.1
A small example package, i make it for fun!

# `import`使用

## `module`与`package`

* 一个`module`常常对应一个`.py`文件
* `package`对应一个文件夹，里面有子文件夹，有`.py`文件

## 基本使用

1. 同级目录

```
- src
    |-- mod1.py
    |-- index.py
```

```python
from mod1 import ...
import mod1
```

2. 调用子目录

```
- src
    |--package
        |--mod1.py
        |--mod2.py
    |--index.py
```

```python
from package import mod1
import package.mod1
```

# 制作`package`