Metadata-Version: 2.1
Name: python-univer
Version: 1.3.4
Summary: Данная библиотека содержить SqlAlchemy ORM для системы Univer
Home-page: https://github.com/yessenovuniversity/python_univer
Author: Nauryzbek Aitbayev
Author-email: nauryzbek.aitbayev@yu.edu.kz
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: Other/Proprietary License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# Python Univer

Содержит маппинг данных из Univer для SqlAlchemy

## Установка

```sh
$ pip install python_univer
```

## Конфигурация
```python
from python_univer.config import Config, DRIVER
from python_univer.orm import get_session


config = Config(host='адрес', user='пользователь', password='пароль', db='имя базы данных', driver=DRIVER.FREETDS)
Session = get_session(config)
```

## Использование
```python
from python_univer.models import Student


session = Session()

students = session.query(Student).filter(Student.course == 2, Student.status == 1)

for student in students:
    print(student)
```

