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.2.tar.gz (2.7 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.2-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: eam_db_helper-0.0.2.tar.gz
  • Upload date:
  • Size: 2.7 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.2.tar.gz
Algorithm Hash digest
SHA256 747745c5676e3273b181681fa9bc8f9485d114a04cd91700c4bce783a6f90dba
MD5 cdb979c5b6bd29d3848c76ec0fb9ea49
BLAKE2b-256 46da9538f1f17c1f3a21b3ef3138153bbf15ea8b6690037ff81c7f041cd88799

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eam_db_helper-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.1 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ea91b37bf4b7d224b8ec113c98a750f8d934c1471fa7cc08db7bb7e3f1d13368
MD5 ac8d75a99a6a44de0bfc0916ceba1b82
BLAKE2b-256 8a2d1d20932990897fb2ebc60bd66877229af439c35016285b3f0c9571c1da7c

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