epub2html


Nameepub2html JSON
Version 2.2.41 PyPI version JSON
download
home_pagehttps://github.com/zk4/epub2html
Summarythis is a description
upload_time2023-07-28 18:02:39
maintainer
docs_urlNone
authorzk
requires_python>3.0.0
licenseBSD
keywords best practice for python project
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Fastest epub reader.
# Why 
Reading epub in PC is pain as hell. I have tried a lot tool like `calibre` `epubreader`,`Mac books`, `MarginNote` for quick and good view experience. However, some of the pifalls always exist in one or another.
- Loading is super slow for big epub because of splitted files.
- No smooth scrolling. 
	
I think most of the epub reader focus too much on the layout, instread of contents.
So I wonder. I have a web browser like Chrome which is a natural epub reader, and it's fast enough.
The basic idea is converting epub to a big html. Simple but effective.

![](https://github.com/zk4/epub2html/blob/master/demo.gif?raw=true)

# Tested platform 
- Mac
- Windows

# Usage 
``` bash
pip install epub2html
epub2html abc.epub  

```
will open your converted epub html file in browser .


# Open with double click like normal file (mac)

use automator, generate the app, create a `Run shell script` module
``` 
source ~/.bash_profile
/usr/local/bin/epub2html "$1"
```
check `which epub2html` in your bash to make sure it's the right path.
save it, 
link the file with this app, You are good to go.


# Dev

``` python
python3 -m venv --clear .p3env
source .p3env/bin/activate
pip install -r requirements.txt
```


# Last
I won't follow the [standard](https://www.w3.org/publishing/epub3/epub-spec.html#sec-intro-epub-specs) to parse epub, since it's way too complicated. If some epub is not openable.Please make a PR ,or,sobmit the epub to the issues, I would fix it as soon as I can.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/zk4/epub2html",
    "name": "epub2html",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">3.0.0",
    "maintainer_email": "",
    "keywords": "best practice for python project",
    "author": "zk",
    "author_email": "liuzq7@gmail.com",
    "download_url": "https://github.com/zk4/epub2html/archive/master.zip",
    "platform": null,
    "description": "Fastest epub reader.\n# Why \nReading epub in PC is pain as hell. I have tried a lot tool like `calibre` `epubreader`,`Mac books`, `MarginNote` for quick and good view experience. However, some of the pifalls always exist in one or another.\n- Loading is super slow for big epub because of splitted files.\n- No smooth scrolling. \n\t\nI think most of the epub reader focus too much on the layout, instread of contents.\nSo I wonder. I have a web browser like Chrome which is a natural epub reader, and it's fast enough.\nThe basic idea is converting epub to a big html. Simple but effective.\n\n![](https://github.com/zk4/epub2html/blob/master/demo.gif?raw=true)\n\n# Tested platform \n- Mac\n- Windows\n\n# Usage \n``` bash\npip install epub2html\nepub2html abc.epub  \n\n```\nwill open your converted epub html file in browser .\n\n\n# Open with double click like normal file (mac)\n\nuse automator, generate the app, create a `Run shell script` module\n``` \nsource ~/.bash_profile\n/usr/local/bin/epub2html \"$1\"\n```\ncheck `which epub2html` in your bash to make sure it's the right path.\nsave it, \nlink the file with this app, You are good to go.\n\n\n# Dev\n\n``` python\npython3 -m venv --clear .p3env\nsource .p3env/bin/activate\npip install -r requirements.txt\n```\n\n\n# Last\nI won't follow the [standard](https://www.w3.org/publishing/epub3/epub-spec.html#sec-intro-epub-specs) to parse epub, since it's way too complicated. If some epub is not openable.Please make a PR ,or,sobmit the epub to the issues, I would fix it as soon as I can.\n",
    "bugtrack_url": null,
    "license": "BSD",
    "summary": "this is a description",
    "version": "2.2.41",
    "project_urls": {
        "Download": "https://github.com/zk4/epub2html/archive/master.zip",
        "Homepage": "https://github.com/zk4/epub2html"
    },
    "split_keywords": [
        "best",
        "practice",
        "for",
        "python",
        "project"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "326049cd79244a907592450cfab34f73ec22f6266d1e23dadac9a4cb074326ac",
                "md5": "a4982f2edd9a8bfd84319b368df74185",
                "sha256": "5ac496406eafd39b60d2ea44a9d749aa28fd1f0d48e23c0042e501db54a68d43"
            },
            "downloads": -1,
            "filename": "epub2html-2.2.41-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a4982f2edd9a8bfd84319b368df74185",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">3.0.0",
            "size": 70393,
            "upload_time": "2023-07-28T18:02:39",
            "upload_time_iso_8601": "2023-07-28T18:02:39.649572Z",
            "url": "https://files.pythonhosted.org/packages/32/60/49cd79244a907592450cfab34f73ec22f6266d1e23dadac9a4cb074326ac/epub2html-2.2.41-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-28 18:02:39",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "zk4",
    "github_project": "epub2html",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "epub2html"
}
        
zk
Elapsed time: 1.65049s