{"categories":[{"label":"Mathematics","url":"https://skillfed.io/packages/category/scientific-engineering-mathematics/3"}],"enrichment":{"capability":"Computes fractional year differences between dates using various daycount conventions (Actual/Actual, 30/360, 30/365) and provides calendar utilities like leap year checks and Easter date calculation.","skillfed_tags":["financial-math","date-calculations","unmaintained"],"use_cases":["Calculate accrued interest on bonds using ISDA or AFB daycount conventions.","Compute year fractions for financial derivatives pricing and risk calculations.","Convert between calendar dates and Julian Day numbers for astronomical or historical date work.","Determine Easter Sunday dates for calendar or scheduling applications.","Validate leap year status in date processing pipelines."],"what_it_does":"yearfrac is a Python library for computing the fractional number of years between two dates using standard financial daycount conventions. It implements methods like Actual/Actual ISDA, Actual/Actual AFB, 30E/360, and 30/365, which are commonly used in bond pricing, interest accrual, and other financial calculations. The package also provides utility functions for leap year detection, Easter Sunday calculation, and Julian Day number conversion.\n\nThe library has no external runtime dependencies and supports Python 3.6 and later. However, it has been abandoned since its latest release on 2023-02-06 with no active maintenance, meaning bugs and compatibility issues will not be addressed. It is suitable for projects that need basic daycount calculations but cannot rely on ongoing support or updates.","worth_installing":"Yes, if you need standard daycount methods and can accept an unmaintained package. The library is stable for its narrow use case (no runtime dependencies, simple math), and the code is small enough to audit or fork if needed. No, if you require active maintenance, security updates, or integration with a modern financial library ecosystem. Consider alternatives if this is for production financial systems."},"id":"yearfrac","links":{"html":"https://skillfed.io/packages/yearfrac","md":"https://skillfed.io/packages/yearfrac.md","pypi":"https://pypi.org/project/yearfrac/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2023-02-06","license_spdx":null,"license_treatment":"permissive","name":"yearfrac","python_support":"supports_current","summary":"Daycount methods to compute date differences in year units"},"popularity":{"monthly_downloads":153928,"position":10866,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.4.8"}
