Comments (4)
None of the suggested replacements in the PEP support python 2. Could adopt imghdr into projector add additional checks to existing code for types we care about.
I do have a project https://github.com/clach04/magic-fork which might be suitable .
from kindleunpack.
We will keep it in mind but we still have plenty of time since it was just deprecated in 3.11.
filetype might be an option.
We may decide to remove python2 support since all work on kfx input seems to be python3 only.
from kindleunpack.
Also, since the current python lib imghdr.py is a simple self-contained module we may just decide to include a version of it as part of kindleunpack.
from kindleunpack.
Related Issues (20)
- UnicodeEncodeError HOT 4
- Crash unpacking calibre-generated 'both' MOBI files HOT 29
- Unable to unpack azw file with .opf content HOT 5
- Unpacked files size doubled HOT 7
- Script throws AttributeError when parsing NCX navList HOT 5
- except error: Processing ncx / toc HOT 7
- Fix simple typo: specifc -> specific
- Re-packing to .mobi HOT 1
- Have considered package kindle ebooks parser into a pip package? HOT 5
- Incorrect language codes HOT 5
- Some Inflection data lost in the html file produced from kindle dictionary by KindleUnpack HOT 1
- KindleUnpack_ReadMe.htm references incorrect Python version HOT 2
- Incorrect version displayed on screen in DumpMobiHeader_v023.py HOT 1
- Convert `original-resolution` to `rendition:viewport` HOT 20
- encoding issue with source code under Microsoft Windows and default codepage HOT 1
- Book title not escaped in NCX HOT 8
- AttributeError: 'array.array' object has no attribute 'tostring' proposed fix HOT 4
- Named character references are not allowed in ePub HOT 4
- AttributeError: โstrโ object has no attribute โdecodeโ HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kindleunpack.