{"id":19665564,"url":"https://github.com/fatiando/burocrata","last_synced_at":"2026-03-07T17:33:30.240Z","repository":{"id":225186813,"uuid":"764630210","full_name":"fatiando/burocrata","owner":"fatiando","description":"Check and insert copyright and license notices into source code","archived":false,"fork":false,"pushed_at":"2025-12-15T01:08:01.000Z","size":85,"stargazers_count":4,"open_issues_count":7,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-04T06:58:58.011Z","etag":null,"topics":["devops","fatiando-a-terra","licenses","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fatiando.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.md","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-02-28T12:35:30.000Z","updated_at":"2026-01-03T17:28:14.000Z","dependencies_parsed_at":"2024-02-29T18:28:40.906Z","dependency_job_id":"7541895a-355a-437a-b7bf-3aa5916b3df0","html_url":"https://github.com/fatiando/burocrata","commit_stats":null,"previous_names":["leouieda/burocrata","fatiando/burocrata"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/fatiando/burocrata","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fatiando%2Fburocrata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fatiando%2Fburocrata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fatiando%2Fburocrata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fatiando%2Fburocrata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fatiando","download_url":"https://codeload.github.com/fatiando/burocrata/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fatiando%2Fburocrata/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30223417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T17:00:40.062Z","status":"ssl_error","status_checked_at":"2026-03-07T17:00:39.026Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["devops","fatiando-a-terra","licenses","python"],"created_at":"2024-11-11T16:23:26.441Z","updated_at":"2026-03-07T17:33:30.199Z","avatar_url":"https://github.com/fatiando.png","language":"Python","readme":"# Burocrata: Check and insert copyright and license notices into source code\n\nPart of the [Fatiando a Terra][fatiando] project.\n\n[![Latest release on PyPI](https://img.shields.io/pypi/v/burocrata.svg?style=flat-square)][pypi]\n[![Latest release on conda-forge](https://img.shields.io/conda/vn/conda-forge/burocrata.svg?style=flat-square)][conda-forge]\n[![Test coverage report](https://img.shields.io/codecov/c/github/fatiando/burocrata/main?style=flat-square)][coverage]\n[![Compatible Python versions](https://img.shields.io/pypi/pyversions/burocrata.svg?style=flat-square)][pypi]\n\n## About\n\n*Burocrata* is a small command-line program that can check the existence of\ncopyright and license notices in source code files and add them when they are\nmissing.\n\n## Installing\n\n*Burocrata* is available from PyPI:\n\n```\npython -m pip install burocrata\n```\n\nand conda-forge:\n\n```\nconda install burocrata -c conda-forge\n```\n\n## Using\n\nCheck that very `.py` file in a directory has a license notice:\n\n```\n$ burocrata --check --extension=py source_folder\n```\n\nRemoving the `--check` option will make Burocrata add the license notice to\nthe files that don't have them:\n\n```\n$ burocrata --extension=py source_folder\n```\n\nThe license and copyright notice can be configured in a `pyproject.toml` file\nlocated in the directory where `burocrata` is run:\n\n```\n$ cat pyproject.toml\n[tool.burocrata]\nnotice = '''\n# Copyright (c) YYYY Name of Developer.\n# Distributed under the terms of the BSD 3-Clause License.\n# SPDX-License-Identifier: BSD-3-Clause'''\n```\n\nSee a full list of options:\n\n```\n$ burocrata --help\n```\n\n## Dependencies\n\nWe use the following dependencies (see `pyproject.toml` for specific version\nconstraints):\n\n* [click](https://click.palletsprojects.com) for building the command-line\n  interface.\n* [tomli](https://github.com/hukkin/tomli) to parse the TOML configuration\n  files.\n* [pathspec](https://github.com/cpburnz/python-pathspec) to parse `.gitignore`\n  files.\n\n## Contacting Us\n\nFind out more about how to reach us at\n[fatiando.org/contact][contact]\n\n## Contributing\n\n### Code of conduct\n\nPlease note that this project is released with a [Code of Conduct][coc].\nBy participating in this project you agree to abide by its terms.\n\n### Contributing Guidelines\n\nPlease read our\n[Contributing Guide][contrib]\nto see how you can help and give feedback.\n\n## License\n\nBurocrata is free and open-source software distributed under the\n[MIT License][license].\n\n[pypi]: https://pypi.org/project/burocrata/\n[conda-forge]: https://github.com/conda-forge/burocrata-feedstock\n[coverage]: https://app.codecov.io/gh/fatiando/burocrata\n[license]: https://github.com/fatiando/burocrata/blob/main/LICENSE.txt\n[contrib]: https://github.com/fatiando/burocrata/blob/main/CONTRIBUTING.md\n[coc]: https://github.com/fatiando/community/blob/main/CODE_OF_CONDUCT.md\n[fatiando]: https://www.fatiando.org\n[contact]: https://www.fatiando.org/contact\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffatiando%2Fburocrata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffatiando%2Fburocrata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffatiando%2Fburocrata/lists"}