{"id":21660264,"url":"https://github.com/slub/entityfactspicturesmetadataharvester","last_synced_at":"2026-07-29T11:31:22.304Z","repository":{"id":150196110,"uuid":"202113328","full_name":"slub/entityfactspicturesmetadataharvester","owner":"slub","description":"a commandline command (Python3 program) that reads depiction information (images URLs) from given EntityFacts sheets (as line-delimited JSON records) and retrieves the (Wikimedia Commons file) metadata of these pictures (as line-delimited JSON records)","archived":false,"fork":false,"pushed_at":"2019-08-15T12:51:04.000Z","size":83,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-01-25T07:09:04.071Z","etag":null,"topics":["cli","command-line-tool","dnb","entityfacts","entityfacts-sheets","gnd","line-delimited-json","metadata","python","wikimedia-commons"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/slub.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2019-08-13T09:44:10.000Z","updated_at":"2023-12-16T01:42:24.000Z","dependencies_parsed_at":"2023-04-20T02:46:51.407Z","dependency_job_id":null,"html_url":"https://github.com/slub/entityfactspicturesmetadataharvester","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slub%2Fentityfactspicturesmetadataharvester","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slub%2Fentityfactspicturesmetadataharvester/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slub%2Fentityfactspicturesmetadataharvester/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slub%2Fentityfactspicturesmetadataharvester/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slub","download_url":"https://codeload.github.com/slub/entityfactspicturesmetadataharvester/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244555965,"owners_count":20471539,"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":["cli","command-line-tool","dnb","entityfacts","entityfacts-sheets","gnd","line-delimited-json","metadata","python","wikimedia-commons"],"created_at":"2024-11-25T09:32:36.260Z","updated_at":"2025-10-14T18:33:38.262Z","avatar_url":"https://github.com/slub.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# entityfactspicturesmetadataharvester - EntityFacts pictures metadata harvester\n\nentityfactspicturesmetadataharvester is a commandline command (Python3 program) that reads depiction information (images URLs) from given [EntityFacts](https://www.dnb.de/EN/Professionell/Metadatendienste/Datenbezug/Entity-Facts/entity-facts_node.html) sheets* (as line-delimited JSON records) and retrieves the ([Wikimedia Commons](https://commons.wikimedia.org/wiki/Main_Page) file) metadata of these pictures (as line-delimited JSON records).\n\n*) EntityFacts are \"fact sheets\" on entities of the Integrated Authority File ([GND](https://www.dnb.de/EN/Professionell/Standardisierung/GND/gnd_node.html)), which is provided by German National Library ([DNB](https://www.dnb.de/EN/Home/home_node.html))\n\n## Usage\n\nIt eats EntityFacts sheets as line-delimited JSON records from *stdin*.\n\nIt puts the (Wikimedia Commons file) metadata of each picture one by one as line-delimited JSON record to *stdout*.\n\n```\nentityfactspicturesmetadataharvester\n\noptional arguments:\n  -h, --help                           show this help message and exit\n```\n\n* example:\n    ```\n    example: entityfactspicturesmetadataharvester \u003c [INPUT LINE-DELIMITED JSON FILE WITH ENTITYFACTS SHEETS] \u003e [OUTPUT PICTURES METADATA LINE-DELIMITED JSON FILE]\n    ```\n\n### Note\n\nThe GND identifier from the EntityFacts sheet, where the picture (link) was found, is included into the metadata record (in the result). You can access/find it in the field 'gnd_id'.\n\n## Run\n\n* clone this git repo or just download the [entityfactspicturesmetadataharvester.py](entityfactspicturesmetadataharvester/entityfactspicturesmetadataharvester.py) file\n* run ./entityfactspicturesmetadataharvester.py\n* for a hackish way to use entityfactspicturesmetadataharvester system-wide, copy to /usr/local/bin\n\n### Install system-wide via pip\n\n```\nsudo -H pip3 install --upgrade [ABSOLUTE PATH TO YOUR LOCAL GIT REPOSITORY OF ENTITYFACTSPICTURESMETADATAHARVESTER]\n```\n(which provides you ```entityfactspicturesmetadataharvester``` as a system-wide commandline command)\n\n## See Also\n\n* [entityfactssheetsharvester](https://github.com/slub/entityfactssheetsharvester) - a commandline command (Python3 program) that retrieves EntityFacts sheets from a given CSV with GND identifiers and returns them as line-delimited JSON records\n* [entityfactspicturesharvester](https://github.com/slub/entityfactspicturesharvester) - a commandline command (Python3 program) that reads depiction information (images URLs) from given EntityFacts sheets (as line-delimited JSON records) and retrieves and stores the pictures and thumbnails contained in this information\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslub%2Fentityfactspicturesmetadataharvester","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslub%2Fentityfactspicturesmetadataharvester","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslub%2Fentityfactspicturesmetadataharvester/lists"}