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
Release history Release notifications | RSS feed
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.4.tar.gz
(13.1 kB
view details)
Built Distribution
unimeta-0.0.4-py3-none-any.whl
(14.1 kB
view details)
File details
Details for the file unimeta-0.0.4.tar.gz
.
File metadata
- Download URL: unimeta-0.0.4.tar.gz
- Upload date:
- Size: 13.1 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd98f0f1923876dae6b2e06cb59886bf29e8d97d1bf7724e823533681437f9e1 |
|
MD5 | 6292fa4296c69c834c3e3bd037c51ef3 |
|
BLAKE2b-256 | 270f56f5ee7008201bb33f9ef1900fe762bc15bc440f06f72253435520c198d6 |
File details
Details for the file unimeta-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: unimeta-0.0.4-py3-none-any.whl
- Upload date:
- Size: 14.1 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6583dc9e867fa91a3cf5758b844c1f8caca75b9310c7d4b61565f5ba97e7decd |
|
MD5 | fd74edff200b75fd816fc51861af4721 |
|
BLAKE2b-256 | 428aee019794e1485514ca2654fe91630c6d51366dc31fc7563fb56bbe6549d8 |