Metadata-Version: 2.1
Name: frozenclass
Version: 0.0.5a0
Summary: Python module for convenient storage of classes in files.
Home-page: https://github.com/GigantPro/frozenclass
Download-URL: https://github.com/Peopl3s/club-house-api/archive/main.zip
Author: GigantPro
Author-email: gigantpro2000@gmail.ru
License: The GPLv3 License (GPLv3)
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: End Users/Desktop
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: Implementation :: PyPy
Description-Content-Type: text/markdown
License-File: LICENSE

# Warning: project is unstable now. At the moment, the library has just begun to be developed, so this is not the final form of the product!

<p align="center">
        <a href="https://pypi.python.org/pypi/frozenclass"><img alt="Pypi version" src="https://img.shields.io/pypi/v/frozenclass.svg"></a>
        <a href="https://pypi.python.org/pypi/frozenclass"><img alt="Python versions" src="https://img.shields.io/badge/python-3.10%2B%20%7C%20PyPy-blue.svg"></a>
        <img alt="Size" src="https://img.shields.io/github/languages/code-size/GigantPro/frozenclass">
        <a href="https://pypi.org/project/frozenclass/"><img alt="Pypi version" src="https://img.shields.io/pypi/l/frozenclass"></a>
    </p>

# frozenclass 
This library was created in order to be able to save classes with a single line, as well as load them!



## Example
```python 
from frozenclass import DataController


# Test class
class Test:
    pass


# Init controller class
data_controller = DataController('PATH_TO_SAVE`S FOLDER')

# Save class as file
data_controller.freeze_class(Test())

# Get all saves classes models
loaded_classes = data_controller.get_all_saves_list()  # -> list[class instances]
```

## Installation

```bash
$ pip install frozenclass
```

## Installation from source

### Dependencies:
- **poetry**
```bash
$ git clone https://github.com/GigantPro/frozenclass.git; cd frozenclass
$ poetry run build
$ pip install $(ls -Art | tail -n 1)
```

## poetry install:
```bash
$ curl -sSL https://install.python-poetry.org | python3 -
```
