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

tmg-data

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tmg-data

TMG data library

  • 0.2.13
  • PyPI
  • Socket score

Maintainers
1

TMG Data Library

TMG data library has the functionalities to interact with Google Cloud services allowing to develop more reliable and standard data pipelines.

  • Client Library Documentation_

.. _Client Library Documentation: https://tmg-data.readthedocs.io

Quick Start

Installation


Install this library in a `virtualenv`_ using pip.

.. _`virtualenv`: https://virtualenv.pypa.io/en/latest/

Supported Python Versions
^^^^^^^^^^^^^^^^^^^^^^^^^
Python >= 3.5

Mac/Linux
^^^^^^^^^

.. code-block:: console

    pip install virtualenv
    virtualenv <your-env>
    source <your-env>/bin/activate
    <your-env>/bin/pip install tmg-data

Example Usage
-------------

Transform from MySQL to BigQuery

.. code:: python

from tmg.data import transfer

transfer_client = transfer.Client(project='your-project-id')

transfer_client.bq_to_mysql(
    connection_string='root:password@host:port/your-database',
    bq_table='your-project-id.your-dataset.your-table',
    mysql_table='your-database.your-table'
)

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