Skip to main content

helper to access the database layer for my personal server.

Project description

square_database_helper

about

helper to access the database layer for my personal server.

installation

pip install square_database_helper

usage

reference python file

env

  • python>=3.12.0

changelog

v2.6.0

  • update compatibility with square_database>=3.2.0.

v2.5.0

  • update compatibility with square_database>=3.1.0.

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!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

square_database_helper-2.6.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

square_database_helper-2.6.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file square_database_helper-2.6.0.tar.gz.

File metadata

  • Download URL: square_database_helper-2.6.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for square_database_helper-2.6.0.tar.gz
Algorithm Hash digest
SHA256 50e2ead40b4857d46e6176b70c0b8f73a9fe184516818179b567a6c9c6e39582
MD5 458f72b1b691f2ee5e72815c63ccd455
BLAKE2b-256 b27fc6525b1b8359e1cbd9b5a53d7807a31f6aa78bfdb3d9b9e68d7fdb50029c

See more details on using hashes here.

File details

Details for the file square_database_helper-2.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for square_database_helper-2.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 55f2712f5d7b41313700af2cbe3424417d11c28af69ff115731229bc805852df
MD5 5ccdcdaea77526bef490428701c6cf5b
BLAKE2b-256 f05425a4602fccbdea4014a60bd220b7df57a1f53527c3cde25f0034023af702

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page