{"id":21358589,"url":"https://github.com/holgern/pymempool","last_synced_at":"2025-07-13T00:34:07.531Z","repository":{"id":62591993,"uuid":"499509451","full_name":"holgern/pymempool","owner":"holgern","description":"Python Package for accessing the Mempool.Space API.","archived":false,"fork":false,"pushed_at":"2025-02-01T21:05:53.000Z","size":64,"stargazers_count":16,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-05T02:18:44.466Z","etag":null,"topics":["api","api-wrapper","bitcoin","mempool","python","rest-api","wrapper"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/holgern.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-03T12:48:55.000Z","updated_at":"2025-05-13T10:59:55.000Z","dependencies_parsed_at":"2024-01-11T19:04:44.779Z","dependency_job_id":"664a09bb-c9fb-4367-897d-2ca33d3a83f6","html_url":"https://github.com/holgern/pymempool","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/holgern/pymempool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holgern%2Fpymempool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holgern%2Fpymempool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holgern%2Fpymempool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holgern%2Fpymempool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/holgern","download_url":"https://codeload.github.com/holgern/pymempool/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holgern%2Fpymempool/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264350784,"owners_count":23594569,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","api-wrapper","bitcoin","mempool","python","rest-api","wrapper"],"created_at":"2024-11-22T05:19:58.387Z","updated_at":"2025-07-13T00:34:07.524Z","avatar_url":"https://github.com/holgern.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mempool.space API wrapper\n\n[![codecov](https://codecov.io/gh/holgern/pymempool/graph/badge.svg?token=VyIU0ZxwpD)](https://codecov.io/gh/holgern/pymempool)\n[![PyPi Version](https://img.shields.io/pypi/v/pymempool.svg)](https://pypi.python.org/pypi/pymempool/)\n\nPython3 wrapper around the [mempool.space](https://www.mempool.space) API (V1)\n\n### Installation\n\nPyPI\n\n```bash\npip install pymempool\n```\n\nor from source\n\n```bash\ngit clone https://github.com/holgern/pymempool.git\ncd pymempool\npython3 setup.py install\n```\n\n### Usage\n\n```python\nfrom pymempool import MempoolAPI\nmp = MempoolAPI()\n```\n\n### API Documentation\n\nhttps://mempool.space/docs/api/rest\n\n## Test Suite\n\n### Set up the test environment\n\nInstall the test-runner dependencies:\n\n```\npip3 install -r requirements-test.txt\n```\n\nThen make the `pymempool` python module visible/importable to the tests by installing the local dev dir as an editable module:\n\n```\n# from the repo root\npip3 install -e .\n```\n\n### Running the test suite\n\nRun the whole test suite:\n\n```\n# from the repo root\npytest\n```\n\nRun a specific test file:\n\n```\npytest test/test_this_file.py\n```\n\nRun a specific test:\n\n```\npytest test/test_this_file.py::test_this_specific_test\n```\n\n### Running tests with tox\n\nInstall tox\n\n```\npip install tox\n```\n\nRun tests\n\n```\ntox\n```\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n\n## Pre-commit-config\n\n### Installation\n\n```\n$ pip install pre-commit\n```\n\n### Using homebrew:\n\n```\n$ brew install pre-commit\n```\n\n```\n$ pre-commit --version\npre-commit 2.10.0\n```\n\n### Install the git hook scripts\n\n```\n$ pre-commit install\n```\n\n### Run against all the files\n\n```\npre-commit run --all-files\npre-commit run --show-diff-on-failure --color=always --all-files\n```\n\n### Update package rev in pre-commit yaml\n\n```bash\npre-commit autoupdate\npre-commit run --show-diff-on-failure --color=always --all-files\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fholgern%2Fpymempool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fholgern%2Fpymempool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fholgern%2Fpymempool/lists"}