{"id":37079052,"url":"https://github.com/davekeogh/epubmangler","last_synced_at":"2026-01-14T09:34:21.325Z","repository":{"id":33829016,"uuid":"37527477","full_name":"davekeogh/epubmangler","owner":"davekeogh","description":"Tools to modify the metadata of EPUB files","archived":false,"fork":false,"pushed_at":"2024-12-15T06:02:01.000Z","size":599,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-27T21:26:10.550Z","etag":null,"topics":["digital-publishing","ebooks","epub","epub3","metadata","publishing","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davekeogh.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}},"created_at":"2015-06-16T12:01:55.000Z","updated_at":"2024-12-15T06:02:05.000Z","dependencies_parsed_at":"2022-07-24T18:01:58.947Z","dependency_job_id":null,"html_url":"https://github.com/davekeogh/epubmangler","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/davekeogh/epubmangler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davekeogh%2Fepubmangler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davekeogh%2Fepubmangler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davekeogh%2Fepubmangler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davekeogh%2Fepubmangler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davekeogh","download_url":"https://codeload.github.com/davekeogh/epubmangler/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davekeogh%2Fepubmangler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28416111,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T08:38:59.149Z","status":"ssl_error","status_checked_at":"2026-01-14T08:38:43.588Z","response_time":107,"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":["digital-publishing","ebooks","epub","epub3","metadata","publishing","python"],"created_at":"2026-01-14T09:34:20.126Z","updated_at":"2026-01-14T09:34:21.315Z","avatar_url":"https://github.com/davekeogh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# epubmangler\n\nTools to read and modify the metadata of EPUB files.\n\nDocumentation to be written. See the minimal example below and others in the `example` directory.\n\nRequires: Python 3.8\n\n## Example usage\n\n```python\nfrom epubmangler import EPub\n\nwith EPub('Frankenstein.epub') as book:  # https://gutenberg.org/ebooks/84\n\n    # Get information about a book\n    language = book.get('language')\n    subjects = book.get_all('subject')\n    book.pretty_print()\n\n    # Modify existing elements\n    book.set('title', 'Frankenstein 2')\n    book.set_cover('cat_picture.jpg')\n    book.set_identifier('http://github.com/davekeogh/epubmangler', 'URI')\n\n    # Add and remove elements\n    book.add('contributor', 'epubmangler', {'opf:role' : 'bkp'})\n    book.remove('date', {'opf:event' : 'conversion'})\n\n    # Add and remove subjects\n    book.add_subject('Sequel')\n    book.add_subject('Comedy')\n    book.remove_subject('Horror tales')\n\n    book.save('Frankenstein 2.epub', overwrite=True)\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavekeogh%2Fepubmangler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavekeogh%2Fepubmangler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavekeogh%2Fepubmangler/lists"}