Skip to content
This repository has been archived by the owner on Sep 15, 2023. It is now read-only.

Commit

Permalink
add deprecation warning to repo, update Changelog, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
soad003 committed Jun 6, 2023
1 parent e4f5ad8 commit a967c1b
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/venv/
__pycache__
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [23.05] - not yet released
## [23.06/1.4.0] - 2023-06-12
### Removed
- coindesk and coimarket exchange rates scripts -> graphsense-lib provides the same features
### Deprecated
- btc streaming import -> graphsense-lib provides the same features

## [23.03/1.3.0] - 2023-03-29
- no changes
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
RELEASE := 'v23.03'
RELEASESEM := 'v1.3.0'
RELEASE := 'v23.06'
RELEASESEM := 'v1.4.0'

all: build

Expand Down
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,26 @@
[![pytest](https://github.com/graphsense/graphsense-bitcoin-etl/actions/workflows/pytest.yml/badge.svg)](https://github.com/graphsense/graphsense-bitcoin-etl/actions/workflows/pytest.yml)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

# A GraphSense component to ingest Bitcoin Core data to Apache Cassandra
# A GraphSense component to ingest Bitcoin Core data to Apache Cassandra (DEPRECATED)

The [graphsense-lib]( https://github.com/graphsense/graphsense-lib) supersede this repository, it provides the same functionality e.g. to import btc/ltc/... data into cassandra use

graphsense-cli -v ingest from-node -e dev -c ltc --previous_day --batch-size 100 --create-schema

This requires a properly configured gs config file. The default location is ~/.graphsense.yaml. An example dev environment config could look as follows


environments:
dev:
cassandra_nodes:
- localhost
keyspaces:
ltc:
raw_keyspace_name: ltc_raw
transformed_keyspace_name: ltc_transformed
schema_type: utxo
ingest_config:
node_reference: http://[user]:[pw]@localhost:8532

## Prerequisites

Expand Down
5 changes: 5 additions & 0 deletions scripts/btc_cassandra_streaming.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

import warnings

from argparse import ArgumentParser
from collections import OrderedDict
from collections.abc import Iterable
Expand Down Expand Up @@ -668,6 +670,9 @@ def create_parser():


def main() -> None:

warnings.warn("graphsense-bitcoin-etl is deprecated. Please use https://github.com/graphsense/graphsense-lib -> graphsense-cli ingest which provides the same functionality", DeprecationWarning)

parser = create_parser()
args = parser.parse_args()

Expand Down

0 comments on commit a967c1b

Please sign in to comment.