Skip to main content

Parses My Clippings.txt

Project description

kindle-clippings


Converts My Clippings.txt file into a JSON format like below:

[
    "Clean Code: A Handbook of Agile Software Craftsmanship": [
      {
        "id": "66698d9e",
        "title": "Clean Code: A Handbook of Agile Software Craftsmanship",
        "author": "Martin, Robert C.",
        "note_type": "highlight",
        "location": [892, 893],
        "date": "2022-10-12",
        "content": "Leave the campground cleaner than you found it."
      }
    ]
]

Currently, it supports English and Spanish languages.

Usage

As a CLI tool:

$ python3 -m kindle_clippings.cli --help

As a module:

from kindle_clippings import clippings_to_json

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

myclippings-0.0.2.tar.gz (6.1 kB view hashes)

Uploaded Source

Built Distribution

myclippings-0.0.2-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

Supported by

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