Metadata-Version: 2.1
Name: tap-bitso
Version: 0.1.1
Summary: `tap-bitso` is a Singer tap for Bitso, built with the Meltano SDK for Singer Taps.
Project-URL: documentation, https://github.com/edgarrmondragon/tap-bitso#readme
Project-URL: homepage, https://github.com/edgarrmondragon/tap-bitso
Project-URL: repository, https://github.com/edgarrmondragon/tap-bitso
Author-email: Edgar Ramírez-Mondragón <edgarrm358@gmail.com>
Maintainer-email: Edgar Ramírez-Mondragón <edgarrm358@gmail.com>
License-Expression: Apache-2.0
License-File: LICENSE
Keywords: Bitso,ELT,meltano-sdk,singer.io
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.8
Requires-Dist: backoff
Requires-Dist: importlib-resources<7,>=6; python_version < '3.9'
Requires-Dist: singer-sdk~=0.34.0
Requires-Dist: structlog<24,>=23
Provides-Extra: dev
Requires-Dist: colorama>=0.4.4; extra == 'dev'
Requires-Dist: singer-sdk[testing,typing]~=0.34.0; extra == 'dev'
Provides-Extra: testing
Requires-Dist: deptry>=0.12; extra == 'testing'
Requires-Dist: pytest>=7.4; extra == 'testing'
Requires-Dist: singer-sdk[testing]~=0.34.0; extra == 'testing'
Provides-Extra: typing
Requires-Dist: mypy; extra == 'typing'
Requires-Dist: types-requests; extra == 'typing'
Description-Content-Type: text/markdown

# tap-bitso

⚠️ Warning: this project is under active development, essential features are still missing and implementation subject to change. ⚠️

`tap-bitso` is a Singer tap for the [Bitso API](https://bitso.com/api_info).

Built with the Meltano [SDK](https://gitlab.com/meltano/sdk) for Singer Taps.

## Installation

```bash
pipx install git+https://github.com/edgarrmondragon/tap-bitso.git
```

## Configuration

### Accepted Config Options

A full list of supported settings and capabilities for this
tap is available by running:

```bash
tap-bitso --about
```

| Field      | Description             | Type           | Required | Default                 |
|------------|-------------------------|----------------|----------|-------------------------|
| `key`      | Bitso API Key           | `string`       | yes      |                         |
| `secret`   | Bitso API Secret        | `string`       | yes      |                         |
| `base_url` | Bitso API URL           | `string`       | no       | `https://api.bitso.com` |
| `books`    | Tickers to get data for | `list(string)` | no       | `["btc_mxn"]`           |

### Source Authentication and Authorization

This tap handles the [digest access authentication for the Bitso API](https://docs.bitso.com/bitso-api/docs/authentication).

## Usage

You can easily run `tap-bitso` by itself or in a pipeline using [Meltano](www.meltano.com).

### Executing the Tap Directly

```bash
tap-bitso --version
tap-bitso --help
tap-bitso --config CONFIG --discover > ./catalog.json
```

## Developer Resources

### Initialize your Development Environment

```bash
pipx install poetry
poetry install
```

<!--
### Create and Run Tests

Create tests within the `tap_bitso/tests` subfolder and
  then run:

```bash
poetry run pytest
```

You can also test the `tap-bitso` CLI interface directly using `poetry run`:

```bash
poetry run tap-bitso --help
```
-->

### Testing with [Meltano](https://www.meltano.com)

_**Note:** This tap will work in any Singer environment and does not require Meltano.
Examples here are for convenience and to streamline end-to-end orchestration scenarios._

Next, install Meltano (if you haven't already) and any needed plugins:

```bash
# Install meltano
pipx install meltano
# Initialize meltano within this directory
cd tap-bitso
meltano install
```

Now you can test and orchestrate using Meltano:

```bash
# Test invocation:
meltano invoke tap-bitso --version
# OR run a test `elt` pipeline:
meltano elt tap-bitso target-sqlite
```

### SDK Dev Guide

See the [dev guide](https://sdk.meltano.com/en/latest/dev_guide.html) for more instructions on how to use the SDK to
develop your own taps and targets.
