Skip to main content

A package for calculating snow day predictions.

Project description

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

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

snowday_calculator-0.1.1.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

snowday_calculator-0.1.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

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

Hashes for snowday_calculator-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ee39745e79ea45e03a04ae7ed9413664a8365f61ffde727a7befaa92ec009ca6
MD5 1ff7430c40dee7533fffd91455073795
BLAKE2b-256 f7f252c696a7dffb1286be2b45cd3d31048f6895551c70b1b8599f6c32402d18

See more details on using hashes here.

File details

Details for the file snowday_calculator-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for snowday_calculator-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a53d59d5e7510670937ca77b83046ae53f8d55f456e153a87c09925de9e65083
MD5 99fc803f66ce3a185a6430fd42ad6cd9
BLAKE2b-256 8ae48e729c6e8fe512eb5ddf95ac8307c9199d5995dd91d5a75a3c2e948e6de7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page