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.18.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.18-py3-none-any.whl (49.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tmg_data-0.3.18.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.18.tar.gz
Algorithm Hash digest
SHA256 14fc04298cb647d6e66ad93a78e2c1903921087f14005ba674d97af48278cb40
MD5 da2e735cd63068a6a41850370b1a5bd8
BLAKE2b-256 4d314a9a1ed4d47f881700c49b6d530a53b1f51a0514a913ae24cefecfd4f0ec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tmg_data-0.3.18-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.18-py3-none-any.whl
Algorithm Hash digest
SHA256 a588bfdf5518a77929673044e902d52e690a49a7deacc3d7162cdf4502015d8a
MD5 60eb6abfe84df17f63b54c50d118c7a2
BLAKE2b-256 c18a4f773c0ee610f5b3fae83fb9d8812789e6b3d429a5b8df43b0521e9a82af

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