A Python library for making matrices and graphs of Bitcoin wallet transactions
Project description
Bitcoin Graph
The bitcoin_graph
library makes it simple to produce graphs and matrices of Bitcoin transactions from a single wallet address of a list of wallet addresses.
This is an alpha release, so please post bugs/requests as you encounter them. Thanks!
Installation
# via pip
pip install bitcoin_graph
# via github
pip install git+https://github.com/joeblankenship1/bitcoin_graph.git
Example
from bitcoin_graph import bitcoin_graph
# you can input a single wallet address or a list of dictionaries with metadata
node_data = [('1DqeUNa3wqJRamTEUMTiUXHAQynQuLh426', {'name': 'Near Genesis'})]
# this will take a single wallet address of a list of dictionaries with metadata
edge_data = bitcoin_graph.bitcoin_network(node_data)
# this will output a Networkx graph object
graph_object = bitcoin_graph.bitcoin_graph(node_data, edge_data)
# you can then export to one of several formats
bitcoin_graph.bitcoin_data_export(graph_object, 'graphml', 'filename')
- You can also now use NetworkX to manipulate the graph object.
Features
- Single or multiple addresses
- Multiple output formats
- Extends Networkx functionality
- Python 3.6+
Documentation
Docs are forthcoming.
Bugs/Requests
Please use Github Issue Tracker
Changelog
Changelog is forthcoming (will be in same location as Docs).
License
Copyright Joe Blankenship, 2019
Distributed under the terms of the GNU GPL-3.0 license. Bitcoin_graph is free and open-source software.
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
bitcoin_graph-0.1a1.tar.gz
(4.2 kB
view details)
Built Distribution
File details
Details for the file bitcoin_graph-0.1a1.tar.gz
.
File metadata
- Download URL: bitcoin_graph-0.1a1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d439dc06424abd64f9bfea83cc6f839abe52b6b3d650c784dbd8cc294192e178 |
|
MD5 | 83b509d58e3ad021c24293da30a21970 |
|
BLAKE2b-256 | 1a79d440934ad4196e8b7d879e1ad4649311e4e3a0f6fa9a4708f5f84d19ea32 |
File details
Details for the file bitcoin_graph-0.1a1-py3-none-any.whl
.
File metadata
- Download URL: bitcoin_graph-0.1a1-py3-none-any.whl
- Upload date:
- Size: 17.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc0828296d6e4cb3eff762c6fafaf4c294cbcc65e5c9b18339ae17a5c7ad897b |
|
MD5 | f3d4185f835c5c4b98eb8617cda840f0 |
|
BLAKE2b-256 | d86fa61928ee68f163dc0d98d228b410f389f00d4d03b0b532efceb27a8579ff |