{"id":353,"library":"isodate","title":"isodate","description":"An ISO 8601 date/time/duration parser and formatter. Current version: 0.7.2, released on October 8, 2024. Maintained with a release cadence of approximately one year between major versions.","status":"active","version":"0.7.2","language":"python","source_language":"en","source_url":"https://github.com/gweis/isodate/","tags":["ISO 8601","datetime","duration","parser","formatter"],"install":[{"cmd":"pip install isodate","lang":"bash","label":"Install isodate"}],"dependencies":[],"imports":[{"note":"Ensure correct import path to access parsing functions.","symbol":"parse_datetime","correct":"from isodate import parse_datetime"}],"quickstart":{"code":"from isodate import parse_datetime\n\n# Parse an ISO 8601 date-time string\niso_string = '2024-10-08T14:30:00'\nparsed_datetime = parse_datetime(iso_string)\nprint(parsed_datetime)","lang":"python","description":"Parse an ISO 8601 date-time string into a Python datetime object."},"warnings":[{"fix":"Ensure input strings have fractional seconds within microsecond precision.","message":"Fractional seconds are truncated to microseconds (always round down).","severity":"breaking","affected_versions":"0.7.2"},{"fix":"Upgrade to Python 3.7 or later.","message":"Python versions prior to 3.7 are no longer supported.","severity":"breaking","affected_versions":"0.7.2"}],"env_vars":null,"search_vec":"'0.7.2':11 '2024':16 '8':15 '8601':4,30 'approxim':23 'cadenc':21 'current':9 'date/time/duration':5 'datetim':31 'durat':32 'formatt':8,34 'iso':3,29 'isod':1 'maintain':17 'major':27 'octob':14 'one':24 'parser':6,33 'releas':12,20 'version':10,28 'year':25","created_at":"2026-03-28T10:51:49.424352+00:00","updated_at":"2026-04-16T15:48:39.549783+00:00","problems":[{"fix":"pip install isodate","cause":"The 'isodate' library is not installed in your Python environment.","error":"ImportError: No module named 'isodate'"},{"fix":"Ensure the date/time/duration string is in a valid ISO 8601 format, such as 'YYYY-MM-DDTHH:MM:SSZ' for datetime or 'P1Y2M3DT4H5M6S' for duration. Refer to the 'isodate' documentation for supported formats.","cause":"The input string provided to an 'isodate' parsing function (e.g., parse_datetime, parse_date, parse_duration) does not strictly adhere to a recognized ISO 8601 format.","error":"isodate.isoerror.ISO8601Error: Unrecognised ISO 8601 date format: 'YOUR_STRING_HERE'"},{"fix":"Import 'ISO8601Error' from 'isodate.isoerror' like this: from isodate.isoerror import ISO8601Error","cause":"The 'ISO8601Error' exception is not directly available under the top-level 'isodate' module; it is located within the 'isodate.isoerror' submodule.","error":"AttributeError: module 'isodate' has no attribute 'ISO8601Error'"}],"ecosystem":"pypi","meta_description":null,"install_score":100,"quickstart_score":80,"quickstart_tag":"verified","pypi_latest":"0.7.2","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/gweis/isodate","docs":null,"changelog":null,"pypi":"https://pypi.org/project/isodate/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["serialization"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-06-28","last_verified":"2026-08-27","next_check":"2026-07-28","install_tag":"verified"}}