{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/17"},{"label":"Code Generators","url":"https://skillfed.io/packages/category/software-development-code-generators"}],"enrichment":{"capability":"Batch-updates or adds license headers to source files across a directory tree, supporting dozens of file types from Python and JavaScript to C++, Java, and SQL.","skillfed_tags":["license-automation","multi-language","cli-tool"],"use_cases":["Add MIT or GPL headers to all source files in a new open-source project in one command.","Update copyright years across an entire codebase without manual editing.","Enforce consistent license headers in a multi-language monorepo (Python, JavaScript, Go, etc.).","Integrate with pre-commit hooks to ensure new files get license headers before commit.","Replace an old license header with a new one across thousands of files.","Add license headers to generated or templated files with custom extensions."],"what_it_does":"licenseheaders is a command-line tool that automates the addition, update, or replacement of license headers across a codebase. It scans a directory tree for source files in known languages (Python, JavaScript, C++, Java, Go, Rust, SQL, YAML, and many others) and applies a license header template to each one, substituting variables like project name, owner, and year range. The tool supports dry-run mode to preview changes, file exclusion patterns, custom file extensions, and encoding options.\n\nIt's designed for developers who need to maintain consistent copyright and license declarations across large or multi-language projects. You provide a template (either a built-in one or a custom file), specify metadata like copyright owner and project URL, and the tool handles the rest. It can back up modified files and respects your choice of which file types to process.","worth_installing":"Yes, if you maintain a multi-language codebase and need to add or update license headers at scale. The tool is stable, has no vulnerabilities, and low install friction. However, maintenance is dormant (no updates since 2021); if you need active support or expect breaking changes in newer Python versions, consider whether the risk of stale code matters for your use case."},"id":"licenseheaders","links":{"html":"https://skillfed.io/packages/licenseheaders","md":"https://skillfed.io/packages/licenseheaders.md","pypi":"https://pypi.org/project/licenseheaders/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2021-04-08","license_spdx":null,"license_treatment":"permissive","name":"licenseheaders","python_support":"supports_current","summary":"Add or change license headers for all files in a directory"},"popularity":{"monthly_downloads":82777,"position":14134,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.8.8"}
