Skip to main content

Read the Docs Codecov PyPI - Version

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

Metadata

Release files for snowday-calculator 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for snowday-calculator 0.1.1
File Size Uploaded
snowday_calculator-0.1.1.tar.gz 4.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for snowday-calculator 0.1.1
File Interpreter ABI Platform
snowday_calculator-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 8.7 kB

Release files / snowday_calculator-0.1.1.tar.gz

Download URL snowday_calculator-0.1.1.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ee39745e79ea45e03a04ae7ed9413664a8365f61ffde727a7befaa92ec009ca6
BLAKE2b-256 checksum
How to use checksums
f7f252c696a7dffb1286be2b45cd3d31048f6895551c70b1b8599f6c32402d18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Release files / snowday_calculator-0.1.1-py3-none-any.whl

Download URL snowday_calculator-0.1.1-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a53d59d5e7510670937ca77b83046ae53f8d55f456e153a87c09925de9e65083
BLAKE2b-256 checksum
How to use checksums
8ae48e729c6e8fe512eb5ddf95ac8307c9199d5995dd91d5a75a3c2e948e6de7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page