kubra
Scraper of storm outage data from kubra.io
To install:
> pip install kubra
To use:
> kubra --help
Usage: kubra [OPTIONS] INSTANCE_ID VIEW_ID
Download all the outages of a storm event associated with an INSTANCE_ID and
VIEW_ID from kubra.io. Outputs a GeoJSON of outages.
Note that the GeoJSON may be a mix of points and polygons.
To find values for INSTANCE_ID and VIEW_ID, go to the outage website, open
up Developer Tools and look for a network request that looks like:
https://kubra.io/stormcenter/api/v1/stormcenters/4fbb3ad3-e01d-4d71-9575-d45
3769c1171/views/8ed2824a-bd92-474e-a7c4-848b812b7f9b/currentState?preview=fa
lse
The first GUID (i.e. 4fbb3ad3-e01d-4d71-9575-d453769c1171) is the
INSTANCE_ID. The second GUID (i.e. 8ed2824a-bd92-474e-a7c4-848b812b7f9b) is
the VIEW_ID.
Options:
--cache_dir TEXT Directory to use to cache responses
--raw Return a json array of raw outage data
--help Show this message and exit.
Credit
Based on Bret Walker's kubra-scraper: https://github.com/openkentuckiana/kubra-scraper
Metadata
Release files for kubra 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kubra-0.1.4.tar.gz | 8.2 kB | Without provenance | Details for kubra-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kubra-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for kubra-0.1.4-py3-none-any.whl |
Total release size: 17.1 kB
Release files / kubra-0.1.4.tar.gz
| Download URL | kubra-0.1.4.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
50303792507353f5e2be8919061a915ef1e322e77084038dce1282aa0b117ffa
|
|
BLAKE2b-256 checksum How to use checksums |
592d86ab323f91415eec28d8cbe96e1bf8feee2f22dc9e2b2c377849ce68e619
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / kubra-0.1.4-py3-none-any.whl
| Download URL | kubra-0.1.4-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f837d5630c80bb914794aef07c6982ef70a5089d05662acf71c3270d8ca936d5
|
|
BLAKE2b-256 checksum How to use checksums |
c7dae46ad0328902d0e8700e8e4c5e463603cba5c60a6ce2c66c19ce15fbff4a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Security for kubra 0.1.4
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.