معرفی شرکت ها


epubcrush-2.0.3


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Compress EPUB files
ویژگی مقدار
سیستم عامل -
نام فایل epubcrush-2.0.3
نام epubcrush
نسخه کتابخانه 2.0.3
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Jon Craton
ایمیل نویسنده jon@joncraton.com
آدرس صفحه اصلی https://github.com/jncraton/epubcrush
آدرس اینترنتی https://pypi.org/project/epubcrush/
مجوز -
EPUB Crush ========== [![PyPI version](https://badge.fury.io/py/epubcrush.svg)](https://badge.fury.io/py/epubcrush) [![Test](https://github.com/jncraton/epubcrush/actions/workflows/build.yml/badge.svg)](https://github.com/jncraton/epubcrush/actions/workflows/build.yml) Compresses [EPUB](https://en.wikipedia.org/wiki/EPUB) files to reduce size. By default, all images, fonts, scipts, and styles will be removed from the EPUB. Installation ------------ This package is available via PyPI and can be installed from there. ```sh pip install epubcrush ``` Performance ----------- | File | Original | txt | txtz | Images q=100 | Images q=50 | No Images | | ---- | -------- | ----- | ----- | ------------ | ------------ | ------------ | | 1 | 589kB | 27kB | 12kB | 584kB (99%) | 257kB (44%) | 27kB ( 5%) | | 2 | 589kB | 88kB | 30kB | 584kB (99%) | 285kB (48%) | 47kB ( 8%) | | 3 | 87kB | 89kB | 34kB | 75kB (86%) | 49kB (56%) | 39kB (45%) | Why? ----- EPUBs may include features that may not be desirable from a privacy or efficiency standpoint. Publishers may choose to include high-res images, custom fonts, styles, scripts, and other features that bloat the size of EPUBs beyond what is needed for the text content of a book. This application strips away everything but the plain text content. Why not use plain text? ----------------------- EPUB adds a number of useful reading features (table of contents, metadata, etc) that are useful and not available in basic plain text. EPUBs are also compressed, so they will often be smaller than simple plain text. Method of Operation ------------------- - Iterate files in container - Remove all files that are not part of the document text or part of the EPUB structure - Parse XML files - Remove the following tags - link - meta - style - picture - audio - video - script - Replace `img` tags with their alt text in a `p` tag


زبان مورد نیاز

مقدار نام
>=3.8 Python


نحوه نصب


نصب پکیج whl epubcrush-2.0.3:

    pip install epubcrush-2.0.3.whl


نصب پکیج tar.gz epubcrush-2.0.3:

    pip install epubcrush-2.0.3.tar.gz