Skip to main content

pulse-eco

GitHub Workflow Test codecov GitHub Workflow Build

PyPI PyPI - Python Version

Ruff types - Mypy GitHub license

pulse.eco logo

pulse.eco client for Python.

Installation

Requires Python version 3.8+.

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]

List of extras

  • 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.

Documentation

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.

Requesting data with a larger time range

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.

Development

Install Hatch

https://hatch.pypa.io/latest/install/

Create dev environment

Activate a Python 3.8 environment and run:

hatch env create dev

To delete the environment, run:

hatch env remove dev

Install pre-commit hooks

hatch run dev:setup

Create .env file

Set auth credentials in .env file:

cp .env.example .env

Before committing

This command must pass without errors before committing:

hatch run dev:check

Docs

To preview the docs locally, run:

hatch run dev:docs-serve

Metadata

Release files for pulse-eco 2.3.3

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

Source distribution (sdist)

Source distribution for pulse-eco 2.3.3
File Size Uploaded Provenance Actions
pulse_eco-2.3.3.tar.gz 11.9 kB Without provenance Details for pulse_eco-2.3.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pulse-eco 2.3.3
File Interpreter ABI Platform Actions
pulse_eco-2.3.3-py3-none-any.whl Python 3 none any Details for pulse_eco-2.3.3-py3-none-any.whl

Total release size: 27.2 kB

Release files / pulse_eco-2.3.3.tar.gz

Download URL pulse_eco-2.3.3.tar.gz
Size 11.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ca70d68f3ac41da4ead49e97cb6d85f9beb69bae9e51b6a22f90204a23d15f17
BLAKE2b-256 checksum
How to use checksums
d9a3d4ceb87e13ec25733b8eabeec0044d86622376de404ab949a039eda5aad0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.12

Release files / pulse_eco-2.3.3-py3-none-any.whl

Download URL pulse_eco-2.3.3-py3-none-any.whl
Size 15.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
243f0015bff0fbaed0aa0d3f7d88267fc3f59a56e1c7f4e92fac160e9b78aca8
BLAKE2b-256 checksum
How to use checksums
ebdfb7a41df529e510d1718479afab439e31ebc8cd25d5ef40f12e901afbc5e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.12

Security for pulse-eco 2.3.3

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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