Load data on Couchbase via singer.io
Project description
target-couchbase
What is it
This is a Singer target that loads JSON-formatted data following the Singer spec to Couchbase Server.
Install
First, make sure Python 3.6 or higher is installed on your system or follow these installation instructions for Mac or Ubuntu.
pip install -U couchbase
pip install -U target-couchbase
Or you can install the lastest development version from GitHub:
pip install -U couchbase
pip install --no-cache-dir https://github.com/anelendata/target-couchbase/archive/master.tar.gz#egg=target-couchbase
Run
Step 1: Configure
Create a file called target_config.json in your working directory, following this sample:
{
"cluster": "{{ your-couchbase-server.com }}:8091",
"username": "{{ couchbase_username }}",
"password": "{{ couchbase_password }}",
"bucket": "{{ your-bucket-name }}"
}
Run
target-bigquery can be run with any Singer Target. As example, let use tap-exchangeratesapi.
pip install tap-exchangeratesapi
And create tap_config.json that looks like:
{
"base": "USD",
"start_date": "2021-01-11"
}
(Adjust your start date. 7 days ago is recommended for the test)
Run:
tap-exchangeratesapi -c tap_config.json | target-couchbase -c target_config.json
Original repository
Copyright © 2021 Anelen Co., LLC
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
Built Distribution
Hashes for target_couchbase-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c42e5ed1ab3f1c0ac350381d220da102ed6389d6ea469873a6ae0e3da5a60d3 |
|
MD5 | a443cd519c1de960720cbbfa13e6f170 |
|
BLAKE2b-256 | a3d1f42be76f0b2871beb4e4a42170e090580b4d4c21980b988493946b8c3c38 |