{"categories":[{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools/3"}],"enrichment":{"capability":"Parses git diff and .diff files to extract structured metadata about changed files, including filenames, filepaths, source and target hashes, and change type.","skillfed_tags":["diff-parsing","git-utilities","build-tools"],"use_cases":["Extract metadata about changed files from git diff output in CI/CD pipelines for conditional build steps.","Analyze which files were modified in a commit to generate automated reports or trigger downstream tasks.","Parse .diff files from patch management or code review tools to identify affected modules or dependencies.","Build tooling that needs to programmatically inspect file changes without shelling out to git commands."],"what_it_does":"diff-parser is a lightweight Python library for reading and extracting structured information from diff files. It takes a path to a git diff or .diff file and parses it into blocks, each representing a changed file with accessible properties like old and new filenames, filepaths, source and target hashes, and change type.\n\nThe package has no external runtime dependencies and supports Python 3.6 and later. It is intended for developers who need programmatic access to diff metadata\u2014for example, in build tools, code review automation, or version control workflows. The project is dormant but stable; the last commit was 2024-12-30, and no security vulnerabilities have been reported.","worth_installing":"Yes, if you need to parse diff files programmatically. The package is simple, dependency-free, and permissively licensed. However, maintenance is dormant\u2014no updates since 2024-09-09\u2014so evaluate whether the feature set meets your needs and whether you can maintain a fork if required. Verify that the available properties are sufficient for your use case."},"id":"diff-parser","links":{"html":"https://skillfed.io/packages/diff-parser","md":"https://skillfed.io/packages/diff-parser.md","pypi":"https://pypi.org/project/diff-parser/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-09-09","license_spdx":null,"license_treatment":"permissive","name":"diff-parser","python_support":"supports_current","summary":"Parse git diff data or .diff file. Access a list of properties including filenames, filepath, source-hash, target-hash and more for every file changed."},"popularity":{"monthly_downloads":237843,"position":8952,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.1"}
