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.19.tar.gz (41.4 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.19-py3-none-any.whl (49.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tmg_data-0.3.19.tar.gz
Algorithm Hash digest
SHA256 c4196feab92ef6e66d161207a6c66ebc1a84318895cdf2c07a6f433da5c8e254
MD5 91ea3e62ad163580d4e8bcc396234c68
BLAKE2b-256 1cf0ec5f06f4d4337acfb6005c194ebd5bb145b46d30d0a79bdeb4177119dc05

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for tmg_data-0.3.19-py3-none-any.whl
Algorithm Hash digest
SHA256 0f8921a2e56bd4bdccd78c8da760d75b95ba56729611c4fe3e62d42c627ed8e0
MD5 324be30b20fd8786627df5576fcde96f
BLAKE2b-256 5158c16368b76d1e8ecb1569455f6a9b3c8e9a29f29fb289c54315d271108ab4

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