Skip to main content

A simple kplc pdf scraper

Project description

Stima Scraper

Project Status: WIP – Initial development is in progress.

Description

Stima scraper extracts and pulls scheduled power interruptions pdf data off KPLC's website.

Prerequisites

  • Python3

Installation

$ pip install stima-scraper

Usage

from pathlib import Path
from stimascraper.scraper import StimaScraper

# PDF storage directory you can define your own path here
PDF_FILE_PATH = Path(__file__).parent.joinpath("pdfs")


def main():
    scraper = StimaScraper(pdf_path=PDF_FILE_PATH)
    scraper.scrape()


if __name__ == "__main__":
    main()

Demo

asciicast

Built with

License and Copyright

license

Copyright 2022 Daniel Chege Nduati

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

stima_scraper-1.0.4.tar.gz (37.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stima_scraper-1.0.4-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file stima_scraper-1.0.4.tar.gz.

File metadata

  • Download URL: stima_scraper-1.0.4.tar.gz
  • Upload date:
  • Size: 37.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for stima_scraper-1.0.4.tar.gz
Algorithm Hash digest
SHA256 ec22aa6890ea165237c94b893c7e70250335dacb4f31f15c6bf4942bd293f3f5
MD5 6b6ba5826978e5603adde397e97c4969
BLAKE2b-256 8e112408296cbb7abb98211b5618deb86a2c227fd19b3027df2f95334877e313

See more details on using hashes here.

File details

Details for the file stima_scraper-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: stima_scraper-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for stima_scraper-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 180e7f51fb4d413f4a7e9aba8af23616491ce04c14d6c92b0a790d86009d46d9
MD5 ea6972446fa2dc8be2de5840d4315ec4
BLAKE2b-256 4418755665c1fe158bd5e43314750574d7ec905eb42bbca0bacc034050eadc59

See more details on using hashes here.

Supported by

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