{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/7"}],"enrichment":{"capability":"Pydifact parses and serializes UN/EDIFACT interchange files, allowing you to read EDI messages from files or strings and construct them programmatically.","skillfed_tags":["edi-edifact","data-interchange","business-documents"],"use_cases":["Parse incoming EDIFACT purchase orders or invoices from trading partners into Python objects for validation or database import.","Generate EDIFACT interchanges programmatically to send standardized EDI messages to external systems.","Extract and transform specific segments from large EDIFACT files for reporting or data migration.","Build EDI middleware that reads, validates, and re-serializes EDIFACT messages between legacy and modern systems.","Integrate EDIFACT support into medical or logistics applications that must exchange documents with regulated partners."],"what_it_does":"Pydifact is a Python port of a PHP EDIFACT library that lets you work with UN/EDIFACT interchange files\u2014a decades-old but still widely used format for business document exchange, particularly in medical, logistics, and trading sectors. It provides three main workflows: parsing interchanges from files or strings into navigable message and segment objects; iterating directly over segments; and constructing new interchanges programmatically from scratch with custom segments.\n\nThe library handles the low-level syntax of EDIFACT (delimiters, segment markers, element separators) so you work with structured message objects instead of raw text. It has no external dependencies, installs quickly, and runs on modern Python versions. The codebase is actively maintained but still marked as Alpha, meaning the API may change\u2014a trade-off to be aware of if you are locking this into production workflows.","worth_installing":"Yes, if you need to work with EDIFACT files in Python and can tolerate an Alpha-stage API. The library is actively maintained, has no dependencies, installs easily, and solves a real gap in the Python ecosystem. The main caveat is that the API is not yet stable\u2014pin your version and test carefully before upgrading. If you need a production-hardened EDIFACT tool immediately, review the alternatives listed in the documentation first."},"id":"pydifact","links":{"html":"https://skillfed.io/packages/pydifact","md":"https://skillfed.io/packages/pydifact.md","pypi":"https://pypi.org/project/pydifact/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-04-10","license_spdx":"MIT","license_treatment":"permissive","name":"pydifact","python_support":"supports_current","summary":"Pydifact is a library that aims to provide complete support for reading and writing EDIFACT files. These file format, despite being old, is still a standard in many business cases. In Austria e.g., it is used for the transfer of medical reports between medical doctors."},"popularity":{"monthly_downloads":236781,"position":8976,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.2.3"}
