{"id":18313471,"url":"https://github.com/nakamura196/mets_tools","last_synced_at":"2026-04-30T09:37:28.116Z","repository":{"id":260216876,"uuid":"880523283","full_name":"nakamura196/mets_tools","owner":"nakamura196","description":"Human-Friendly Exploration Tool for Archivematica METS Files","archived":false,"fork":false,"pushed_at":"2024-10-30T04:29:52.000Z","size":610,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-23T14:12:33.829Z","etag":null,"topics":["archivematica","mets","oais","python"],"latest_commit_sha":null,"homepage":"https://nakamura196.github.io/mets_tools/","language":"Jupyter Notebook","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/nakamura196.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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":"2024-10-29T21:58:49.000Z","updated_at":"2024-11-06T02:32:52.000Z","dependencies_parsed_at":"2024-10-30T07:35:25.001Z","dependency_job_id":null,"html_url":"https://github.com/nakamura196/mets_tools","commit_stats":null,"previous_names":["nakamura196/mets_tools"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nakamura196/mets_tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nakamura196%2Fmets_tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nakamura196%2Fmets_tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nakamura196%2Fmets_tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nakamura196%2Fmets_tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nakamura196","download_url":"https://codeload.github.com/nakamura196/mets_tools/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nakamura196%2Fmets_tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32460781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["archivematica","mets","oais","python"],"created_at":"2024-11-05T16:27:49.335Z","updated_at":"2026-04-30T09:37:28.101Z","avatar_url":"https://github.com/nakamura196.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"mets_tools\n================\n\n\u003c!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! --\u003e\n\nHuman-Friendly Exploration Tool for Archivematica METS Files\n\nThis tool is based on [METSFlask by Tim\nWalsh](https://github.com/tw4l/METSFlask).\n\nMETSFlask provides a foundation for interacting with and visualizing\nMETS (Metadata Encoding and Transmission Standard) files. Building on\nthis work, this tool offers additional features designed specifically\nfor exploring and understanding Archivematica METS files, with a focus\non accessibility and user-friendly navigation.\n\n## Usage\n\n### Installation\n\nInstall latest from the GitHub\n[repository](https://github.com/nakamura196/mets_tools):\n\n``` sh\n$ pip install git+https://github.com/nakamura196/mets_tools.git\n```\n\n### Documentation\n\nDocumentation can be found hosted on this GitHub\n[repository](https://github.com/nakamura196/mets_tools)’s\n[pages](https://nakamura196.github.io/mets_tools/).\n\n## How to use\n\n``` python\nfrom mets_tools.core import METSFile\n\nlocal_file = \"./test.xml\"\nins = METSFile(local_file)\nins.parse_mets()\n```\n\n### Original Files\n\n``` python\noriginal_files = ins.get_original_files()\noriginal_files\n```\n\n\u003cdiv\u003e\n\u003cstyle scoped\u003e\n    .dataframe tbody tr th:only-of-type {\n        vertical-align: middle;\n    }\n\n    .dataframe tbody tr th {\n        vertical-align: top;\n    }\n\n    .dataframe thead th {\n        text-align: right;\n    }\n\u003c/style\u003e\n\u003ctable border=\"1\" class=\"dataframe\"\u003e\n  \u003cthead\u003e\n    \u003ctr style=\"text-align: right;\"\u003e\n      \u003cth\u003e\u003c/th\u003e\n      \u003cth\u003eamdsec_id\u003c/th\u003e\n      \u003cth\u003efilepath\u003c/th\u003e\n      \u003cth\u003euuid\u003c/th\u003e\n      \u003cth\u003ehashtype\u003c/th\u003e\n      \u003cth\u003ehashvalue\u003c/th\u003e\n      \u003cth\u003ebytes\u003c/th\u003e\n      \u003cth\u003eformat\u003c/th\u003e\n      \u003cth\u003eversion\u003c/th\u003e\n      \u003cth\u003epuid\u003c/th\u003e\n      \u003cth\u003emodified_date\u003c/th\u003e\n      \u003cth\u003efits_modified_unixtime\u003c/th\u003e\n      \u003cth\u003efilename\u003c/th\u003e\n      \u003cth\u003esize\u003c/th\u003e\n    \u003c/tr\u003e\n  \u003c/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003cth\u003e0\u003c/th\u003e\n      \u003ctd\u003eamdSec_2\u003c/td\u003e\n      \u003ctd\u003eS001.png\u003c/td\u003e\n      \u003ctd\u003e386c4295-64fb-45b9-b5c6-3adfcd7f2bcf\u003c/td\u003e\n      \u003ctd\u003esha256\u003c/td\u003e\n      \u003ctd\u003e5288586020b7ff120ad53f94432f719aa0ca1c5e094dc9...\u003c/td\u003e\n      \u003ctd\u003e9097282\u003c/td\u003e\n      \u003ctd\u003ePortable Network Graphics\u003c/td\u003e\n      \u003ctd\u003e1.2\u003c/td\u003e\n      \u003ctd\u003e\u0026lt;a href=\"http://nationalarchives.gov.uk/PRONOM...\u003c/td\u003e\n      \u003ctd\u003e2024-10-25T03:00:20Z\u003c/td\u003e\n      \u003ctd\u003e\u003c/td\u003e\n      \u003ctd\u003eS001.png\u003c/td\u003e\n      \u003ctd\u003e9 MB\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n\u003c/div\u003e\n\n### File Format Counts\n\n``` python\nins.visualize_file_format_counts()\n```\n\n![](index_files/figure-gfm/cell-4-output-1.png)\n\n### File Events Count\n\n``` python\nins.visualize_file_events_count()\n```\n\n![](index_files/figure-gfm/cell-5-output-1.png)\n\n### File Section\n\n``` python\ndf = ins.parse_file_sec()\ndf\n```\n\n\u003cdiv\u003e\n\u003cstyle scoped\u003e\n    .dataframe tbody tr th:only-of-type {\n        vertical-align: middle;\n    }\n\n    .dataframe tbody tr th {\n        vertical-align: top;\n    }\n\n    .dataframe thead th {\n        text-align: right;\n    }\n\u003c/style\u003e\n\u003ctable border=\"1\" class=\"dataframe\"\u003e\n  \u003cthead\u003e\n    \u003ctr style=\"text-align: right;\"\u003e\n      \u003cth\u003e\u003c/th\u003e\n      \u003cth\u003eUSE\u003c/th\u003e\n      \u003cth\u003eFile ID\u003c/th\u003e\n      \u003cth\u003eGroup ID\u003c/th\u003e\n      \u003cth\u003eADMID\u003c/th\u003e\n      \u003cth\u003eFile Location\u003c/th\u003e\n      \u003cth\u003eLOCTYPE\u003c/th\u003e\n      \u003cth\u003eOTHERLOCTYPE\u003c/th\u003e\n    \u003c/tr\u003e\n  \u003c/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003cth\u003e0\u003c/th\u003e\n      \u003ctd\u003eoriginal\u003c/td\u003e\n      \u003ctd\u003efile-386c4295-64fb-45b9-b5c6-3adfcd7f2bcf\u003c/td\u003e\n      \u003ctd\u003eGroup-386c4295-64fb-45b9-b5c6-3adfcd7f2bcf\u003c/td\u003e\n      \u003ctd\u003eamdSec_2\u003c/td\u003e\n      \u003ctd\u003eobjects/S001.png\u003c/td\u003e\n      \u003ctd\u003eOTHER\u003c/td\u003e\n      \u003ctd\u003eSYSTEM\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003cth\u003e1\u003c/th\u003e\n      \u003ctd\u003esubmissionDocumentation\u003c/td\u003e\n      \u003ctd\u003efile-f6acdbb3-095f-4771-8fd9-8c5b74e296ec\u003c/td\u003e\n      \u003ctd\u003eGroup-f6acdbb3-095f-4771-8fd9-8c5b74e296ec\u003c/td\u003e\n      \u003ctd\u003eamdSec_5\u003c/td\u003e\n      \u003ctd\u003eobjects/submissionDocumentation/transfer-png-c...\u003c/td\u003e\n      \u003ctd\u003eOTHER\u003c/td\u003e\n      \u003ctd\u003eSYSTEM\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003cth\u003e2\u003c/th\u003e\n      \u003ctd\u003epreservation\u003c/td\u003e\n      \u003ctd\u003efile-6f93b80d-fb6d-41b6-819e-b9bc3ad085e6\u003c/td\u003e\n      \u003ctd\u003eGroup-386c4295-64fb-45b9-b5c6-3adfcd7f2bcf\u003c/td\u003e\n      \u003ctd\u003eamdSec_1\u003c/td\u003e\n      \u003ctd\u003eobjects/S001-6f93b80d-fb6d-41b6-819e-b9bc3ad08...\u003c/td\u003e\n      \u003ctd\u003eOTHER\u003c/td\u003e\n      \u003ctd\u003eSYSTEM\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003cth\u003e3\u003c/th\u003e\n      \u003ctd\u003etext/ocr\u003c/td\u003e\n      \u003ctd\u003efile-bd353cfc-64aa-4f48-af61-4a4d8ee3a55b\u003c/td\u003e\n      \u003ctd\u003eGroup-386c4295-64fb-45b9-b5c6-3adfcd7f2bcf\u003c/td\u003e\n      \u003ctd\u003eamdSec_3\u003c/td\u003e\n      \u003ctd\u003eobjects/metadata/OCRfiles/S001-386c4295-64fb-4...\u003c/td\u003e\n      \u003ctd\u003eOTHER\u003c/td\u003e\n      \u003ctd\u003eSYSTEM\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003cth\u003e4\u003c/th\u003e\n      \u003ctd\u003emetadata\u003c/td\u003e\n      \u003ctd\u003efile-d8aa2e08-71bd-4852-9d87-e6eba354affb\u003c/td\u003e\n      \u003ctd\u003eGroup-d8aa2e08-71bd-4852-9d87-e6eba354affb\u003c/td\u003e\n      \u003ctd\u003eamdSec_4\u003c/td\u003e\n      \u003ctd\u003eobjects/metadata/transfers/png-c4688ddd-8bb7-4...\u003c/td\u003e\n      \u003ctd\u003eOTHER\u003c/td\u003e\n      \u003ctd\u003eSYSTEM\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n\u003c/div\u003e\n\n### Structure Map\n\n``` python\nins.visualize_structMap()\n```\n\n    StructMap (TYPE: physical, LABEL: Archivematica default)\n    └── Directory: png-e5e48d8a-421a-461d-8e55-468bf37253a8\n        └── Directory: objects\n            ├── Item: S001.png\n            ├── Item: S001-6f93b80d-fb6d-41b6-819e-b9bc3ad085e6.tif\n            ├── Directory: submissionDocumentation\n            │   └── Directory: transfer-png-c4688ddd-8bb7-4593-b4bf-f4302ea6882c\n            │       └── Item: METS.xml\n            └── Directory: metadata\n                ├── Directory: OCRfiles\n                │   └── Item: S001-386c4295-64fb-45b9-b5c6-3adfcd7f2bcf.txt\n                └── Directory: transfers\n                    └── Directory: png-c4688ddd-8bb7-4593-b4bf-f4302ea6882c\n                        └── Item: directory_tree.txt\n    StructMap (TYPE: logical, LABEL: Normative Directory Structure)\n    └── Directory: png-e5e48d8a-421a-461d-8e55-468bf37253a8\n        └── Directory: objects\n            ├── Item: S001.png\n            ├── Item: S001-6f93b80d-fb6d-41b6-819e-b9bc3ad085e6.tif\n            ├── Directory: submissionDocumentation\n            │   └── Directory: transfer-png-c4688ddd-8bb7-4593-b4bf-f4302ea6882c\n            │       └── Item: METS.xml\n            └── Directory: metadata\n                ├── Directory: OCRfiles\n                │   └── Item: S001-386c4295-64fb-45b9-b5c6-3adfcd7f2bcf.txt\n                └── Directory: transfers\n                    └── Directory: png-c4688ddd-8bb7-4593-b4bf-f4302ea6882c\n                        └── Item: directory_tree.txt\n\n### File Changes\n\n``` python\nins.show_file_changes()\n```\n\n    ファイル名の変更は見つかりませんでした。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnakamura196%2Fmets_tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnakamura196%2Fmets_tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnakamura196%2Fmets_tools/lists"}