Skip to main content

Convert SIMS Notice Board Summary to nicer outputs

Project description

School Cover Parser

Takes cover info from SIMS and makes better outputs

Hopefully this goes onto old kindles

https://www.galacticstudios.org/kindle-weather-display/

Command-line usage

This project now uses a Typer CLI.

  • Run with the default input (Downloads or test_data/Notice Board Summary.html):
    • python main.py
  • Run on a specific HTML file:
    • python main.py --file path/to/Notice\ Board\ Summary.html
  • Disable sending the Outlook email:
    • python main.py --no-email
  • Test mode: run against all .html files in test_data (no email, no renames, no browser popups) and write separate outputs per file:
    • python main.py --test

Outputs are written into an outputs folder under the directory you run the command from (for example P:\Documents\outputs) as cover_sheet*.html and supply_sheet*.html.

Installation as a package

You can install this project as a local package and use the CLI directly:

  • Install in editable (development) mode from the repo root:
    • pip install -e .
  • Run via the installed console script:
    • school-cover-parser --test
    • school-cover-parser --file path/to/Notice\ Board\ Summary.html
  • Or run as a module:
    • python -m school_cover_parser --test
    • python -m school_cover_parser --no-email

The old entry point still works:

  • python main.py ... (this forwards to the same Typer app under the hood).

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

school_cover_parser-0.1.1.tar.gz (14.4 MB view details)

Uploaded Source

Built Distribution

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

school_cover_parser-0.1.1-py3-none-any.whl (14.4 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: school_cover_parser-0.1.1.tar.gz
  • Upload date:
  • Size: 14.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for school_cover_parser-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b4aae5dbc7cd3b690020ce5bfd9d4754afb8ff56c058ce472cf20e58cb1d32b3
MD5 52581bd746f918b3d6450f18976c2664
BLAKE2b-256 4b3ed2655928d2ce07af70db2a505a4b443a8a722d286d73fc72c0204c3b574d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for school_cover_parser-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e9a7a1dc6f757c4245475a416d8ecd1075f1bece209748c3b569a4124af25773
MD5 a21f416c53bda70b655d6317452e4be7
BLAKE2b-256 cfd0926d100d3eeb05511359f5137fc4e8e9d4092c056ea4b6e5f85332dfb18c

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