A package for calculating snow day predictions.
Project description
snowday-calculator
A Python package to predict the chance of a snow day based on zipcode, snow days, and school type.
Installation
pip install snowday-calculator
Usage
from snowday_calculator import predict, SchoolType
# Example: Predict the chance for zipcode "12345"
result = predict("12345", snowdays=2, schooltype=SchoolType.PUBLIC)
print("Chance today:", result.chance_today())
print("Chance tomorrow:", result.chance_tmrw())
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 snowday_calculator-0.1.1.tar.gz.
File metadata
- Download URL: snowday_calculator-0.1.1.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee39745e79ea45e03a04ae7ed9413664a8365f61ffde727a7befaa92ec009ca6
|
|
| MD5 |
1ff7430c40dee7533fffd91455073795
|
|
| BLAKE2b-256 |
f7f252c696a7dffb1286be2b45cd3d31048f6895551c70b1b8599f6c32402d18
|
File details
Details for the file snowday_calculator-0.1.1-py3-none-any.whl.
File metadata
- Download URL: snowday_calculator-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a53d59d5e7510670937ca77b83046ae53f8d55f456e153a87c09925de9e65083
|
|
| MD5 |
99fc803f66ce3a185a6430fd42ad6cd9
|
|
| BLAKE2b-256 |
8ae48e729c6e8fe512eb5ddf95ac8307c9199d5995dd91d5a75a3c2e948e6de7
|