bits
is a cli tool and pure Python library for Bitcoin
- Python 3.7+
pip install bits
git clone https://github.com/jtraub91/bits.git
cd bits/
pip install -e .[dev]
pre-commit install
See the following for command line usage
bits -h
A configuration file is not strictly necessary, but may be leveraged, nominally located at ~/.bits/config.[toml|json]
, for overriding CLI defaults.
See conf/ for default configuration files.
TOML is preferred for configuration files but is natively supported only on Python 3.11 and up; on the contrary, JSON is supported for all Python versions. Therefore, for all Python versions, if ~/.bits/config.json
is present, it will be used, but for Python 3.11+, if ~/.bits/config.toml
is present, it will be used instead.
1GjPvTLYLNodnBJ969DWHcqBMP3pa5tsV3
MIT License
Copyright (c) 2023 Jason Traub
See LICENSE.txt
for details.
Documentation was scaffolded with several sphinx commands, e.g.
sphinx-quickstart docs --ext-autodoc --extensions sphinx.ext.napoleon --no-makefile --no-batchfile --sep
sphinx-apidoc src/bits -o docs/source/
To re-build the docs,
make docs
And serve the docs locally,
make docs-serve