Skip to main content

bits is a cli tool and pure Python library for Bitcoin

Project description

bits

bits is a cli tool and pure Python library for Bitcoin

Dependencies

  • Python 3.7+

Installation

git clone https://github.com/jtraub91/bits.git
cd bits/
pip install .

Install for development

pip install -e .[dev]
pre-commit install

Usage

See the following for command line usage

bits -h

Configuration

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.

Config file support

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.

Donate

1GjPvTLYLNodnBJ969DWHcqBMP3pa5tsV3

License

MIT License

Copyright (c) 2023 Jason Traub

See LICENSE.txt for details.

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

bits-0.2.1.tar.gz (74.8 kB view hashes)

Uploaded Source

Built Distribution

bits-0.2.1-py3-none-any.whl (79.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