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.3.tar.gz (33.1 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.3-py3-none-any.whl (40.2 kB view details)

Uploaded Python 3

File details

Details for the file tmg-data-0.3.3.tar.gz.

File metadata

  • Download URL: tmg-data-0.3.3.tar.gz
  • Upload date:
  • Size: 33.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for tmg-data-0.3.3.tar.gz
Algorithm Hash digest
SHA256 281ddead5d2009fbb07a21f52afe20a569748c115cbf1681ce8ef2c4701eb388
MD5 c8f3aebaf1f342b551f4acab03e2504a
BLAKE2b-256 fc4bf5077de5a3fabc569bb1de9e8b954fd56ce9477cd8ed202b51e144a43db6

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for tmg_data-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fa0ca04ae1e89d19d682e386528a4522e345eecfd7d4a4a0faaaf48d6448be6d
MD5 dd4e75e6687014b2c44459123f75b369
BLAKE2b-256 aa0f0a49745e8db86bf2cb0d2d5a021af8ccf9dc9aadff2e09284f05b56b39d5

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