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.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.3.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

square_database_helper-2.3.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for square_database_helper-2.3.0.tar.gz
Algorithm Hash digest
SHA256 93aa425dbacd84167427cb975fad356bcced7ec42566231fa8b282cce92329e9
MD5 5461291727b4da3706a10a8fded5ce0e
BLAKE2b-256 f37affda8f67bfd998249da71c761b4dd940aa57a8bde5660ad9fe626cb88ef3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for square_database_helper-2.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ef485730fb7336827473e33ff7e7170247a989fc6dbe86032eb1f6fbdb05a673
MD5 c6a49e05cd24bc44c29a90938690f834
BLAKE2b-256 ad8bd7343a4fc8bee2c837a1fe3d5978db420ec5f51ab11f9d67a6899ef24730

See more details on using hashes here.

Supported by

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