Transfering Data between s3, snowflake & Domo with server integration
Project description
HALdata
Transfering Data between s3, snowflake & Domo. With server error detection capabilities.
Overview:
This code base is used to transfer data in between snowflake, aws s3 buckets domo and an api for email transfer through a corporate network. This code base is private to SharkNinja and is not meant to be copied or used elsewhere.
Data Manager Features;
- Create list of domo address to send new data into
- Create list of sql queries needed to select the right data from snowflake
- Connect to snowflake using snowflake.connector
- Query data from snowflake and save query as a dataframe then a csv
- Upload the file to aws s3
- Send json payload to api directing its use
- iterate through for loop for each domo address and sql query
TestID features:
- Query snowflake for hash table
- Save and output current hash table to user
- Ask user for new test ID, go through extensive error checking
- If the ID is new create a new description
- If ID first 5 digits already exist, automatically create new ID with next index and ask for new test desc from user
Server fetures:
- load a pickled df
- load a master df
- unpickle, check for errors
- pad missing columns in df
- if there are no errors then upload to s3 bucket
- store local copy onto server
Limitations:
There is currently a bug in the create new test ID script where if you use the wrong count of first numbers, it breaks later on.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file HALdata-0.1.24.tar.gz.
File metadata
- Download URL: HALdata-0.1.24.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
349000d5a71460bb50f2eadc099f093edcf72764a41a4b52025f8f90ca7db7c4
|
|
| MD5 |
08b2985efde94985951847984225df1a
|
|
| BLAKE2b-256 |
474f45ac6ebf2ebd036484636471930d9dca39db7bbcf803c177ceeaa0483597
|
File details
Details for the file HALdata-0.1.24-py3-none-any.whl.
File metadata
- Download URL: HALdata-0.1.24-py3-none-any.whl
- Upload date:
- Size: 14.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aeb0e56b6b908735f6b587a39a1c0a7f6e17b95383af11cd9816d8c2b6a325c6
|
|
| MD5 |
032c7089cca72f5ef5cce243b4f2ac81
|
|
| BLAKE2b-256 |
45e679c2e301eefde8d2fd0c5795d642510170c544b131de29d395aec04e9a8d
|