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.2.tar.gz
(12.7 kB
view details)
Built Distribution
unimeta-0.0.2-py3-none-any.whl
(13.7 kB
view details)
File details
Details for the file unimeta-0.0.2.tar.gz
.
File metadata
- Download URL: unimeta-0.0.2.tar.gz
- Upload date:
- Size: 12.7 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fb822354f71fe997df96f5455c2cd66bb57798b08885f841f1772efc268e2bb |
|
MD5 | fc4eee588c74261a014be6c8e8ef99ed |
|
BLAKE2b-256 | e30e6bf21bb971f75ecf02dcefc88d1eb0a0f1eb687ceb4aa3d5b55258e37c39 |
File details
Details for the file unimeta-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: unimeta-0.0.2-py3-none-any.whl
- Upload date:
- Size: 13.7 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13776698efe7251f39279cc11a1b2331709591634541d98abcb655e10baeaf7b |
|
MD5 | ac1e99e86f1e66f45720aee450d3a6f1 |
|
BLAKE2b-256 | 2d2f659081d3910ba39fbc024e6ffba2d17b5d76f20438c33761a64bd04343a6 |