Skip to main content

whoarder converts your Kindle's 'My Clippings.txt' file to a more pleasant, sortable, filterable HTML file

Project description

whoarder converts your Kindle’s My Clippings.txt file to a more pleasant, sortable, filterable HTML file:

https://github.com/ronjouch/whoarder/raw/master/whoarder-screenshot.png

Installation & Requirements

To install, just pip install whoarder (link to PyPI page). Requirements are:

  • Python ≥3.3 (so far I only tested with 3.3 and 3.4 on Linux, tests and patches to increase compatibility very welcome)

  • The jinja2 and chardet2 modules (automatically handled as setup.py dependencies)

  • Only tested on a My Clippings.txt file produced by a Kindle Paperwhite (ok/ko reports for other devices and test data welcome through GitHub).

    • Kindle Fire & Kindle Fire HD are not supported, since they do note create the My Clippings.txt file. If you know where to dig that data for those versions, patches welcome.

Usage

Command-line:

Run whoarder /path/to/My Clippings.txt [destination] . If destination is omitted, the output HTML will be written in the same place (overwriting any pre-existing HTML).

As module:

from clippings import Clippings
clippings = Clippings(args.source, args.destination)  # contains a 'clippings' dict containing the information
clippings.export_to_html()  # exports as HTML

Tests:

Test data and unittest-based unit tests are in the tests folder.

Similar Software

License and contact

Licensed under the MIT license, 2013-2016 (see LICENSE), ronan@jouchet.fr / @ronjouch

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

whoarder-0.3.2.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

whoarder-0.3.2-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file whoarder-0.3.2.tar.gz.

File metadata

  • Download URL: whoarder-0.3.2.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for whoarder-0.3.2.tar.gz
Algorithm Hash digest
SHA256 12f87da25a4a0cd44321c85a5f6c0b79f55d90d8e6f8a7d008fd6eda11dbfaa1
MD5 210bb3abace6d2d1587e4f5fcc58a280
BLAKE2b-256 811e92501d9b33aa5fb4b5df45ebccbcc54bd4bc9addc9c0dfd065e76c3452f4

See more details on using hashes here.

File details

Details for the file whoarder-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: whoarder-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for whoarder-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6af5f09ff74fe4dbfe8061741396e0c0e69e6cff6352feb03b4c5fee9cd91219
MD5 fca1f2a5738cd4917bac9153d73c010d
BLAKE2b-256 0baa8490fc023fb62db021d532c3a12b86780743d98960992b66a7216ebfbe1c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page