Metadata-Version: 2.1
Name: yabc
Version: 0.0.2
Summary: Cost basis calculator for blockchain assets.
Home-page: UNKNOWN
Author: Robert Karl
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: ~=3.5
Description-Content-Type: text/markdown
Requires-Dist: flask
Requires-Dist: dateutils

[![yabc on PyPI](https://img.shields.io/pypi/v/yabc.svg)](https://pypi.org/project/yabc/) ![MIT License badge](https://img.shields.io/badge/license-MIT-green.svg) [![yabc on TravisCI](https://travis-ci.org/robertkarl/yabc.svg?branch=master)](https://travis-ci.org/robertkarl/yabc)

# What's this?
Cost basis calculation library and HTTP API. Most useful for blockchain-backed
assets like bitcoin.

# Requirements and python deps
python3 is required. Flask is required for running the HTTP endpoints. Basis
calculation code uses dateutil.


# Running the code
Running and testing the api server in development mode from source:

```
virtualenv -p python3 venv
source ./venv/bin/activate
# Creating and activating a virtual environment above is optional and recommended
./setup.py install
python -m yabc_api.yabc_api
```

# Running the docker image
```
make build
make run
```

# Notes
File structure inspired by source and test layout of python modules sshuttle and flask.

# Distributing
```
python3 setup.py sdist bdist_wheel
python3 -m twine upload dist/*
```


