Scan your whole stack
Are you using pycalender?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v1.1.0
pycalender was last scanned on 25 Nov 2026 at version 1.1.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 1.1.0 LATEST | 25 Nov 2026 | No rules fired |
Findings for v1.1.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 1.1.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
PyCalender is a lightweight, dependency-free Python package for weekday lookups, Gregorian leap-year detection, and calendar generation.
python -m pip install pycalender
For development from a clone:
python -m pip install -e .
gdw().is_leap_year().get_calendar().import pycalender as pc
print(pc.gdw(2026, 11, 25))
print(pc.is_leap_year(2028))
print(pc.get_calendar(2026))
print(pc.get_calendar(2026, 11))
The first two calls produce:
Wednesday
True
get_calendar(2026) returns a Monday-first calendar for the complete year.
get_calendar(2026, 11) returns a Monday-first calendar for November:
November 2026
Mo Tu We Th Fr Sa Su
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30
gdw(year: int, month: int, day: int) -> strReturn the English weekday name for a valid Gregorian date. Invalid dates
raise ValueError; non-integer components raise TypeError.
is_leap_year(year: int) -> boolReturn whether a year is a leap year in the Gregorian calendar. Years divisible
by 100 are not leap years unless they are also divisible by 400: 2000 is a leap
year, while 1900 is not. Supported years are 1 through 9999. A non-integer
raises TypeError; an out-of-range year raises ValueError.
get_calendar(year: int, month: int | None = None) -> strReturn a calendar as a string, without printing. Omit month for the whole
year or specify a month from 1 through 12 for a single month. Calendars start
on Monday. Invalid types raise TypeError; out-of-range years or months raise
ValueError.
PyCalender requires Python 3.10 or newer. The existing gdw(year, month, day)
API remains available from pycalender and retains its weekday-name result.
The package has no mandatory runtime dependencies.
Run the test suite:
python -m unittest discover -v
Build and validate release artifacts:
python -m pip install build twine
python -m build
python -m twine check dist/*
After reviewing the distributions, upload them manually with
python -m twine upload dist/*. Uploading a new release is required for PyPI
to display the updated package description.
PyCalender is distributed under the MIT License. See LICENSE.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.