{"id":23664,"library":"efoli","title":"efoli - EDIFACT Enums for German Utilities","description":"Provides enums and helper functions modeling EDIFACT-relevant data for German utilities, including format versions, process types, and document types. Current version 2.3.0, requires Python >=3.9. Released under MIT license, maintained by Hochfrequenz. New releases appear every few months.","status":"active","version":"2.3.0","language":"python","source_language":"en","source_url":"https://github.com/Hochfrequenz/efoli","tags":["EDIFACT","enum","German utilities","format version","Hochfrequenz"],"install":[{"cmd":"pip install efoli","lang":"bash","label":"PyPI"}],"dependencies":[{"reason":"for timezone-aware date calculations","package":"pytz","optional":false}],"imports":[{"wrong":"from efoli import EDIFACTFormatVersion","symbol":"EdifactFormat","correct":"from efoli import EdifactFormat"},{"symbol":"EdifactFormatVersion","correct":"from efoli import EdifactFormatVersion"},{"symbol":"get_current_edifact_format_version","correct":"from efoli import get_current_edifact_format_version"}],"quickstart":{"code":"from efoli import EDIFACTFormatVersion, get_edifact_format_version_valid_from\n\nfv = EDIFACTFormatVersion.FV2504\nprint(fv)\nprint(get_edifact_format_version_valid_from(fv))","lang":"python","description":"Basic usage: import enum and helper, then call the function."},"warnings":[{"fix":"Update code if you relied on older mapping for 44xxx/55xxx document numbers.","message":"v2.0.0 broke UTILMDG/UTILMDS degeneracy: 44xxx now maps to UTILMDG, 55xxx to UTILMDS (not UTILMD).","severity":"breaking","affected_versions":">=2.0.0"},{"fix":"Use .value or str() to get the string; do not assume integer.","message":"Enum values like FV2504 have string representations (e.g., '2504'), not integers.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'2.3.0':30 '3.9':33 'appear':43 'current':28 'data':16 'document':26 'edifact':2,14,47 'edifact-relev':13 'efoli':1 'enum':3,8,48 'everi':44 'format':21,51 'function':11 'german':5,18,49 'helper':10 'hochfrequenz':40,53 'includ':20 'licens':37 'maintain':38 'mit':36 'model':12 'month':46 'new':41 'process':23 'provid':7 'python':32 'releas':34,42 'relev':15 'requir':31 'type':24,27 'util':6,19,50 'version':22,29,52","created_at":"2026-05-01T08:08:57.611857+00:00","updated_at":"2026-05-01T08:08:57.611857+00:00","problems":null,"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"2.3.0","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/Hochfrequenz/efoli","docs":null,"changelog":"https://github.com/Hochfrequenz/efoli/releases","pypi":"https://pypi.org/project/efoli/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["data","serialization"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-08-02","install_tag":null}}