Skip to main content

A package to get school break dates for Australian states

Project description

ozschoolbreaks

A Python package to get school break dates for Australian states.

Installation

pip install ozschoolbreaks

How to Use

from ozschoolbreaks import get_breaks

# breaks for a specific year
breaks = get_breaks(state="NSW", years=2023)

# breaks for multiple years
breaks = get_breaks(state="NSW", years=[2023, 2024])

# Print the breaks
for break_period in breaks:
    print(f"{break_period.start} to {break_period.end}")

TODO

  • Check dates
    • VIC
    • NSW
    • QLD
    • SA
    • TAS
  • Add missing states
  • Pass a range of years instead of one year

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

ozschoolbreaks-0.3.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

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

ozschoolbreaks-0.3.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file ozschoolbreaks-0.3.0.tar.gz.

File metadata

  • Download URL: ozschoolbreaks-0.3.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ozschoolbreaks-0.3.0.tar.gz
Algorithm Hash digest
SHA256 cc581680bfa21d7381409064521fddc0dff4ab36d7e4bad58d3ae713f46de8dd
MD5 0a842d558ecf19a0748dbd98612e2bf6
BLAKE2b-256 4eeab98cbcfa6f6a7dfbeec655cd080e2684954049e285c578d02ab2635dda18

See more details on using hashes here.

File details

Details for the file ozschoolbreaks-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: ozschoolbreaks-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ozschoolbreaks-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0c967aaf1249d7f2c1f1ad97c3cbd4d308f442320bd12110a907b0eb666279a9
MD5 4f8b7954a1fe63fa1987f1d1ff495be9
BLAKE2b-256 836a520530d27d644479e2f1215fefff23f7ede3360ea8d7e01acbd3c6c836ad

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