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.1.0.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

unimeta-0.1.0-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: unimeta-0.1.0.tar.gz
  • Upload date:
  • Size: 14.4 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.6.9

File hashes

Hashes for unimeta-0.1.0.tar.gz
Algorithm Hash digest
SHA256 73a873c35634bab380fd1b59f3697cc4e02f060244a51de8384afd869f4a6848
MD5 72d12713f7971766dbe4864e57218618
BLAKE2b-256 c7e435102bd6c9cdf780e8f1470e74894016abb6fdd1dab872c28826334964d3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unimeta-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.2 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.6.9

File hashes

Hashes for unimeta-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1a5d5d72404e3c49c6dd79f35a3d1bf180aaab8423482b9e6d74b87a0809ccb1
MD5 b47ea44ad81bd82630a2ef8f493a233e
BLAKE2b-256 46a01f684eb65af61419e8bb8a7bd23121bf4e770f2803395068ab36be704368

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