Python Api for mempool.space
Project description
mempool.space API wrapper
Python3 wrapper around the mempool.space API (V1)
Installation
PyPI
pip install pymempool
or from source
git clone https://github.com/holgern/pymempool.git
cd pymempool
python3 setup.py install
Usage
from pymempool import MempoolAPI
mp = MempoolAPI()
API documentation
https://mempool.space/docs/api/rest
Test
Run unit tests with:
# after installing pytest using pip3
pytest tests
License
Pre-commit-config
Installation
$ pip install pre-commit
Using homebrew:
$ brew install pre-commit
$ pre-commit --version
pre-commit 2.10.0
Install the git hook scripts
$ pre-commit install
Run against all the files
pre-commit run --all-files
pre-commit run --show-diff-on-failure --color=always --all-files
Update package rev in pre-commit yaml
pre-commit autoupdate
pre-commit run --show-diff-on-failure --color=always --all-files
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pymempool-0.0.3.tar.gz
(11.4 kB
view hashes)
Built Distribution
Close
Hashes for pymempool-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c6c5088afbd63b2aaadab8141200853defb85f81863c4f7efb0fcdd99cc9270 |
|
MD5 | 25bad5520629c22083779b0aec7ce13a |
|
BLAKE2b-256 | 3852863fc2462f64628b8f21bd476e692074cb911d7d19f5f1be205b5f2033b2 |