semvec/pypi-packages huggingface dataset:
iotopen-bridge 0.1.7
Secure IoT Open Lynx ↔ Home Assistant MQTT Discovery bridge
Requires Python: >=3.10
Keywords: iot, mqtt, home-assistant, iotopen, lynx, discovery, bridge

# iotopen-bridge

Secure, extensible bridge between **IoT Open Lynx** and **Home Assistant** using MQTT + HA MQTT Discovery.

## Quick start

### Install (PyPI)
```bash
pip install iotopen-bridge
```

### Install (dev)
```bash
pip install -e ".[dev]"
```


### Home Assistant integration helper (optional)

If you are writing a Home Assistant custom integration and want **minimal glue code**,
you can build a `BridgeConfig` from your config flow values and start the runtime from HA:

```python
from iotopen_bridge.ha import HABridgeHandle, build_bridge_config

cfg = build_bridge_config(
    base_url="https://lynx.iotopen.se",
    api_key="...",
    installation_id=2222,
    mqtt_host="localhost",
    mqtt_port=1883,
)

handle = HABridgeHandle.from_config(cfg)
await handle.async_start(hass)
```

### Configure
Create `config.yml` (see `examples/config.example.yaml`):

```yaml
lynx:
  base_url: "https://lynx.example"
  installation_id: 2222
  api_key: "${IOTOPEN_API_KEY}"

mqtt:
  host: "mqtt.example"
  port: 8883 #tls 1883 non secured 
  username: "${MQTT_USER}"
  password: "${MQTT_PASS}"
  client_id: "iotopen-bridge"
  tls:
    enabled: true
    cafile: "/etc/ssl/certs/ca-certificates.crt"
    verify_hostname: true

ha:
  discovery:
    enabled: true
    prefix: "homeassistant"
  state_prefix: "iotopen"
```

### Run
```bash
iotopen-bridge run --config config.yml
```

### Probes
```bash
iotopen-bridge probe-api --config config.yml
iotopen-bridge probe-mqtt --config config.yml --sub "2086/obj/#" --count 20
```

## Design
- Inventory from Lynx API (FunctionX).
- Telemetry from FunctionX `topic_read`.
- Commands to FunctionX `topic_set`.
- HA MQTT Discovery auto-creates entities in Home Assistant.

See `docs/architecture.md`.
ASTRA-spectra 1.2.5
Interface to open stellar spectra and construct stellar and telluric models
Requires Python: <=3.12.8,>=3.11

# ASTRA
[![status](https://joss.theoj.org/papers/d60b535393334128194448349206de6e/status.svg)](https://joss.theoj.org/papers/d60b535393334128194448349206de6e)


Welcome to the repository of ASTRA (Astrophysical Spectral Tools for Retrieval &amp; Analysis). 

The main goal of this project is to standardize the handling of stellar spectra for both RV extraction tools and spectral analysis tools. In order to do so, ASTRA provides:

1) Common interface to interact with stellar spectra of different state-of-the-art instruments
2) Framework to construct stellar templates from data, following best practices
3) Framework to mask telluric features from stellar spectra
4) Implement utility methods to interpolate, normalize and smooth stellar spectra

For information on installation, usage, and contribution check the official [documentation](https://kamuish.github.io/ASTRA/)


## Installation

ASTRA is currently available in python 3.11 and python 3.12, and it can be installed either through

1) Pypi
``` bash
pip install ASTRA-spectra
```

2) Github

``` sh
git clone git@github.com:Kamuish/ASTRA.git
cd ASTRA
pip install . 
```
By default, ASTRA does not install Telfit as it will only be needed for the masking of the telluric features. If this is the goal, it must be installed manually.

## Contribution guidelines


Management of any issues to the code, as well as external contribution is done through the *github* repository
djtools 2.9.1rc8
DJ Tools is a library for managing a collection of music.
Requires Python: >=3.10
Keywords: Audio, Collections, DJ, Playlists, Reddit, Rekordbox, Spotify

# DJ Tools
[![image](https://img.shields.io/pypi/v/djtools.svg)](https://pypi.org/project/djtools/)

Please see the [docs](https://a-rich.github.io/DJ-Tools/) for tutorials, how-to guides, conceptual guides, and references!

# Release Plan
* 2.9.2
    - [ ] [Stability issues with requests to the search endpoint of the Spotify API](https://github.com/a-rich/DJ-Tools/issues/58)
    - [ ] [Make Spotify API calls asynchronous](https://github.com/a-rich/DJ-Tools/issues/38)
* 2.10.0
    - [ ] [Create graphic user interface for djtools](https://github.com/a-rich/DJ-Tools/issues/118)
    - [ ] [Derive boolean algebra expressions that generate a given playlist](https://github.com/a-rich/DJ-Tools/issues/106)
    - [ ] [Improve Reddit submission title parsing in order to improve precision and recall of Spotify API search results](https://github.com/a-rich/DJ-Tools/issues/59)

# Contribution
Please see the [CONTRIBUTING](CONTRIBUTING.md)