Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pygyver

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pygyver

Data engineering & Data science Pipeline Framework

  • 0.1.1.42
  • PyPI
  • Socket score

Maintainers
1

PyGyver

PyGyver is a user-friendly python package for data integration and manipulation.

Named after MacGyver, title character in the TV series MacGyver, and Python, the main language used in the repository.

Installation

PyPi

PyGyver is available on PyPi.

pip install pygyver

Setup

Most APIs requires access token files to authentificate and perform tasks such as creating or deleting objects. Those files need to be generated prior to using pygyver and stored in the environment you are executing your code against. The package make use of environment variables, and some of the below might need be supplied in your environment:

# Access token path
GOOGLE_APPLICATION_CREDENTIALS=path_to_google_access_token.json
FACEBOOK_APPLICATION_CREDENTIALS=path_to_facebook_access_token.json

# Default values
BIGQUERY_PROJECT=your-gcs-project
GCS_PROJECT=your-gcs-project
GCS_BUCKET=your-gcs-bucket

# Optional
PROJECT_ROOT=path_to_where_your_code_lives

Modules

PyGyver is structured around several modules available in the etl folder. Here is a summary table of those modules:

Module nameDescritionDocumentation
dwPerform task against the Google Cloud BigQuery APIdw.md
facebookPerform task against the Facebook Marketing APIfacebook.md
gooddataPerform task against the GoodData API-
gsPerform task against the Google Sheet API-
libStore utilities used by other modules-
pipelineUtility to build data pipelines via YAML definitionpipeline.md
prepData transformation - ML pipelines-
storagePerform task against the AWS S3 and Google Cloud Storage APIstorage.md
toolkitSets of tools for data manipulation-

In order to load BigQueryExecutor from the dw module, you can run:

from pygyver.etl.dw import BigQueryExecutor

Contributing

To get started...

Step 1

  • 👯 Clone this repo to your local machine using git@github.com:madedotcom/pygyver.git

Step 2

  • HACK AWAY! 🔨🔨🔨

The team follows TDD to develop new features on pygyver. Tests can be found in pygyver/tests.

Step 3

  • 🔃 Create a new pull request and request review from team members. Where applicable, a test should be added with the code change.

FAQ

  • How to release a new version to PyPi?
    1. Merge your changes to master branch
    2. Create a new release using https://github.com/madedotcom/pygyver/releases

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc