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.8.tar.gz (36.8 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.8-py3-none-any.whl (44.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tmg_data-0.3.8.tar.gz
  • Upload date:
  • Size: 36.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.11

File hashes

Hashes for tmg_data-0.3.8.tar.gz
Algorithm Hash digest
SHA256 5647fe30113064405b625f74bf69cd62110b73addc847f42a0e1b4d57d56b417
MD5 a7ab5cfc5a0e12ce0e77b5c60812c19d
BLAKE2b-256 f02abe5c18728a0eaa9d676a26aa362b2cda717a837a70acf52632d56b4da3a8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for tmg_data-0.3.8-py3-none-any.whl
Algorithm Hash digest
SHA256 046b4aeb25cb9dad28d63cd3687159b125dd50075f13abd414c61a460078cc94
MD5 c006dd1f8dc672cf31676c8b9be2ddbf
BLAKE2b-256 383530d67e4706cf093951c088927654c1003015cb0929ab55c1329b53606324

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