Skip to main content

Zero-dependency Chainlink price feed reader for any EVM chain

Project description

gud-price

Zero-dependency Chainlink price feed reader for any EVM chain.

Read real-time prices from Chainlink data feeds on 18+ EVM chains with a single RPC call — no web3, no ABIs.

Installation

pip install gud-price

Usage

from gud_price.rpc import read_latest_price
from gud_price.ethereum import ETH_USD
from gud_price.rpcs import rpc

price = read_latest_price(rpc("ethereum"), ETH_USD)
print(f"ETH/USD: {price.answer}")

Supported Chains

Ethereum, Arbitrum, Base, Polygon.

License

MIT

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

gud_price-0.1.7.tar.gz (36.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gud_price-0.1.7-py3-none-any.whl (36.0 kB view details)

Uploaded Python 3

File details

Details for the file gud_price-0.1.7.tar.gz.

File metadata

  • Download URL: gud_price-0.1.7.tar.gz
  • Upload date:
  • Size: 36.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for gud_price-0.1.7.tar.gz
Algorithm Hash digest
SHA256 baa5d2038de2671ed6b91512d553d52e754e50921200958c03f2c9ed72f2ea89
MD5 2bdc236f921554dbb38b919b1bdd6b74
BLAKE2b-256 eda97426a716df43aabe2c32e8869e8ab901f3de976bd185646d7e1ecc33eef9

See more details on using hashes here.

File details

Details for the file gud_price-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: gud_price-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 36.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for gud_price-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 a4b21f170d1254b0a7a51b6df57fea0cbd3a7daf7935dc75ab47bd2f56fbe542
MD5 d7e0da9ce465e8803163180d9f997e9d
BLAKE2b-256 9b68afa1b5bcef6568ab4696686356e40744c6ad6c71191cf688765fe2d9444f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page