You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

HALdata

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

HALdata

Transfering Data between s3, snowflake & Domo with server integration

0.1.25
pipPyPI
Maintainers
1

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.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts