semvec/pypi-packages huggingface dataset:
lavviebotaio 0.3.1
Asynchronous Python library for the PurrSong API utilized by LavvieBot S litter boxes
Requires Python: >=3.9
Keywords: lavviebot, lavviebot s, purrsong, litter box

# Lavviebotaio
Asynchronous Python library for the PurrSong API utilized by LavvieBot S litter boxes, LavvieScanners, and LavvieTags.

This package provides an API client for the [PurrSong](https://purrsong.com/en/) API allowing you to fetch the status of Lavviebot S litter boxes, LavvieScanners, LavvieTags, and cats associated with a PurrSong account.


**The API is not published by PurrSong, so it may break without notice.**


## Installation

```
pip3 install lavviebotaio
```

This package depdends on [aiohttp](https://docs.aiohttp.org/en/stable/), and requires Python 3.9 or greater.

## Usage

```python
import asyncio
from lavviebot import LavviebotClient
from aiohttp import ClientSession

async def main():
    async with ClientSession() as session:
    
        # Create a client using PurrSong account email and password
        client = LavviebotClient("email", "password", session)

        # Discover all devices associated with PurrSong account
        devices = await client.async_discover_devices()
        
        # Discover all cats associated with account. Requires `location id` as an `int`.
        cats = await client.async_discover_cats(123)
        
        # Get info pertaining to a particular litter box (state, usage, error log) using device_id integer
        litter_box_status = await self.async_get_litter_box_status(device_id)
        
        # Get litter box usage log pertaining to a particular litter box using device_id integer
        litter_box_log = await client.async_get_litter_box_cat_log(device_id)
        
        # Get weights, durations, and usage counts for "Unknown" cat using cat_id integer (cat_id for unknown cats is equal to the location_id)
        unknown_cat_status = await client.async_get_unknown_status(cat_id)
        
        # Get weights, durations, and usage counts for a particular cat using cat_id integer
        cat_status = await client.async_get_cat_status(cat_id)

        # Get info about a particular LavvieScanner using device_id and device_type of "lavvie_scanner")
        lavvie_scanner = await client.async_get_iot_device_status(device_id, "lavvie_scanner")

        # Get info about a particular LavvieTag using device_id and device_type of "lavvie_tag")
        lavvie_tag = await client.async_get_iot_device_status(device_id, "lavvie_tag")
        
        # Get all associated litter boxes, scanners, tags, and cats and store in a LavviebotData object
        get_all = await client.async_get_data()


loop = asyncio.get_event_loop()
loop.run_until_complete(main())
```
ArtexConfigure 0.0.1
A python library that writes your configuration into an .ini file
Requires Python: >=3.6

# Write configurations into .ini

This project leverages `configureparser` module to write your configurations into an .ini file at ease. It's designed for simplicity and ease of use, allowing you to manage .ini files.

## Features

- **Write**: Write and store your configurations.
- **Read**: Read the only configuration you need.
- **Modify**: Modify the configuration.
- **Store with sections**: Store your configuration based on its type as a section.

## Prerequisites

- `configparser`

## Usage

To use the functionality, import the `Configuration` function from `ArtexConfigure`.

```python

from ArtexConfig import Configuration

settings_file = 'app_settings.ini'
app_settings = AppSettings(settings_file)

# Store settings
initial_settings = {
    'theme': 'dark',
    'language': 'en',
    'notifications': 'True'
}
app_settings.store_settings('General', initial_settings)

# Modify a setting
app_settings.modify_setting('General', 'language', 'es')

# Verify the modification
print(app_settings.get_setting('General', 'language'))  # Output: es

```

**This project is managed by Artex AI. Soon an improved and stable version will roll out**