TMG data library
Project description
TMG data library has the functionalities to interact with Google Cloud services allowing to develop more reliable and standard data pipelines.
Quick Start
Installation
Install this library in a virtualenv using pip.
Supported Python Versions
Python >= 3.5
Mac/Linux
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
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'
)
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
tmg-data-0.0.2.tar.gz
(17.2 kB
view hashes)
Built Distribution
tmg_data-0.0.2-py3-none-any.whl
(27.8 kB
view hashes)