Skip to main content

This package is used as a layer above MS cosmos db python sdk to interact with data in ms cosmos db sql api.

DatabaseHelper:

DatabaseHelper.get_results():

This method is ussed to get the results from the cosmos db. It takes the query and the parameters of the query as input and returns the results as a list.

DatabaseHelper.get_result():

This method is used to get the result from the cosmos db. It takes the query and the parameters of the query as input and returns the result as a dictionary.

DatabaseHelper.get_column():

This method is used to get the column from the cosmos db. It takes the query and the parameters of the query as input and returns the column as a list.

DatabaseHelper.delete_item():

This method is used to delete the item from the cosmos db. It takes the item id, as well as the partition key (type) as input and returns None.

DatabaseHelper.upsert():

This method is used to upsert the item in the cosmos db. It takes the item as input and returns None.

Release files for eam-db-helper 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eam-db-helper 0.0.6
File Size Uploaded
eam_db_helper-0.0.6.tar.gz 4.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for eam-db-helper 0.0.6
File Interpreter ABI Platform
eam_db_helper-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 9.6 kB

Release files / eam_db_helper-0.0.6.tar.gz

Download URL eam_db_helper-0.0.6.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ae9af9248291d2ab4566df6cdacc337d1ff06d48fa2f5cbea7766a6039217e4b
BLAKE2b-256 checksum
How to use checksums
4cad23a5dfd739d27dc72a7271c04d87e565905f133363dca3d3fb6690b79a4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.12

Release files / eam_db_helper-0.0.6-py3-none-any.whl

Download URL eam_db_helper-0.0.6-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8293d2ce7610aa840981685d664c22dd347bc954bbf356b208774499e6c94f4a
BLAKE2b-256 checksum
How to use checksums
982e760e373511e3714410be0471cde48b3b273e5a5f3cdb6caf404bc9b25778
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.12

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page