{"library":"pycalverter","title":"PyCalverter","description":"PyCalverter is a Python library for converting between various calendar systems, including Gregorian, Julian, Islamic, Hebrew, Persian, Indian civil, Baháʼí, and more. Version 1.6.1 is the current release, with intermittent updates.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install pycalverter"],"cli":null},"imports":["from pycalverter import CalendarConverter","from pycalverter import JULIAN"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from pycalverter import CalendarConverter\n\n# Convert Gregorian date to Julian Day Number\nconv = CalendarConverter()\njdn = conv.to_jdn(2025, 5, 1, 'GREGORIAN')\nprint(jdn)  # e.g. 2460783\n\n# Convert from Julian Day Number to Islamic date\nyear, month, day = conv.from_jdn(jdn, 'ISLAMIC')\nprint(f\"Islamic: {year}-{month}-{day}\")","lang":"python","description":"Initialize a CalendarConverter, use to_jdn/from_jdn for conversions. Supported calendars: GREGORIAN, JULIAN, ISLAMIC, HEBREW, PERSIAN, INDIAN_CIVIL, BAHAI, etc.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}