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

Uploaded Python 3

File details

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

File metadata

  • Download URL: gud_price-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 4cdd148585135f3fc384c294e0bb9f73e27b8f29a9caa2d52edb6fa39902fa49
MD5 f4680fc0d1cc29d630b8e553fdb96159
BLAKE2b-256 5326da4bab6f974303616a64ec20c54686b885a1d2edf4b432a146333ee55587

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gud_price-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6d9a3534dc4cfca8d078155456076f4e326c4788624165c2684362e5b2139dc8
MD5 d1f61acdd76ad0f871045817c49050ec
BLAKE2b-256 297073c7f4dc1e8712fc87a149865393d4cb16d03d4436f2a14442faa2c749ae

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