Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jtraub91/bits
cli tool & pure Python library for Bitcoin
https://github.com/jtraub91/bits
bitcoin cli python
Last synced: about 2 months ago
JSON representation
cli tool & pure Python library for Bitcoin
- Host: GitHub
- URL: https://github.com/jtraub91/bits
- Owner: jtraub91
- License: mit
- Created: 2022-07-20T06:16:33.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-10T11:21:56.000Z (6 months ago)
- Last Synced: 2024-01-27T11:00:58.503Z (5 months ago)
- Topics: bitcoin, cli, python
- Language: Python
- Homepage:
- Size: 299 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Lists
- cli-apps - bits - CLI tool and pure Python library for Bitcoin. (<a name="financial"></a>Financial tools)
- awesome-cli-apps - bits - CLI tool and pure Python library for Bitcoin. (<a name="financial"></a>Financial tools)
README
# bits
`bits` is a cli tool and pure Python library for Bitcoin
## Dependencies
- Python 3.7+
## Installation
```bash
git clone https://github.com/jtraub91/bits.git
cd bits/
pip install .
```### Install for development
```bash
pip install -e .[dev]
pre-commit install
```## Usage
See the following for command line usage
```bash
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/](/conf/) for default configuration files.
### Config file support
[TOML](https://toml.io) is preferred for configuration files but is natively supported only on Python 3.11 and up; on the contrary, [JSON](https://www.json.org) 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
```text
1GjPvTLYLNodnBJ969DWHcqBMP3pa5tsV3
```## License
MIT License
Copyright (c) 2023 Jason Traub
See `LICENSE.txt` for details.