Skip to main content

utility tools for givvable

Project description

Introduction

This is a project to expose some of the utility tools used by givvable for easy version and use in projects throughout our code.

To use this repo,

pip install givvableutils

DB & Blob

Helps connect to postgresql DB & Azure datalake

import db
db.get_conn(username='', password='', database='', host='')
db.close_conn()

import blob
blob.initialize_storage_account(storage_account_name='', storage_account_key='')
blob.list_directory_contents(container="data-synapse", directory="staging")

Developing

To install givvableutils, along with the tools you need to develop and run tests, run the following in your virtualenv:

pip install -e .[dev]
python3 setup.py bdist_wheel
python3 setup.py sdist
twine upload --skip-existing dist/*

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

givvableutils-0.0.5.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

givvableutils-0.0.5-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file givvableutils-0.0.5.tar.gz.

File metadata

  • Download URL: givvableutils-0.0.5.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.7

File hashes

Hashes for givvableutils-0.0.5.tar.gz
Algorithm Hash digest
SHA256 14c1eaced19b09ebc20bde3dde15ba56dd69aabac23520e3059ece0bb8e3b474
MD5 eb9c2e698dfd61c1db76c968f4bc6900
BLAKE2b-256 950dee25811727a35daca643d3216317df8c4e0ec6c70edba790dc95552b69b1

See more details on using hashes here.

File details

Details for the file givvableutils-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for givvableutils-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 491e19497e73afbd9d6c7411bc78f21ddee4d9ad8cc704a804bcf6fda17a17bb
MD5 16190d66e357b2adbc6fa68997226c87
BLAKE2b-256 7dab936c2fcdabc5aff010ec7af1b2f28f0c2f27e159c2e53d620e3651a6dc43

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