Skip to main content

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


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.3.17.tar.gz (40.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tmg_data-0.3.17-py3-none-any.whl (48.7 kB view details)

Uploaded Python 3

File details

Details for the file tmg_data-0.3.17.tar.gz.

File metadata

  • Download URL: tmg_data-0.3.17.tar.gz
  • Upload date:
  • Size: 40.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.7

File hashes

Hashes for tmg_data-0.3.17.tar.gz
Algorithm Hash digest
SHA256 c1ba16ea1461ae32037df0b1282617db6f693cdba58e3085a3458d3d5f04a919
MD5 c58bd30ef02cb33d4346fbb58b4085ee
BLAKE2b-256 07b99f067a0bfe480eb807a28e6f261b4f35ba29b542dc451685ff95d8c34b37

See more details on using hashes here.

File details

Details for the file tmg_data-0.3.17-py3-none-any.whl.

File metadata

  • Download URL: tmg_data-0.3.17-py3-none-any.whl
  • Upload date:
  • Size: 48.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.7

File hashes

Hashes for tmg_data-0.3.17-py3-none-any.whl
Algorithm Hash digest
SHA256 0f516d7d549a814d1e3d0ff9513f25af5d0463de323076f98d16fb73afbc0432
MD5 7fe2dc489a1ba15f2039b23d5a2c30b7
BLAKE2b-256 60a8fdf5eaf6e8d63ea90a80aee02bbd15ac9b93e6b9d43e809d7de780525865

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page