semvec/pypi-packages huggingface dataset:
sensorhub 2.0.3
A simple library to use with the DockerPi SensorHub (EP-0106)
Requires Python: >=3.7

# SensorHub

This is a simple library for use with the [DockerPi/52Pi SensorHub (EP-0106)](https://wiki.52pi.com/index.php/DockerPi_Sensor_Hub_Development_Board_SKU:_EP-0106).
You may still need to set up the board as documented on the 52pi wiki (configuring/enabling I2C).

This library allows you to read from each sensor individually. It does not require the external temperature sensor to be connected,
however an exception will be thrown if you try to read from it while it is disconnected.

## How to use it
Interacting with the SensorHub is easy. First create an instance of the SensorHub, which will open communication with it:
```python
from sensorhub.hub import SensorHub
hub = SensorHub()
```

Then it's just a case of calling the method for the value that you're after:

```python
temperature = hub.get_temperature()
```

Other available methods are:
```
hub.get_off_board_temperature()
hub.get_humidity()
hub.get_temperature()
hub.is_motion_detected()
hub.get_brightness()
hub.get_barometer_temperature()
hub.get_barometer_pressure()
```

See the docstrings for more information on return types and exceptions that may be raised.
Itzuli 1.1.0
Itzuli API library
Requires Python: >=3.6

# Itzuli API library

* [How to get your api key](https://itzuli.vicomtech.org/api/)
* [All available libraries](https://github.com/Vicomtech/itzuli-api-lib)

# Functions in "Itzuli" package
```
getTranslation(text, fromlang, tolang)
getQuota()
sendFeedback(id, correction, evaluation)
addTag(tagName)
```
An exception will be thrown if any error detected.

# Example

Install the package

> pip install Itzuli

Import:

    from Itzuli import Itzuli

Initialize with your api key:

    itzuliapi = Itzuli("apikey")

Make a translation:

    itzuliapi.getTranslation("kaixo! zer moduz?", "eu", "es")

Get quota:

    itzuliapi.getQuota()

Send feedback:

    itzuliapi.sendFeedback("id from translation, "corrected text", 1)