semvec/pypi-packages huggingface dataset:
obj-todict 0.1.0
It is a simple utility to recursively convert objects to dictionaries
License: MIT
Requires Python: <4.0,>=3.10
Keywords: to_dict, object to dict, recursive, serialization, utility, dictionary

# Object To Dictionary

`obj-todict` is a simple utility to recursively convert objects to dictionaries. This can be particularly useful for serializing complex nested objects into JSON-compatible dictionaries.

## Features

- Recursively converts objects, including nested lists and dictionaries, into dictionaries.
- Handles custom objects by converting their `__dict__` attributes.

## Installation

You can install the package using pip:

```bash
pip install obj-todict
```

# Usage

Here's a quick example to get you started:

```python
from obj_todict import todict

class Example:
    def __init__(self, name, value):
        self.name = name
        self.value = value

example = Example('example', [1, 2, {'key': 'value'}])
print(todict(example))
```

# License

This project is licensed under the MIT License. See the [LICENSE](https://github.com/neural-blade/obj-todict/tree/main?tab=MIT-1-ov-file#MIT-1-ov-file) file for more details.
matchor 1.0.0
Extended Pattern Matching
License: MIT
Requires Python: <4.0.0,>=3.7.2

[![PyPI Version](https://badge.fury.io/py/matchor.svg)](https://badge.fury.io/py/matchor)
[![Python Build](https://github.com/nbiotcloud/matchor/actions/workflows/main.yml/badge.svg)](https://github.com/nbiotcloud/matchor/actions/workflows/main.yml)
[![Documentation](https://readthedocs.org/projects/matchor/badge/?version=stable)](https://matchor.readthedocs.io/en/stable/?badge=stable)
[![Coverage Status](https://coveralls.io/repos/github/nbiotcloud/matchor/badge.svg?branch=main)](https://coveralls.io/github/nbiotcloud/matchor?branch=main)
[![python-versions](https://img.shields.io/pypi/pyversions/matchor.svg)](https://pypi.python.org/pypi/matchor)
[![pylint](https://img.shields.io/badge/linter-pylint-%231674b1?style=flat)](https://www.pylint.org/)
[![black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

# Extended Pattern Matching

* [Documentation](https://matchor.readthedocs.io/en/stable/)
* [PyPI](https://pypi.org/project/matchor/)
* [Sources](https://github.com/nbiotcloud/matchor)
* [Issues](https://github.com/nbiotcloud/matchor/issues)

## Installation

Installing it is pretty easy:

```bash
pip install matchor
```