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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3f2a11163d8e9cbe4a41c6fea551bbbe552ac5e34be160a4464b9d4437c5a3f
|
|
| MD5 |
7ecd51e897ec3e581e920ca73ff6d018
|
|
| BLAKE2b-256 |
3e75ec9365091c252768b041e6d9f71b98efc41615d3c3b1ecbae39a774e22db
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a4caef3b966d276fdcfbd1a6b035a975515f544f0fe8970e79832be3cfe0d8d
|
|
| MD5 |
89f3ba3377138fcfa7a5dd5ab90184be
|
|
| BLAKE2b-256 |
9b14799ab5f541ffaacc33df76f5204a47cf5b069b95332eb634fb884aa86a32
|