This repository contains Couchbase ELT Tool (aka cbelt
) allowing to import data from various source systems into Couchbase with ease.
Installation is pretty easy and consists of following steps(we assuming you have Python 3.9 or above in place):
- clone the repository
- switch into the cloned repo directory
- install
setuptols
if needed by issuing
pip install --upgrade pip setuptools wheel
- install cbelt as a utility with
pip install .
After the installation you have to be able to make a test runby issuing cbelt
in your command line
cbelt
is configured via json configuration files placed under config directory in the root of the project. Several configuration examples for different kinds of sources are already included into the repository. Please check comments provided in example configuration files for a further configuration details
To start a cbelt
with a particular configuration you have to issue cbelt command providing relative or absolute path to a desired configuration file. For example:
cbelt ./config/rdbms.json
Upon the start cbelt
is going to execute the following steps:
- open a configuration file
- read
source
andtargets
sections - establish connection to the source and target systems
- read the data from the source as configured in form of pandas dataframes
- write the data into the target Couchbase database using bulk methods
Copyright 2021 Couchbase Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.