semvec/pypi-packages huggingface dataset:
espec-pr3j 0.4.0
Espec PR-3J environmental chamber remote controller
License: MIT
Requires Python: >=3.8

# espec_pr3j - Remote controller for the Espec PR-3J Environmental Chamber

This allows to interact remotely with the environmental chamber PR-3J from Espec.

## Installation

```bash
pip install espec-pr3j
```

## Simple usage
```python
from espec_pr3j import EspecPr3j

CHAMBER_HOST = "mskclimate3"
chamber = EspecPr3j(hostname=CHAMBER_HOST)

# set limits
chamber.set_temperature_limits(upper_limit=28.0, lower_limit=23.0)
chamber.set_humidity_limits(upper_limit=40.0, lower_limit=60.0)

# go to a constant condition and wait until it's stable
chamber.set_constant_condition(
    temperature=27.0,
    humidity=50.0
)
```

## Running tests on hardware

During normal development and for the CI the unit test suite is executed on a mock
device using pyvisa-mock. It is also possible to run tests on real hardware connected
to your system. Just set the `hil` flag when running `tox`, and pass the hostname:

```bash
$ tox -- --hil --hil_hostname mskclimate3
```

## Documentation

For more details of the module API, check the [online documentation].

## Feel like contributing?

Please check [our contribution guidelines](CONTRIBUTING.md), where you'll find how to set up your environment
and share your changes.

[online documentation]: https://climate-chamber-leandro-lanzieri-bcc388d1f7cfd484ca00bcced68d65.pages.desy.de/
frankfurter 2.0.0
A lightweight wrapper for the frankfurter API
License: MIT
Requires Python: >=3.8

# frankfurter - Unofficial Lightweight Wrapper for the frankfurter API


[![Downloads](https://static.pepy.tech/badge/frankfurter)](https://pepy.tech/project/frankfurter)
[![PyPI](https://badge.fury.io/py/frankfurter.svg)](https://pypi.org/project/frankfurter/)


The Frankfurter API tracks foreign exchange references rates published by the [European Central Bank](https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html). The data refreshes around 16:00 CET every working day.


# Installation 

You can directly download it from pip using the command 

```
pip install frankfurter
```

# Usage

First, you need to make a object of the ```FrankfurterEngine``` class. It takes an argument called ```quiet_mode``` which decides whether to print the logging information. 

```
from frankfurter import FrankfurterEngine

engine = FrankfurterEngine(quiet_mode=False)
```

## Get List of Supported Currencies

To fetch the list of supported currencies:

```
currencies = engine.fetch_currencies()
print(currencies)
```

## Fetch Latest Forex Data

To fetch the latest forex data for a base currency and an optional target currency:

```
latest_data = engine.fetch_latest_data(base="USD", to="EUR")
print(latest_data)
```

## Fetch Historical Data for a Specific Date

To fetch forex data for a specific date:

```
historical_data = engine.fetch_data_for_date(date="2022-01-01", base="USD", to="EUR")
print(historical_data)
```

## Fetch Time Series Data

To fetch forex data over a date range:

```
time_series_data = engine.fetch_time_series_data(
    base="USD", to="EUR", start_date="2022-01-01", end_date="2022-12-31"
)
print(time_series_data)
```

# API Documentation

API Documentation
For more information on the API itself, visit the [official documentation](https://www.frankfurter.app/docs/).