CLI tool to check electricity outage schedules
Project description
Installation
Install from PyPI
pip install electricity-outage-checker
outage-checker --help
Install from source
git clone https://github.com/whoisridze/electricity-outage-checker.git
cd electricity-outage-checker
uv sync
uv run outage-checker --help
Usage
# Check outage schedule for an address
outage-checker check "<city>, <street>, <house>"
# Set a default address
outage-checker set-address "<city>, <street>, <house>"
# Check using default address
outage-checker check
# List available cities
outage-checker list-cities
# List streets in a city
outage-checker list-streets "<city>"
# List houses on a street
outage-checker list-houses "<city>" "<street>"
# Show version
outage-checker --version
Development
# Install dev dependencies
uv sync
# Run linter
uv run ruff check .
# Format code
uv run ruff format .
uv run ruff check --fix .
# Run type checker
uv run mypy src/
Project Structure
electricity-outage-checker/
├── src/
│ └── electricity_outage_checker/
│ ├── __init__.py
│ ├── cli.py # CLI entry point
│ ├── client.py # DTEK API client
│ ├── config.py # User configuration
│ ├── models.py # Data models
│ └── py.typed # PEP 561 marker
├── pyproject.toml # Project configuration
└── README.md
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file electricity_outage_checker-1.0.2.tar.gz.
File metadata
- Download URL: electricity_outage_checker-1.0.2.tar.gz
- Upload date:
- Size: 30.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae37e043ae9fbcb4e879141de1f9b197592599253b01aa892efa23d0005b1339
|
|
| MD5 |
c0776fe389e4b110d025719bbf21f2b6
|
|
| BLAKE2b-256 |
5a9d447aea071aa5e50d1eb3d297d0a77c19a1234a93b22cc260d4db7c381418
|
Provenance
The following attestation bundles were made for electricity_outage_checker-1.0.2.tar.gz:
Publisher:
publish.yml on whoisridze/electricity-outage-checker
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
electricity_outage_checker-1.0.2.tar.gz -
Subject digest:
ae37e043ae9fbcb4e879141de1f9b197592599253b01aa892efa23d0005b1339 - Sigstore transparency entry: 763346985
- Sigstore integration time:
-
Permalink:
whoisridze/electricity-outage-checker@4d8131f36e16adaefec34104a444f871196d9284 -
Branch / Tag:
refs/tags/v.1.0.2 - Owner: https://github.com/whoisridze
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4d8131f36e16adaefec34104a444f871196d9284 -
Trigger Event:
release
-
Statement type:
File details
Details for the file electricity_outage_checker-1.0.2-py3-none-any.whl.
File metadata
- Download URL: electricity_outage_checker-1.0.2-py3-none-any.whl
- Upload date:
- Size: 13.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51fe41d747d2e512b9b2d2f7a9f88b7489d4d5d3ea16a6940e65531be1431e46
|
|
| MD5 |
5520d7f537efb02753f4b11cd8de7b77
|
|
| BLAKE2b-256 |
73373e71030d9bc9e2ade953b434ca4e47a576f5077b8755a725f0021c847044
|
Provenance
The following attestation bundles were made for electricity_outage_checker-1.0.2-py3-none-any.whl:
Publisher:
publish.yml on whoisridze/electricity-outage-checker
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
electricity_outage_checker-1.0.2-py3-none-any.whl -
Subject digest:
51fe41d747d2e512b9b2d2f7a9f88b7489d4d5d3ea16a6940e65531be1431e46 - Sigstore transparency entry: 763346986
- Sigstore integration time:
-
Permalink:
whoisridze/electricity-outage-checker@4d8131f36e16adaefec34104a444f871196d9284 -
Branch / Tag:
refs/tags/v.1.0.2 - Owner: https://github.com/whoisridze
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4d8131f36e16adaefec34104a444f871196d9284 -
Trigger Event:
release
-
Statement type: