Skip to main content

whereq.cloud — Python SDK

Official Python client for the WhereQ data cloud — the versioned, metered /v1 API at api.whereq.cloud: North-America fuel & gas-station prices, cost-of-living prices, a cross-region comparison, trending hot-lists, autos, lottery, equities & market data, and more.

Public endpoints work with no key; metered endpoints take an API key.

Install

pip install whereq.cloud

Usage

from whereq_cloud import Client

wq = Client()                          # public access
# wq = Client(api_key="wq_live_…")     # metered tier

# Cost of living — compare US states, CA provinces, or metros (by rent-series id)
print(wq.cost_of_living("us:California,ca:Ontario,m:3958"))

# Prices — fuel | food | energy | housing | rent
print(wq.prices(domain="rent", region="us", bedrooms=2, limit=10))
print(wq.price(3958))                  # one series + full history

# Bulk CSV export
csv_text = wq.prices_csv(domain="food", region="us")

# Fuel — North-America gas & diesel: geolocated stations + aggregated series
wq.fuel_stations(country="MX", municipality="Tijuana", product="regular")
wq.fuel_station(1)                     # one station + intra-day price history
wq.fuel_prices(region="mx")            # state / national price series

# Discovery
wq.catalog(); wq.categories(); wq.regions(); wq.domains()

# Finance
wq.hotstocks(limit=5)
wq.screener(sector="Technology")

# Escape hatch — call any /v1 endpoint directly
wq.get("/v1/trending", limit=10)

Use it as a context manager to close the HTTP connection pool:

with Client(api_key="wq_live_…") as wq:
    data = wq.prices(domain="energy")

Errors raise whereq_cloud.WhereqError (with .status, .message, .url).

License

MIT © WhereQ

Metadata

Release files for whereq.cloud 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for whereq.cloud 0.2.0
File Size Uploaded Provenance Actions
whereq_cloud-0.2.0.tar.gz 4.3 kB With provenance Details for whereq_cloud-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for whereq.cloud 0.2.0
File Interpreter ABI Platform Actions
whereq_cloud-0.2.0-py3-none-any.whl Python 3 none any Details for whereq_cloud-0.2.0-py3-none-any.whl

Total release size: 9.8 kB

Release files / whereq_cloud-0.2.0.tar.gz

Download URL whereq_cloud-0.2.0.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
151dfca57c350465874451c39e9bc3beb00d434ce7d348e63201fc8ab45098a4
BLAKE2b-256 checksum
How to use checksums
ffd38bd90f21f730a52ef7706a8db54aacfbf21237e98177044e2fa9274cef79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

Release files / whereq_cloud-0.2.0-py3-none-any.whl

Download URL whereq_cloud-0.2.0-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e8b03e3b6f411466e7146e62301a1c88e56e473e258fcefbed9136baa6e73856
BLAKE2b-256 checksum
How to use checksums
9a543b4dad5b7f63bad77d4582d84b30b8cbdb7fc1ef3da010bb03a8999096f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

Security for whereq.cloud 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for whereq_cloud-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page