{"id":19430972,"url":"https://github.com/jmousqueton/metalookup","last_synced_at":"2025-06-14T16:04:30.532Z","repository":{"id":198911149,"uuid":"701799509","full_name":"JMousqueton/MetaLookup","owner":"JMousqueton","description":"Extract metadata from various file formats including PDFs, images (PNG, JPEG, TIFF, BMP, GIF), and Office documents (DOCX, XLSX, PPTX).","archived":false,"fork":false,"pushed_at":"2023-10-10T09:15:49.000Z","size":18,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-25T05:44:38.963Z","etag":null,"topics":["image","metadata","metadata-extraction","office365","osint","osint-python","osint-tool","pdf","python","video"],"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/JMousqueton.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2023-10-07T15:37:44.000Z","updated_at":"2024-03-21T11:26:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"ef8b5718-191a-4dc0-831e-b985aa3532fc","html_url":"https://github.com/JMousqueton/MetaLookup","commit_stats":null,"previous_names":["jmousqueton/metalookup"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JMousqueton/MetaLookup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JMousqueton%2FMetaLookup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JMousqueton%2FMetaLookup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JMousqueton%2FMetaLookup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JMousqueton%2FMetaLookup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JMousqueton","download_url":"https://codeload.github.com/JMousqueton/MetaLookup/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JMousqueton%2FMetaLookup/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259843315,"owners_count":22920309,"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":["image","metadata","metadata-extraction","office365","osint","osint-python","osint-tool","pdf","python","video"],"created_at":"2024-11-10T14:27:44.981Z","updated_at":"2025-06-14T16:04:30.502Z","avatar_url":"https://github.com/JMousqueton.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Metadata Extractor\n\nExtract metadata from various file formats including PDFs, images (PNG, JPEG, TIFF, BMP, GIF), and Office documents (DOCX, XLSX, PPTX).\n\n## Installation\n\nBefore running the script, you need to install the required libraries. Use the following command:\n\n```bash\npip install PyPDF2 Pillow python-docx openpyxl python-pptx hachoir\n```\nor \n```bash\npip install -r requirements.txt\n```\n\n## Usage\n\nThe script can extract metadata from a single file or from all files in a directory.\n\n* Extract metadata from a single file:\n\n```bash\npython Metalookup.py -f /path/to/single/file.pdf\n```\n\n* Extract metadata from all files in a directory:\n\n```bash\npython Metalookup.py -d /path/to/directory/\n```\n\n* Detect the format:\n```bash\npython Metalookup.py -f /path/to/single/file.pdf -D \n```\n\n* Help:\n```bash\n❯ python3 Metalookup.py -h\n\n  __  __     _          _            _             \n |  \\/  |___| |_ __ _  | |   ___  __| |___  _ _ __ \n | |\\/| / -_)  _/ _` | | |__/ _ \\/ _| / / || | '_ \\\n |_|  |_\\___|\\__\\__,_| |____\\___/\\__|_\\_\\\\_,_| .__/\n                                             |_|   \n\nusage: Metalookup.py [-h] [-v] (-f FILE | -d DIRECTORY) [-D]\n\nExtract metadata from files.\n\noptions:\n  -h, --help            show this help message and exit\n  -v, --version         show program's version number and exit\n  -f FILE, --file FILE  File to extract metadata from or detect its type\n  -d DIRECTORY, --directory DIRECTORY\n                        Directory to extract metadata from all contained files\n  -D, --detect          Detect the file type based on its magic number. Requires -f.\n```\n\n## Features\n\n* PDF Metadata Extraction: Extracts information from the properties of a PDF.\n* Image Metadata Extraction: Grabs general information as well as EXIF data (commonly used by cameras).\n* Office Documents Metadata Extraction: Extracts details from Word (DOCX), Excel (XLSX), and PowerPoint (PPTX) files.\n\n## Contributing\nIf you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.\n\n## Licensing\n\nThis project is licensed under MIT license. \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmousqueton%2Fmetalookup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmousqueton%2Fmetalookup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmousqueton%2Fmetalookup/lists"}