{"id":20670546,"url":"https://github.com/metron-project/metron-tagger","last_synced_at":"2026-01-03T21:14:53.710Z","repository":{"id":34913750,"uuid":"165314221","full_name":"Metron-Project/metron-tagger","owner":"Metron-Project","description":"Command line tool to tag comic archives with metadata from Metron Comic Book Database.","archived":false,"fork":false,"pushed_at":"2025-02-23T17:27:25.000Z","size":2209,"stargazers_count":25,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-25T00:15:31.717Z","etag":null,"topics":["comicbook","comics","command-line-tool","metadata","tagger"],"latest_commit_sha":null,"homepage":"https://metron.cloud/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Metron-Project.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-11T21:43:47.000Z","updated_at":"2025-02-23T17:23:50.000Z","dependencies_parsed_at":"2024-01-16T20:17:27.601Z","dependency_job_id":"13a2c233-5830-4560-a5ea-49fb910d4898","html_url":"https://github.com/Metron-Project/metron-tagger","commit_stats":{"total_commits":576,"total_committers":4,"mean_commits":144.0,"dds":0.00520833333333337,"last_synced_commit":"1aa69a2bbdbaa7feed8b81db4928e10c1ee827cb"},"previous_names":[],"tags_count":72,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Metron-Project%2Fmetron-tagger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Metron-Project%2Fmetron-tagger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Metron-Project%2Fmetron-tagger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Metron-Project%2Fmetron-tagger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Metron-Project","download_url":"https://codeload.github.com/Metron-Project/metron-tagger/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241509654,"owners_count":19974071,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["comicbook","comics","command-line-tool","metadata","tagger"],"created_at":"2024-11-16T20:21:32.071Z","updated_at":"2026-01-03T21:14:53.669Z","avatar_url":"https://github.com/Metron-Project.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"=============\nMetron-Tagger\n=============\n\n.. image:: https://img.shields.io/pypi/v/metron-tagger.svg\n    :target: https://pypi.org/project/metron-tagger/\n\n.. image:: https://img.shields.io/pypi/pyversions/metron-tagger.svg\n    :target: https://pypi.org/project/metron-tagger/\n\n.. image:: https://img.shields.io/github/license/bpepple/metron-tagger\n    :target: https://opensource.org/licenses/GPL-3.0\n\n.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json\n    :target: https://github.com/astral-sh/ruff\n    :alt: Ruff\n\nQuick Description\n-----------------\n\nA command-line tool to tag comic archives with metadata from metron.cloud_.\n\n.. _metron.cloud: https://metron.cloud\n\nInstallation\n------------\n\nPyPi\n~~~~\n\nOr install it yourself:\n\n.. code:: bash\n\n  $ pipx install metron-tagger\n\nFAQ\n---\n\n**How to enable RAR support?**\n\n- It depends on the unrar command-line utility, and expects it to be in your $PATH.\n\nHelp\n----\n\n::\n\n  usage: metron-tagger [-h] [-r] [-o] [-m] [-c] [--id ID] [-d] [--ignore-existing] [-i] [--missing] [-s] [-z] [--validate] [--remove-non-valid] [--delete-original]\n                     [--duplicates] [--migrate] [--version]\n                     path [path ...]\n\n\n  Read in a file or set of files, and return the result.\n\n  positional arguments:\n    path                 Path of a file or a folder of files.\n\n  options:\n    -h, --help           show this help message and exit\n    -r, --rename         Rename comic archive from the files metadata. (default: False)\n    -o, --online         Search online and attempt to identify comic archive. (default: False)\n    -m, --metroninfo     Write, delete, or validate MetronInfo.xml. (default: False)\n    -c, --comicinfo      Write, delete, or validate ComicInfo.xml. (default: False)\n    --id ID              Identify file for tagging with the Metron Issue Id. (default: None)\n    -d, --delete         Delete the metadata tags from the file. (default: False)\n    --ignore-existing    Ignore files that have existing metadata tag. (default: False)\n    -i, --interactive    Interactively query the user when there are matches for an online search. (default: False)\n    --missing            List files without metadata. (default: False)\n    -s, --sort           Sort files that contain metadata tags. (default: False)\n    -z, --export-to-cbz  Export a CBR (rar) archive to a CBZ (zip) archive. (default: False)\n    --validate           Verify that comic archive has a valid metadata xml. (default: False)\n    --remove-non-valid   Remove metadata xml from comic if not valid. Used with --validate option (default: False)\n    --delete-original    Delete the original archive after successful export to another format. (default: False)\n    --duplicates         Identify and give the option to delete duplicate pages in a directory of comics. (Experimental) (default: False)\n    --migrate            Migrate information from a ComicInfo.xml into a *new* MetronInfo.xml (default: False)\n    --version            Show the version number and exit\n\nExamples\n--------\n\nTo tag all comics in a directory with MetronInfo.xml that don't already have one:\n::\n\n  metron-tagger -om --ignore-existing /path/to/comics\n\nTo remove any ComicInfo.xml from a directory of comics:\n::\n\n  metron-tagger -dc /path/to/comics\n\nTo validate any metadata, ComicInfo.xml and MetronInfo.xml, would be done by running the following:\n::\n\n  metron-tagger -cm --validate /path/to/comics\n\nTo write MetronInfo.xml metadata from comics with ComicInfo.xml data, and migrate data for comics that don't exist at the Metron Comic Database:\n::\n\n  metron-tagger -om --migrate /path/to/comics\n\n\nBugs/Requests\n-------------\n\nPlease use the `GitHub issue tracker \u003chttps://github.com/Metron-Project/metron-tagger/issues\u003e`_ to submit bugs or request features.\n\nLicense\n-------\n\nThis project is licensed under the `GPLv3 License \u003cLICENSE\u003e`_.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetron-project%2Fmetron-tagger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetron-project%2Fmetron-tagger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetron-project%2Fmetron-tagger/lists"}