fiscalyear
Utilities for managing the fiscal calendar
What it is and what it does
fiscalyear is a lightweight Python module that maps dates and datetimes onto fiscal calendar periods—fiscal years, quarters, months, and days—rather than calendar years. It provides FiscalYear, FiscalQuarter, FiscalMonth, FiscalDay, and FiscalDateTime classes that mirror Python's built-in datetime API but work with fiscal periods instead. Each fiscal period object knows its start and end times, can check containment, and can navigate to adjacent periods.
The package is designed for accounting, financial reporting, and scheduling workflows where fiscal periods matter more than calendar months. It has no external dependencies and requires Python 3.6 or later. The module is stable but dormant—the last release was in February 2022, though the repository remains active with occasional commits.
Use it for:
- Generate fiscal year reports or dashboards that group transactions by fiscal quarter or month rather than calendar periods
- Validate that a given date falls within a specific fiscal period for accounting or compliance workflows
- Build scheduling systems that track work or milestones by fiscal day or quarter instead of calendar dates
- Convert calendar dates to fiscal identifiers for financial data pipelines or APIs
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides fiscal year, quarter, month, and day abstractions that extend Python's datetime and calendar modules to work with fiscal calendars instead of calendar years.
Yes, if you work with fiscal calendars in accounting, finance, or scheduling. The package is stable, dependency-free, and solves a narrow but real problem. The dormant maintenance status is not a concern for a mature, feature-complete utility with no external dependencies and no known vulnerabilities. Install it if fiscal periods are part of your domain; skip it if you only work with calendar years.
Install
fiscalyear on PyPI
pip
pip install fiscalyearuv
uv add fiscalyearpoetry
poetry add fiscalyearInstalling fiscalyear
Before you install
Installation is straightforward with no runtime dependencies. The package is dormant (last release February 2022, last commit November 2024) but remains functional for its narrow use case.
License in practice
MIT license is permissive; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install fiscalyear
from fiscalyear import FiscalYear, FiscalDateTime
a = FiscalYear(2017)
print(a.start)
e = FiscalDateTime.now()
print(e.fiscal_year)
Verify before relying
- Whether the package handles non-standard fiscal year start dates or only US federal fiscal years
- Current test coverage and whether dormant status indicates unaddressed edge cases or stable, complete functionality
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.6) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | dormant — 1,639 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 370,546/month — #7,176 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: fiscalyear-0.4.0-py3-none-any.whl
Keywords: fiscal year, fiscal quarter, calendar, datetime
Tags
More Scheduling packages
Generates country- and subdivision-specific…
permissive · top 1,000 on PyPI
ortoolsOR-Tools provides constraint programming,…
permissive · top 5,000 on PyPI
recurring-ical-eventsExpands recurring iCalendar events (RFC 5545)…
copyleft · top 5,000 on PyPI
businesstimedeltaCalculates elapsed working time between two…
permissive · top 5,000 on PyPI
caldavA CalDAV (RFC4791) client library for Python…
unclear · top 5,000 on PyPI
icsReads and writes iCalendar (RFC 5545) files in…
permissive · top 15,000 on PyPI
datetime-quarterAdds quarter-based date handling to Python's…
permissive · top 15,000 on PyPI
yearfracComputes fractional year differences between…
permissive · top 15,000 on PyPI
datedeltadatedelta extends Python's datetime module with…
permissive · top 15,000 on PyPI
cftimeConverts between calendar dates and numeric…
permissive · top 5,000 on PyPI
LunarCalendarConverts between lunar and solar calendar…
permissive · top 15,000 on PyPI
nc-time-axisEnables matplotlib to plot data using cftime…
permissive · top 15,000 on PyPI
banglaConverts Gregorian dates to the Bengali…
permissive · top 15,000 on PyPI
business-durationCalculates business duration between two dates…
permissive · top 15,000 on PyPI
lunardateConverts between Gregorian (solar) and Chinese…
copyleft · top 5,000 on PyPI
python-codicefiscaleEncodes and decodes Italian fiscal codes…
permissive · top 15,000 on PyPI