Metadata-Version: 2.4
Name: square_database_helper
Version: 2.4.0
Summary: helper to access the database layer for my personal server.
Home-page: https://github.com/thepmsquare/square_database_helper
Author: thePmSquare
Author-email: thepmsquare@gmail.com
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Description-Content-Type: text/markdown
Requires-Dist: pydantic>=2.9.2
Requires-Dist: square_commons>=2.0.0
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: requires-dist
Dynamic: summary

# square_database_helper

## about

helper to access the database layer for my personal server.

## installation

```shell
pip install square_database_helper
```

## usage

[reference python file](./example.py)

## env

- python>=3.12.0

## changelog

### v2.4.0

- update compatibility with square_database>=3.0.0.

### v2.3.1

- bump square_commons to >=2.0.0.

### v2.3.0

- use make_request_json_output to call api endpoints.

### v2.2.0

- expanded apply_filters to support additional conditions: ne, lt, lte, gt, gte, like, in_.

### v2.1.1

- edit_rows_v0 now uses patch method.

### v2.1.0

- compatible with v2.1.0 of square database.
- stricter type checking.
- added pydantic as a requirement.
- filters now passed in as a pydantic model instead of direct dictionary.

### v2.0.0

- added version numbers for all endpoints for better compatibility.

### v1.0.2

- add offset, limit and order by in get rows.

### v1.0.1

- fix typos.

### v1.0.0

- initial implementation.

## Feedback is appreciated. Thank you!
