semvec/pypi-packages huggingface dataset:
aiapy 0.11.0
Python library for AIA data analysis.
Requires Python: >=3.12
Keywords: solar physics, solar, science, NASA, SDO, AIA, solar dynamics observatory, atmospheric imaging assembly

=========
``aiapy``
=========

.. image:: https://github.com/LM-SAL/aiapy/actions/workflows/ci.yml/badge.svg
    :target: https://github.com/LM-SAL/aiapy/actions/workflows/ci.yml
    :alt: aiapy CI status

.. image:: https://readthedocs.org/projects/aiapy/badge/?version=stable
    :target: https://aiapy.readthedocs.io/en/stable/?badge=stable
    :alt: Documentation Status

.. image:: https://img.shields.io/pypi/v/aiapy.svg
    :target: https://pypi.org/project/aiapy/
    :alt: PyPI Project

.. image:: http://img.shields.io/badge/powered%20by-SunPy-orange.svg?style=flat
    :target: https://sunpy.org
    :alt: SunPy Powered

.. image:: https://codecov.io/gh/LM-SAL/aiapy/branch/main/graph/badge.svg
    :target: https://codecov.io/gh/LM-SAL/aiapy
    :alt: Codecov coverage

.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.10064346.svg
    :target: https://doi.org/10.5281/zenodo.10064346
    :alt: Zenodo DOI

.. image:: https://joss.theoj.org/papers/9bfcd1677e43046a5136766863419a04/status.svg
    :target: https://joss.theoj.org/papers/9bfcd1677e43046a5136766863419a04
    :alt: JOSS

``aiapy`` is a Python package for analyzing data from the Atmospheric Imaging Assembly (AIA) instrument onboard NASA's Solar Dynamics Observatory (SDO) spacecraft.
For more information, see the `aiapy documentation <https://aiapy.readthedocs.io/en/latest/>`__.
For some examples of using aiapy, see `our gallery <https://aiapy.readthedocs.io/en/latest/generated/gallery/index.html>`__.

Citing
------

If you use ``aiapy`` in your scientific work, we would appreciate you citing it in your publications.
The latest citation information can be found in the `documentation <https://aiapy.readthedocs.io/en/latest/citation.html>`__, or obtained with ``aiapy.__citation__``.

Contributing
------------

``aiapy`` is open source software, built on top of other open source software, and we'd love to have you contribute

Please checkout the `contributing guide <https://aiapy.readthedocs.io/en/latest/develop.html>`__ for more information on how to contribute to aiapy.

Usage of Generative AI
----------------------

We expect authentic engagement in our community.
Be wary of posting output from large language models or similar generative AI as comments on GitHub or any other platforms, as such comments tend to be formulaic and low‑quality content.
If you use generative AI tools as an aid in developing code or documentation changes, ensure that you fully understand the proposed changes and can explain why they are the correct approach and an improvement to the current state.
JablotronPy 0.7.3
Client to interact with Jablotron Cloud API to control Jablotron alarm systems
Requires Python: >=3.10

[![PyPI version](https://badge.fury.io/py/jablotronpy.svg)](https://badge.fury.io/py/jablotronpy)

# JablotronPy

Jablotron Cloud API client written in Python that allows you to retrieve data from Jablotron systems as well as control
them.

## Installation

The package is published to [PyPi](https://pypi.org/project/JablotronPy), to install it run the following
command:

```bash
pip install jablotronpy
```

## Usage

This is an example of initializing a client and getting all sections from the first available service:

```python
import os
from jablotronpy.jablotronpy import Jablotron

# Initialize client and perform login
client = Jablotron(
  username=os.environ["JABLOTRON_USER"],
  password=os.environ["JABLOTRON_PASS"],
  pin_code=os.environ["JABLOTRON_PIN"]
)
client.perform_login()

# Get service and its sections
service_id = client.get_services()[0]["service-id"]
sections = client.get_sections(service_id=service_id)
print(sections)
```

## Methods

The client offers a variation of data, here is a table of the methods and data it returns:

| Method                    | Description                                                                  |
|---------------------------|------------------------------------------------------------------------------|
| perform_login             | Performs initial login to Jablotron Cloud API                                |
| get_services              | Returns list of available services for specified Jablotron Cloud account     |
| get_service_information   | Returns additional information about specified service                       |
| get_sections              | Returns available sections for specified service                             |
| get_thermo_devices        | Returns list of available thermo devices for specified service               |
| get_keyboard_segments     | Returns list of available keyboards and their segments for specified service |
| get_programmable_gates    | Returns available programmable gates and their states for specified service  |
| get_service_history       | Returns list of historical events for specified service                      |
| control_section           | Sets specified section of specified service to desired state                 |
| control_programmable_gate | Sets specified programmable gate of specified service to desired state       |