Skip to main content

GDMO native classes for standardized interaction with data objects within Azure Databricks

Reason this release was yanked:

bugged

Project description

gdmo

PyPI Tests Changelog License

GDMO native classes for standardized interaction with data objects within Azure Databricks

This custom library allows our engineering team to use standardized packages that strip away a load of administrative and repetitive tasks from their daily object interactions. The current classes supported (V0.1.0) are:

Installation

Install this library using pip:

pip install gdmo

Usage

Forecast - Forecast

Standardized way of forecasting a dataset. Input a dataframe with a Series, a Time, and a Value column, and see the function automatically select the right forecasting model and generate an output.

Future expansions

API - APIRequest

Class to perform a standard API Request using the request library, which allows a user to just add their endpoint / authentication / method data, and get the data returned without the need of writing error handling or need to understand how to properly build a request.

Tables - Landing

Class to land a dataframe or csv file to the databricks landing zone, and optionally convert this to the bronze layer data. Just say where to store it, and the class will take care of it with error handling associated and a normalized routine is followed.

Tables - Delta

No longer one needs to write a twelve-command notebook to create a table. Call this class once and see it happen.

Development

To contribute to this library, first checkout the code. Then create a new virtual environment:

cd gdmo
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

python -m pip install -e '.[test]'

To run the tests:

python -m pytest

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gdmo-0.0.7.tar.gz (20.2 kB view details)

Uploaded Source

Built Distribution

gdmo-0.0.7-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

Details for the file gdmo-0.0.7.tar.gz.

File metadata

  • Download URL: gdmo-0.0.7.tar.gz
  • Upload date:
  • Size: 20.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for gdmo-0.0.7.tar.gz
Algorithm Hash digest
SHA256 774cf531dced51f1d38123d64ca7a89d08de9c246c40faa27c937e80b3c99300
MD5 6f5d52fb7bc549dc1a39c6f0ae0ce30a
BLAKE2b-256 6d50eb4fec778841cee9d069fc1e2f167dc8bf2b2e5feb69c7be7fe84c18da39

See more details on using hashes here.

File details

Details for the file gdmo-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: gdmo-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 19.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for gdmo-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 1456870ab1136888d6743a4aa4adcb3700cf54a64ea6bd321539769e1a26363c
MD5 a4a85c5337341f0d896cf83e57dc82a6
BLAKE2b-256 9e35cc255848e750616bf63fbd93213b510a576c22517f5724b21b91a6777b8c

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