Skip to main content

A package to interact with ms graph /users functionality

Project description

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.

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

eam_db_helper-0.0.3.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

eam_db_helper-0.0.3-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file eam_db_helper-0.0.3.tar.gz.

File metadata

  • Download URL: eam_db_helper-0.0.3.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.12

File hashes

Hashes for eam_db_helper-0.0.3.tar.gz
Algorithm Hash digest
SHA256 b0fefaa7e9eb95c91e3c14aacca5069f9f5d4bd9bf36370926b2995bfac12af9
MD5 10208d187cf9f4445adb2567240b7658
BLAKE2b-256 eba8a6a37e215db55e6cbb02482bde105c9ec7588ce2443b42f0af9316629494

See more details on using hashes here.

File details

Details for the file eam_db_helper-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: eam_db_helper-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.12

File hashes

Hashes for eam_db_helper-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f13c6bc1f013cf6b4b7bd9ede9f507188f46aeb629699acccced71687045b762
MD5 127a4f3e41f766528f666540b9271ebf
BLAKE2b-256 45c721c8f4d17abf2cbed97e970b8074ffbe8a167d10e5f343b8c0ac4d72ba44

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