pulse.eco client for Python.
Requires Python version 3.9+.
The pulse-eco package comes with no base dependencies, everything is an extra. A sensible default is:
python -m pip install pulse-eco[client,httpx]client- includes Pydantic, used for the higher level validated client (pulseeco.client).requests- includes requests HTTP client with sync support.aiohttp- includes aiohttp HTTP client with async support.httpx- includes HTTPX HTTP client with both sync and async support.
API Reference and User Guide for this package is available on GitHub Pages.
Official pulse.eco REST API documentation can be found on pulse.eco/restapi.
The pulse.eco API limits the maximum time span of data you can get from one request.
For /dataRaw it is one week, while for /avgData it is one year.
If the time range is larger than the maximum, the pulse-eco Python client performs multiple requests to the API and then joins the data together. Be aware of this.
https://docs.astral.sh/uv/getting-started/installation/
uv sync --all-extraspre-commit installSet auth credentials in .env file:
cp .env.example .envThis command should pass without errors before committing:
./scripts/check.shTo preview the docs locally, run:
uv run mkdocs serve