{"id":13595388,"url":"https://github.com/imgurbot12/pypub","last_synced_at":"2026-01-14T07:19:42.123Z","repository":{"id":63152666,"uuid":"273783074","full_name":"imgurbot12/pypub","owner":"imgurbot12","description":"Python library to programatically create epub files","archived":false,"fork":true,"pushed_at":"2025-05-15T06:28:10.000Z","size":3452,"stargazers_count":32,"open_issues_count":1,"forks_count":16,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-28T08:16:24.729Z","etag":null,"topics":["ebook","epub","library","python"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/pypub3/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"wcember/pypub","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imgurbot12.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":"2020-06-20T20:56:36.000Z","updated_at":"2025-08-05T18:06:31.000Z","dependencies_parsed_at":"2023-01-22T06:36:29.278Z","dependency_job_id":null,"html_url":"https://github.com/imgurbot12/pypub","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/imgurbot12/pypub","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imgurbot12%2Fpypub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imgurbot12%2Fpypub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imgurbot12%2Fpypub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imgurbot12%2Fpypub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imgurbot12","download_url":"https://codeload.github.com/imgurbot12/pypub/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imgurbot12%2Fpypub/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28412865,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T05:26:33.345Z","status":"ssl_error","status_checked_at":"2026-01-14T05:21:57.251Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["ebook","epub","library","python"],"created_at":"2024-08-01T16:01:49.202Z","updated_at":"2026-01-14T07:19:42.107Z","avatar_url":"https://github.com/imgurbot12.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"pypub\n------\n\nCreate epub's using Python. \nPypub is a Python library to create epub files quickly, \nwithout having to worry about the intricacies of the epub specification.\n\nThis package was originally forked and re-written based on WCember's Python 2 \nversion, but due to a lack of response has been re-released as a new package \nto support Python 3.\n\nThe codebase has since gone through a few substantial rewrites and operates \nas its own library moving forward.\n\n### Installation\n\n```\npip install pypub3\n```\n\n### Quickstart\n\n```python\nimport pypub\n\nmy_first_epub = pypub.Epub('My First Epub')\nmy_first_chapter = pypub.create_chapter_from_url('https://en.wikipedia.org/wiki/EPUB')\nmy_first_epub.add_chapter(my_first_chapter)\nmy_first_epub.create('./my-first-epub.epub')\n```\n\n# Features #\n* Pypub is **easy to install** and has minimal dependencies.\n* Pypub **abstracts the epub specification**. \n  Create epubs without worrying about what an NCX is.\n* Pypub can **create epubs from websites, html files, strings**, \n  or a combination of all three.\n* Pypub can **clean up poorly formatted and complicated html**, \n  so it will show cleanly as a chapter in your book.\n* Pypub **creates epubs specifically so they can be converted into \n  Amazon Kindle mobi or azw3 files**. Don't know which tags Amazon \n  supports? Don't worry about it because pypub does. \n* Pypub is **customizable**. Don't like the way pypub sanitizes html \n  files for you ebook? Pypub can be configured with your own sanitation \n  function.\n* Pypub is **licensed under the MIT license**. Do what you want with it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimgurbot12%2Fpypub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimgurbot12%2Fpypub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimgurbot12%2Fpypub/lists"}