--- id: junit-xml-2 version: "1.9" license: MIT license_treatment: permissive maintenance: abandoned --- # junit-xml-2 — Fork of https://github.com/kyrus/python-junit-xml that has tarball published to pypi License: permissive · Maintenance: abandoned · Downloads: 205.8K/mo ## What it is and what it does junit-xml-2 is a fork of the original python-junit-xml library, packaged for PyPI distribution. It generates JUnit XML test result files from Python test data—a format widely supported by CI/CD platforms, test aggregators, and IDE test runners. The package takes test case and suite objects and serializes them to XML that conforms to the JUnit schema, allowing test results to be reported and tracked across build pipelines. The package depends only on six for Python 2/3 compatibility, keeping installation lightweight. However, it is abandoned: the last release was September 2020 with no subsequent maintenance. It exists primarily to serve as a stable, published distribution for projects like Homebrew that need a PyPI-hosted version. If you need active development, bug fixes, or support for evolving test standards, you should evaluate maintained alternatives. Use it for: - Export test results from a Python test runner to JUnit XML for ingestion by Jenkins, GitLab CI, or GitHub Actions - Generate test reports that can be parsed and aggregated by test management or quality dashboard tools - Integrate custom Python test frameworks with CI/CD systems that expect JUnit-formatted output - Create test result artifacts for Homebrew or other package managers that depend on PyPI-hosted JUnit XML generation ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Generates JUnit XML test result reports from Python test data, enabling integration with CI/CD systems and test reporting tools that consume JUnit format. Yes, if you need a stable, unchanging JUnit XML writer and are comfortable with an abandoned package. The low install friction, permissive license, and zero known vulnerabilities make it safe to use. However, only adopt it if you've confirmed that no actively maintained alternative meets your needs—abandonment means no bug fixes, security patches, or feature updates will arrive. ## Install pip install junit-xml-2 uv add junit-xml-2 poetry add junit-xml-2 ## Installing junit-xml-2 Before you install: Low install friction with a single lightweight dependency (six). However, the package is abandoned—last release was 2020-09-30 and no commits or maintenance activity since. Use only if you need a stable, unchanging JUnit XML writer and cannot depend on actively maintained alternatives. License in practice: MIT license permits unrestricted use, modification, and distribution with minimal restrictions, making it safe for commercial and open-source projects. Quickstart: pip install junit-xml-2 from junit_xml import TestCase, TestSuite test_case = TestCase('test_name') test_suite = TestSuite('suite_name', [test_case]) with open('output.xml', 'w') as f: TestSuite.to_file(f, [test_suite]) Verify before relying: - Whether the fork diverges meaningfully from the original kyrus/python-junit-xml or serves only as a PyPI distribution vehicle - Current compatibility with modern Python versions beyond what classifiers indicate - Whether active maintenance has resumed or if this remains a static snapshot ## Package facts - License: MIT (permissive) - Python support: unspecified - Install friction: low - Maintenance: abandoned - Downloads: 205.8K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags junit xml test reporting, python test results xml, ci cd test output format, junit format generator, test report xml export, test-reporting, ci-cd-integration, abandoned [View on SkillFed](https://skillfed.io/packages/junit-xml-2) · [View on PyPI](https://pypi.org/project/junit-xml-2/)