semvec/pypi-packages huggingface dataset:
weathercls 1.0.0
Python library for storing and managing weather-related dataclasses from APIs.
License: MIT
Requires Python: <4.0,>=3.10

# WeatherCls

![PyPI - Version](https://img.shields.io/pypi/v/weathercls)

A Python library for storing and managing weather-related dataclasses from APIs.

## Installation

```bash
pip install weathercls
```

## Basic Usage
You can initialize the class manually or convert a `Dictionary` into the corresponding class using other libraries such as [dacite](https://github.com/konradhalas/dacite).
```python
from dacite import from_dict
from weathercls.weatherapicom import transform_to_snake_case
from weathercls.weatherapicom.forecast_weather.ForecastWeather import ForecastWeather

weather_forecast = {...}
weather_forecast = transform_to_snake_case(weather_forecast) # converts keys with dashes to underscores for better compatibility with dacite

forecast_weather = from_dict(data_class=ForecastWeather, data=weather_forecast)
print(forecast_weather)
```

## List of Classes by Weather APIs
| Name               | Package                                                    |
| ------------------ | ---------------------------------------------------------- |
| **weatherapi.com** | [**weathercls.weatherapicom**](/weathercls/weatherapicom/) |
deceiver 0.0.1
Deceiver is an open source software project that provides a library for testing third-party API usage. It offers special classes to create mock objects, allowing developers to mimic the behavior of external APIs and verify their usage without the need for actual network access. With Deceiver, developers can ensure the correct integration and interaction with third-party APIs, enabling efficient and reliable testing of API-dependent applications.
License: MIT
Requires Python: >=3.11

# deceiver

Deceiver is an open source software project that provides a library for testing third-party API usage. It offers special classes to create mock objects, allowing developers to mimic the behavior of external APIs and verify their usage without the need for actual network access. With Deceiver, developers can ensure the correct integration and interaction with third-party APIs, enabling efficient and reliable testing of API-dependent applications.