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}")
  • Pass a range of years instead of one year

Notes

  • All start and end dates are inclusive.

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.4.0.tar.gz (5.6 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.4.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ozschoolbreaks-0.4.0.tar.gz
Algorithm Hash digest
SHA256 b3f2a11163d8e9cbe4a41c6fea551bbbe552ac5e34be160a4464b9d4437c5a3f
MD5 7ecd51e897ec3e581e920ca73ff6d018
BLAKE2b-256 3e75ec9365091c252768b041e6d9f71b98efc41615d3c3b1ecbae39a774e22db

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ozschoolbreaks-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 7.1 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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0a4caef3b966d276fdcfbd1a6b035a975515f544f0fe8970e79832be3cfe0d8d
MD5 89f3ba3377138fcfa7a5dd5ab90184be
BLAKE2b-256 9b14799ab5f541ffaacc33df76f5204a47cf5b069b95332eb634fb884aa86a32

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