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.4.tar.gz (33.0 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.4-py3-none-any.whl (40.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tmg-data-0.3.4.tar.gz
  • Upload date:
  • Size: 33.0 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.4.tar.gz
Algorithm Hash digest
SHA256 b1fb5dafe6c04a23b1806b83d09dd84f34f6c40e962824945b156fec0388d28f
MD5 4c2754dd943d8096d47a9a5c6909aa7d
BLAKE2b-256 e45cf01941e5259973a60abe38200e33a279ec7f185391124d6005aa41850690

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tmg_data-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 40.3 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 452fb4a1f969b3ef68354564fb34d1544574e995a2d3fcdaf073a4e77a5abf20
MD5 3c54db5e17bab7f507ff5377db24e6d4
BLAKE2b-256 134103d8ece177acfa229ebb8be900415a039fc8e5192b5b7bf92074f4dddb78

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