Skip to main content

A library for interacting with the PECO outage map to gain the numbers from it.

Project description

PECO Outage API

PyPI PyPI - Python Version PyPI - License Coookiecutter - Wolt


Documentation: https://IceBotYT.github.io/peco-outage-api

Source Code: https://github.com/IceBotYT/peco-outage-api

PyPI: https://pypi.org/project/peco/


A library for interacting with the PECO outage map to gain the numbers from it.

Installation

pip install peco

Development

  • Clone this repository
  • Requirements:
  • Create a virtual environment and install the dependencies
poetry install
  • Activate the virtual environment
poetry shell

Testing

pytest

Documentation

The documentation is automatically generated from the content of the docs directory and from the docstrings of the public signatures of the source code. The documentation is updated and published as a Github Pages page automatically as part each release.

Releasing

Trigger the Draft release workflow (press Run workflow). This will update the changelog & version and create a GitHub release which is in Draft state.

Find the draft release from the GitHub releases and publish it. When a release is published, it'll trigger release workflow which creates PyPI release and deploys updated documentation.

Pre-commit

Pre-commit hooks run all the auto-formatting (ruff format), linters (e.g. ruff and mypy), and other quality checks to make sure the changeset is in good shape before a commit/push happens.

You can install the hooks with (runs for each commit):

pre-commit install

Or if you want them to run only for each push:

pre-commit install -t pre-push

Or if you want e.g. want to run all checks manually for all files:

pre-commit run --all-files

This project was generated using the wolt-python-package-cookiecutter template.

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

peco-0.1.1.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

peco-0.1.1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: peco-0.1.1.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.5.0-1022-azure

File hashes

Hashes for peco-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a7d53172473cf076d452da60ddf1c6c18a23539ee60ae4738773354408ca2d7d
MD5 d95122e599e4916b175e5c31630f8fc1
BLAKE2b-256 d8885b9bf873f730c29a77b737b34b5f358d15392173f05fb6f8b29ee64ede06

See more details on using hashes here.

File details

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

File metadata

  • Download URL: peco-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.5.0-1022-azure

File hashes

Hashes for peco-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 22aa057bb7e647bc6da97457895eee472a09e8e0d9a2d43c9e5b190e0faf6bb0
MD5 56326daf8b50a63f3d7e1ae71e233b51
BLAKE2b-256 1dbc0f594eaefccdbde50df497e66f313d751ec9634a794810969421480ec6c2

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