Skip to main content

Load data on Couchbase via singer.io

Project description

target-couchbase

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

Note: Please refer to Couchbase documentation for the details of installation of couchbase Python SDK.

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 }}"
}

Step 2: 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

About this project

This project is developed by ANELEN and friends. Please check out the ANELEN's open innovation philosophy and other projects

ANELEN

Copyright © 2021~ Anelen Co., LLC

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

target-couchbase-0.1.2.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

target_couchbase-0.1.2-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file target-couchbase-0.1.2.tar.gz.

File metadata

  • Download URL: target-couchbase-0.1.2.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.9

File hashes

Hashes for target-couchbase-0.1.2.tar.gz
Algorithm Hash digest
SHA256 4d632572c4e23e4a5af3a213455b5179edb5c894bb34ba0dbb334e32f8d59b20
MD5 a5ab5b204350b2354ebae1ca61de138e
BLAKE2b-256 71aa0b3089e8214e0ddb300381fa9456ca38750989a26ba19016930714a29de2

See more details on using hashes here.

File details

Details for the file target_couchbase-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: target_couchbase-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.9

File hashes

Hashes for target_couchbase-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c18c4b88684b5cacec2f40aa5180ffa5d4198c5fcecdd2e5f0dcf963fde642d4
MD5 de35ae6b0eee6c6aec06e7a694ac32c3
BLAKE2b-256 95ed7fcde5bdae2111640a78bf8ffbf795df8cba77bc7d2dfd8cf48db25688e8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page