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.11.tar.gz
(13.3 kB
view details)
Built Distribution
unimeta-0.0.11-py3-none-any.whl
(14.3 kB
view details)
File details
Details for the file unimeta-0.0.11.tar.gz
.
File metadata
- Download URL: unimeta-0.0.11.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | bebadad99ef297b0e0a1176b0146d5e34e6354cbbc50b2ea0fcc52f42d0ebb58 |
|
MD5 | 750f9177524cd773e61a55a50905347f |
|
BLAKE2b-256 | cccacfbc7dce5c496f6754b4e05ee8300715b453a96a598d8354c367cf9b68fe |
File details
Details for the file unimeta-0.0.11-py3-none-any.whl
.
File metadata
- Download URL: unimeta-0.0.11-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 721bcb66436a1b8ec3566a78c520b100a02045e9f3eb0d088293107e8bff7d2e |
|
MD5 | 68a2442dca0bb2ce961e4554147c789a |
|
BLAKE2b-256 | c87a3cce6fccdf656a0a6f146b3b4624ee0db0848186e634293bd804498e5554 |