semvec/pypi-packages huggingface dataset:
dataclass-map-and-log 0.1.2
Map objects to dataclasses and log differencies
Requires Python: >=3.8, <4
Keywords: dataclass,api

# Dataclass Map And Log[![tag](https://img.shields.io/github/tag/namelivia/dataclass-map-and-log.svg)](https://github.com/namelivia/dataclass-map-and-log/releases) [![Build](https://github.com/namelivia/dataclass-map-and-log/actions/workflows/build.yml/badge.svg)](https://github.com/namelivia/dataclass-map-and-log/actions?query=workflow%3ABuild) [![codecov](https://codecov.io/gh/namelivia/dataclass-map-and-log/branch/master/graph/badge.svg)](https://codecov.io/gh/namelivia/dataclass-map-and-log)

Map dictionaries to pydantic dataclasses, log any extra attributes.

## Example
```python
from dataclass_map_and_log.mapper import DataclassMapper

@dataclass
class Child:
    name: str
    surname: str


@dataclass
class SingleChild:
    name: str


@dataclass
class Parent:
    name: str
    surname: str
    children: List[Child]
    single_child: SingleChild
    
data = {
    "name": "parent_name",
    "surname": "parent_surname",
    "extra": "parent_extra_data",
    "children": [
        {
            "name": "child1_name",
            "surname": "child1_surname",
            "extra": "child_extra_data",
        },
        {
            "name": "child2_name",
            "surname": "child2_surname",
        },
    ],
    "single_child": {"name": "test"},
}

definition = DataclassMapper.map(Parent, data)
```

You can then access the dataclass instance like:
```python
definition.single_child.name
```

And you would have gotten the following warning log messages:
```
"Unexpected attribute extra on class <class 'tests.test_dataclass_map_and_log.Parent'> with value parent_extra_data",
"Unexpected attribute extra on class <class 'tests.test_dataclass_map_and_log.Child'> with value child_extra_data",
```
yadraw-yakovkinii 0.0.1
Graphical library over pygame
Requires Python: >=3.7

# YaDraw

YaDraw is a super-simple graphical interface built on top of pygame.
The key use case is when you have a program which performs some calculations, 
and you want to add super-simple visualization to it. YaDraw supports basic primitives and shapes. 
YaDraw can also operate with raw pygame methods (see test cases).
[Github repo](https://github.com/EmixD/yadraw).
yaqd-seek 2022.11.0
yaq daemons for Seek thermal cameras
Requires Python: >=3.7

# yaqd-seek

[![PyPI](https://img.shields.io/pypi/v/yaqd-seek)](https://pypi.org/project/yaqd-seek)
[![Conda](https://img.shields.io/conda/vn/conda-forge/yaqd-seek)](https://anaconda.org/conda-forge/yaqd-seek)
[![yaq](https://img.shields.io/badge/framework-yaq-orange)](https://yaq.fyi/)
[![black](https://img.shields.io/badge/code--style-black-black)](https://black.readthedocs.io/)
[![ver](https://img.shields.io/badge/calver-YYYY.M.MICRO-blue)](https://calver.org/)
[![log](https://img.shields.io/badge/change-log-informational)](https://github.com/yaq-project/yaqd-seek/-/blob/main/CHANGELOG.md)

yaq daemons for [Seek Thermal](https://www.thermal.com/) cameras

This package contains the following daemon(s):

- https://yaq.fyi/daemons/seek-compact

## Installation (Windows)
1. install yaqd-seek and all dependencies.
  - `conda install yaqd-seek`
2. plug in device.  For me, two devices appeared (com.thermal.pir.206 and iAP interface)--no driver was found for either. I need to install a usb driver
  - download [Zadig](https://zadig.akeo.ie/)
  - select `iAP` device and install `WinUSB(libusb)` driver

## Notes
- The camera is a USB male (micro, type C, or other), so you will need special USB adapters to use on computer usb ports.

Maintainers:

- [Dan Kohler](https://github.com/ddkohler)