Skip to main content

pulse.eco API wrapper

Project description

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

pulse-eco is avialiable on PyPI:

python -m pip install pulse-eco

Requires Python version 3.8+.

Documentation

Official pulse.eco REST API documentation can be found on pulse.eco/restapi.

API Reference and User Guide for this package is available on GitHub Pages.

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 client creates 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

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

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

pulse_eco-2.0.0rc1.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

pulse_eco-2.0.0rc1-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file pulse_eco-2.0.0rc1.tar.gz.

File metadata

  • Download URL: pulse_eco-2.0.0rc1.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for pulse_eco-2.0.0rc1.tar.gz
Algorithm Hash digest
SHA256 1730c8faafaaff44948c3dbb90068251cee02b50a7f20281547d3915b437974f
MD5 e1bdc5ce79d0e7d19f54455a46e07838
BLAKE2b-256 f235e1e64acbc869d5886aa6113b4fecb68779543651b420757f88d4b5376aca

See more details on using hashes here.

File details

Details for the file pulse_eco-2.0.0rc1-py3-none-any.whl.

File metadata

  • Download URL: pulse_eco-2.0.0rc1-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for pulse_eco-2.0.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 bc3dba0e24bc13824e5dd43c392eedbdde2745bba68cdf2146342f9c97017088
MD5 c1463f1efab4e52dd7201e36e9af64f6
BLAKE2b-256 50efad52df66d9b2909b82f4947e9b79f4c95fffee8cfc6a64e43b8dd0e14524

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page