bizdays is a Python library for business days calculations, including offsetting dates, computing business days between dates, and generating calendars with custom holidays. Current version: 1.0.19, with monthly releases.
pip install bizdaysVerified import paths — ran on the pinned version, not inferred.
Basic usage: load a calendar and perform business day calculations.
Upgrade Python to 3.9 or higher.
Pre-load the calendar and cache it, or use a local JSON file with `Calendar` constructor.
Convert Timestamps using .date() or format to string before passing.
Monitor changelog for any changes to calendar loading.
Use `from bizdays import Calendar` instead.
Ensure dates are strings in 'YYYY-MM-DD' format or datetime.date objects.
Use a local calendar file or ensure internet access.
No dependency data recorded yet.