Skip to main content

PyCalender

A lightweight Python package for finding the day of the week for a given date.

Features

  • Find the day of the week for any valid date.
  • Simple gdw() function.
  • No external dependencies.
  • Supports Python 3.10 and newer.

Installation

Install PyCalender from PyPI:

pip install pycalender

Usage

from pycalender import gdw

day = gdw(2023, 10, 15)

print(day)

Output:

Sunday

Error Handling

Invalid dates raise Python's built-in ValueError.

For example:

from pycalender import gdw

gdw(2023, 2, 30)

raises a ValueError because February 30 is not a valid date.

Requirements

  • Python 3.10 or newer

License

PyCalender is licensed under the MIT License.

Metadata

Release files for pycalender 1.0.0

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

Source distribution (sdist)

Source distribution for pycalender 1.0.0
File Size Uploaded Provenance Actions
pycalender-1.0.0.tar.gz 2.5 kB Without provenance Details for pycalender-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pycalender 1.0.0
File Interpreter ABI Platform Actions
pycalender-1.0.0-py3-none-any.whl Python 3 none any Details for pycalender-1.0.0-py3-none-any.whl

Total release size: 5.8 kB

Release files / pycalender-1.0.0.tar.gz

Download URL pycalender-1.0.0.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
65424beef3e80f93a36b634bf2d4366f09c95d7b71940843400960d6e8211d89
BLAKE2b-256 checksum
How to use checksums
5f3585cd2d9f5ac97852239ea9bf43707b91d0d180cf32fb9d2d79217b0ce589
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / pycalender-1.0.0-py3-none-any.whl

Download URL pycalender-1.0.0-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fd71a033f41a72de2961626663de6cb92db6f61406091c19fd819a6720192b05
BLAKE2b-256 checksum
How to use checksums
27ee4d38af5f379f4c7fe87cf07a3626d4500b42cd235c8ca3a8f32df448e381
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Security for pycalender 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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