{"categories":[{"label":"Scheduling","url":"https://skillfed.io/packages/category/office-business-scheduling"}],"enrichment":{"capability":"Calculates elapsed working time between two datetimes, accounting for business hours, lunch breaks, holidays, and time zones.","skillfed_tags":["time-calculation","scheduling","abandoned"],"use_cases":["Calculate SLA compliance: measure working hours elapsed since a support ticket was opened, excluding nights and weekends.","Project scheduling: add business days and hours to a start date to estimate a realistic delivery deadline.","Multi-timezone overlap: find the working-hour intersection between teams in different time zones.","Payroll and shift tracking: compute hours worked across day and night shifts, accounting for lunch breaks.","Holiday-aware reporting: exclude company holidays and local holidays from time-tracking calculations."],"what_it_does":"BusinessTimeDelta is a Python library that calculates the elapsed time between two datetimes while respecting business hours, not calendar time. It lets you define working schedules (start/end times, working days), exclude lunch breaks and holidays, and perform arithmetic on business time intervals. The package integrates with pytz for timezone handling and the holidays library for holiday exclusion.\n\nYou define your business rules once\u2014specifying work hours, days of the week, lunch breaks, and holidays\u2014then use those rules to compute the actual working time between any two datetimes or to add/subtract business time from a given moment. This is useful for SLAs, ticket response times, project scheduling, and any domain where elapsed time should count only working hours.","worth_installing":"No\u2014not recommended for new projects. The package is abandoned (last commit 2022-01-26) and will not receive updates. While it has low install friction and a permissive MIT license, the lack of maintenance means you will inherit any compatibility issues and cannot rely on bug fixes. Consider an actively maintained alternative if business time calculation is critical to your application."},"id":"businesstimedelta","links":{"html":"https://skillfed.io/packages/businesstimedelta","md":"https://skillfed.io/packages/businesstimedelta.md","pypi":"https://pypi.org/project/businesstimedelta/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2019-09-07","license_spdx":null,"license_treatment":"permissive","name":"businesstimedelta","python_support":"unspecified","summary":"Timedelta for business time. Supports exact amounts of time (hours, seconds), custom schedules, holidays, and time zones."},"popularity":{"monthly_downloads":1398661,"position":3956,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.0.1"}
