Skip to main content

No project description provided

Project description

unimeta

realtime database sync tools

Installation

unimeta is distributed on PyPI <https://pypi.org>_ as a universal wheel and is available on Linux/macOS and Windows and supports Python 2.7/3.5+ and PyPy.

$ pip install unimeta
>>> from unimeta.pipeline import MysqlSource, ClickHouseSink, Pipeline
>>> mysql_url = "mysql://root:111111@127.0.0.1:3306/hr"
>>> clickhouse_url = "clickhouse://127.0.0.1:9000/hr"
>>> source = MysqlSource(database_url = mysql_url)
>>> sink = ClickHouseSink(database_url = clickhouse_url)
>>> pipe = Pipeline(source, sink)
>>> pipe.sync_tables()
>>> pipe.sync()

License

unimeta is distributed under the terms of both

  • MIT License <https://choosealicense.com/licenses/mit>_
  • Apache License, Version 2.0 <https://choosealicense.com/licenses/apache-2.0>_

at your option.

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

unimeta-0.0.12.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

unimeta-0.0.12-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file unimeta-0.0.12.tar.gz.

File metadata

  • Download URL: unimeta-0.0.12.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0

File hashes

Hashes for unimeta-0.0.12.tar.gz
Algorithm Hash digest
SHA256 5875b6927d2d474d31459fa3f4829b85aff180a92ec379861cab1ca004bdfc7e
MD5 3b67d1fb381c2833c969ad0e743fb08b
BLAKE2b-256 52b7b2439ebb3ed4e02ae04e54c5fffb3a927a59df0c447f850b595950ef6bef

See more details on using hashes here.

File details

Details for the file unimeta-0.0.12-py3-none-any.whl.

File metadata

  • Download URL: unimeta-0.0.12-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0

File hashes

Hashes for unimeta-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 1e8f00e8fc24f90a18b8acd280cea69168bafe4df4ec726bbdcf8c9ce6d0a6f3
MD5 53cbadce888a62d8fedbaba265fd75d6
BLAKE2b-256 002b013ef2bc6ab5afae622425958ef7780a7404561f8aa2cfc21347a94f57b0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page