A library to make book.mobi files.
Kindlegen packaged all the functions in a file,
and here we'd like to develop it's python API.
# Install
`pip install pykindle`
Please get kindlegen from amazon website and
# Documentation
[documentation](https://pykindle.readthedocs.io)
# Usage
```python
import pykindle
book = pykindle.MagazineBook()
article = pykindle.MarkdownArticleItem()
article.href = 'page1.html'
article.source = 'This is a page.'
book.append(article)
book_bytes = book.create()
with open('output.mobi', mode='wb') as file:
file.write(book_bytes)
```
For example, click [here][magazine_example].
# Not finished yet
There are so many functions that haven't been implemented yet.
Currently, PyKindle only support to generate a magazine format book without photos.
[magazine_example]: https://github.com/panhaoyu/pykindle/blob/master/tests/test_magazine.py
# Need help
I'm new in open source, and many people help me,
so if you want to join my project, tell me,
and I'll try my best to help you.
As a previous version,
you can change the APIs,
you can add anything you like.
I hope to make pykindle the best kindle library.
If you are also new here,
help me to create documentation, create testcases, or translate the documentation.
Metadata
Release files for pykindle 0.1.19
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pykindle-0.1.19.tar.gz | 7.7 kB | Without provenance | Details for pykindle-0.1.19.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pykindle-0.1.19-py3-none-any.whl | Python 3 | none | any | Details for pykindle-0.1.19-py3-none-any.whl |
Total release size: 30.2 kB
Release files / pykindle-0.1.19.tar.gz
| Download URL | pykindle-0.1.19.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0fb5ae897d6c580dee576c31555f08f5c04ceecca12603affc3c286c2bfa8f2e
|
|
BLAKE2b-256 checksum How to use checksums |
d0a531dacd18f6d6d1275d108ca58a0f8fc40c97bd29b4ad4f936f07fcb0fc62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2
|
Release files / pykindle-0.1.19-py3-none-any.whl
| Download URL | pykindle-0.1.19-py3-none-any.whl |
|---|---|
| Size | 22.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
08a03bd5aaea79266b4b8319f51b7b7ebbfe056c024b2f7d1cb50e95c01a98f4
|
|
BLAKE2b-256 checksum How to use checksums |
091fa380a561a706b5d653adfa4afd6c26e862a21811eace15d229bae6cef773
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2
|
Security for pykindle 0.1.19
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.