python-coingecko
Features
- 🪙 CoinGecko api routes, including current beta
- ♻️ Retry Strategy Sensible defaults to reliably retry/back-off fetching data from coingecko
- ✏️ Code Formatting Fully typed with mypy and code formatters black / isort
- ⚒️ Modern tooling using uv, ruff, and pre-commit
- 📥 GitHub Actions CI/CD to automate everything
- ↩️ Code Coverage Fully tested using tools like Codecov
- 🐍 Python Support All minor versions from 3.9 are supported
Installation
$ pip install python-coingecko
Usage
from pycoingecko import CoinGecko
client = CoinGecko()
client.simple.price_by_id(ids="bitcoin", vs_currencies="usd")
Documentation
See full documentation here.
If you would like to support development efforts, tips are greatly appreciated. SOL wallet address: HKmUpKBCcZGVX8RqLRcKyjYuY23hQHwnFSHXzdon4pCH
Release files for python-coingecko 0.0.15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python_coingecko-0.0.15.tar.gz | 18.0 kB | Details |
Release files / python_coingecko-0.0.15.tar.gz
| Download URL | python_coingecko-0.0.15.tar.gz |
|---|---|
| Size | 18.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8aa4e1e4466b3cece13f42e498215a05ff7831567ec71b9278128749a06d39ea
|
|
BLAKE2b-256 checksum How to use checksums |
ba5ffa998ec41cfae04ba0ea2974c9a4af9c62b758f5d3309118d7a356c7caad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.10
|