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.0.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.0-py3-none-any.whl (36.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gud_price-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 47b6c7bad18cc8cc20ae4cedcf98398ae5a19f7924c624febaf9f3ca16435d05
MD5 3e8ef6c99ce473117cdcd033a9839855
BLAKE2b-256 7f691299abfd27f178a2ecdf401a64a57f1ef82ab41f2e44050882048a6a74b9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gud_price-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6c0543d83593ae4469b4e6c7d9259f3254bc942ce326ef530cf16d81430fb532
MD5 68d569080d5c802b693f60ad1ef5e695
BLAKE2b-256 66f09cad87f5bae9c785423d27f8c2549b6c288f2f855946d05c83f0e6bc1979

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