Skip to main content

Cost basis calculator for blockchain assets.

Project description

yabc on PyPI MIT License badge yabc on TravisCI

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/*

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

yabc-0.0.3.tar.gz (7.4 kB view hashes)

Uploaded Source

Built Distributions

yabc-0.0.3-py3.6.egg (18.9 kB view hashes)

Uploaded Source

yabc-0.0.3-py3.5.egg (19.0 kB view hashes)

Uploaded Source

yabc-0.0.3-py3-none-any.whl (12.5 kB view hashes)

Uploaded Python 3

Supported by

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