iscc / mobi Goto Github PK
View Code? Open in Web Editor NEWpython based software to unpack kindlegen generated ebooks
License: GNU General Public License v3.0
python based software to unpack kindlegen generated ebooks
License: GNU General Public License v3.0
Hi! I would like to create an Alpine package for epy, which has mobi as a dependency, so I also have to make a package for mobi. Alpine packages are usually not built from a Git reference as they could be with Arch packages for example, so we would need actual version numbers. Would it be possible to create, even retroactively, some git tags on the commits that were used to build the versions that are currently published on PyPI? Even a tag for just the latest release would be good enough. Tags make the link between a published release and a commit much more clearer.
Additionally, as it seems Arch users are also having trouble with getting mobi to Arch, some documentation on how the package is built would be appreciated; Alpine packages are built directly from the source, not with any prebuilt binary. Even something as small as this would make my job easier!
Hi guys, I wanna change the default path for saving the temp html file, which code should I look into?
much obliged
As of Python 3.11, imghdr is deprecated. It's currently used to get the image type of the cover.
The homepage link on https://pypi.org/project/mobi/ points to https://github/iscc/mobi (missing '.com') in stead of https://github.com/iscc/mobi -- the repository link is OK though :)
Sorry for reporting here if this is not the appropriate place to report this.
Please change to poetry.core.masonry.api
Good day y'all
While reading your code, I noticed that the 'extract' method's intention was to extract mobi file and return path to epub file. But I can not find any interface or switch to save the epub file instead of html file.
Would you please ellaborate how to modify the extract method or which file I shall look into for implementing the conversion from mobi to epub?
Thanks very much
Love your code
Hello there, sorry, this is not really an issue. I am just asking about legal stuff.
I write https://github.com/wustho/epr and epy which is a cli ebook reader. Currently I write it under MIT License. I am thinking to add MOBI support by adding option to import this awesome library which use GNU GPL v3 License... Do I need to change epy's License to GNU GPL v3 in order to use this library?
Hi, can you bump the loguru dependency to 0.7. Among other things, this is needed to support python 3.11.
Thanks.
The install fails with the message
$ pip install mobi
Defaulting to user installation because normal site-packages is not writeable
Collecting mobi
Using cached mobi-0.3.3.tar.gz (90 kB)
Preparing metadata (pyproject.toml) ... err
or
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did n
ot run successfully.
│ exit code: 1
╰─> [57 lines of output]
Traceback (most recent call last):
File "/var/mobile/Containers/Data/App
lication/1D580812-9B84-4283-9271-4A44EFA09D9B
/Library/lib/python3.11/site-packages/pip/_ve
ndor/pyproject_hooks/_in_process/_in_process.
py", line 353, in <module>
main()
File "/var/mobile/Containers/Data/App
lication/[...]
/Library/lib/python3.11/site-packages/pip/_ve
ndor/pyproject_hooks/_in_process/_in_process.
py", line 335, in main
json_out['return_val'] = hook(**hoo
k_input['kwargs'])
[...]
File "/var/mobile/Containers/Data/App
lication/[...]
/Library/lib/python3.11/site-packages/poetry/
core/_vendor/tomlkit/items.py", line 1771, in
__init__
super().__init__(trivia)
TypeError: object.__init__() takes exac
tly one argument (the instance to initialize)
[end of output]
note: This error originates from a subproce
ss, and is likely not a problem with pip.
error: metadata-generation-failed
I'm using a-Shell and
$ pip --version
pip 23.0.1 from /var/mobile/Containers/Data/A
pplication/[...]/Library/lib/python3.11/site-packages/pip (
python 3.11)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.