helper to access the database layer for my personal server.
pip install square_database_helper
- python>=3.12.0
- use make_request_json_output to call api endpoints.
- expanded apply_filters to support additional conditions: ne, lt, lte, gt, gte, like, in_.
- edit_rows_v0 now uses patch method.
- 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.
- added version numbers for all endpoints for better compatibility.
- add offset, limit and order by in get rows.
- fix typos.
- initial implementation.