llama-index-readers-joplin


Namellama-index-readers-joplin JSON
Version 0.4.0 PyPI version JSON
download
home_pageNone
Summaryllama-index readers joplin integration
upload_time2024-11-18 01:05:22
maintaineralondmnt
docs_urlNone
authorYour Name
requires_python<4.0,>=3.9
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Joplin (Markdown) Loader

```bash
pip install llama-index-readers-joplin
```

> [Joplin](https://joplinapp.org/) is an open source note-taking app. Capture your thoughts and securely access them from any device.

This readme covers how to load documents from a `Joplin` database.

`Joplin` has a [REST API](https://joplinapp.org/api/references/rest_api/) for accessing its local database. This reader uses the API to retrieve all notes in the database and their metadata. This requires an access token that can be obtained from the app by following these steps:

1. Open the `Joplin` app. The app must stay open while the documents are being loaded.
2. Go to settings / options and select "Web Clipper".
3. Make sure that the Web Clipper service is enabled.
4. Under "Advanced Options", copy the authorization token.

You may either initialize the reader directly with the access token, or store it in the environment variable JOPLIN_ACCESS_TOKEN.

An alternative to this approach is to export the `Joplin`'s note database to Markdown files (optionally, with Front Matter metadata) and use a Markdown reader, such as ObsidianReader, to load them.

## Usage

Here's an example usage of the JoplinReader.

```python
import os

from llama_index.readers.joplin import JoplinReader

documents = JoplinReader(
    access_token="<access_token>"
).load_data()  # Returns list of documents
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "llama-index-readers-joplin",
    "maintainer": "alondmnt",
    "docs_url": null,
    "requires_python": "<4.0,>=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": "Your Name",
    "author_email": "you@example.com",
    "download_url": "https://files.pythonhosted.org/packages/b7/11/5a7269723581f958fe42d3526da5e414a7622b0a1891da2e9ae460181cff/llama_index_readers_joplin-0.4.0.tar.gz",
    "platform": null,
    "description": "# Joplin (Markdown) Loader\n\n```bash\npip install llama-index-readers-joplin\n```\n\n> [Joplin](https://joplinapp.org/) is an open source note-taking app. Capture your thoughts and securely access them from any device.\n\nThis readme covers how to load documents from a `Joplin` database.\n\n`Joplin` has a [REST API](https://joplinapp.org/api/references/rest_api/) for accessing its local database. This reader uses the API to retrieve all notes in the database and their metadata. This requires an access token that can be obtained from the app by following these steps:\n\n1. Open the `Joplin` app. The app must stay open while the documents are being loaded.\n2. Go to settings / options and select \"Web Clipper\".\n3. Make sure that the Web Clipper service is enabled.\n4. Under \"Advanced Options\", copy the authorization token.\n\nYou may either initialize the reader directly with the access token, or store it in the environment variable JOPLIN_ACCESS_TOKEN.\n\nAn alternative to this approach is to export the `Joplin`'s note database to Markdown files (optionally, with Front Matter metadata) and use a Markdown reader, such as ObsidianReader, to load them.\n\n## Usage\n\nHere's an example usage of the JoplinReader.\n\n```python\nimport os\n\nfrom llama_index.readers.joplin import JoplinReader\n\ndocuments = JoplinReader(\n    access_token=\"<access_token>\"\n).load_data()  # Returns list of documents\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "llama-index readers joplin integration",
    "version": "0.4.0",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5e1c80b0a253003b256e488d61caebac2bf9f6d1694eaa166ceb3a96113d41e9",
                "md5": "29c574cab703d418a2371793bb8faf12",
                "sha256": "3edfa18f7c614c6d03012c37f6d14de73776c60a723277058e616c3ee430d76e"
            },
            "downloads": -1,
            "filename": "llama_index_readers_joplin-0.4.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "29c574cab703d418a2371793bb8faf12",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 3923,
            "upload_time": "2024-11-18T01:05:21",
            "upload_time_iso_8601": "2024-11-18T01:05:21.954060Z",
            "url": "https://files.pythonhosted.org/packages/5e/1c/80b0a253003b256e488d61caebac2bf9f6d1694eaa166ceb3a96113d41e9/llama_index_readers_joplin-0.4.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b7115a7269723581f958fe42d3526da5e414a7622b0a1891da2e9ae460181cff",
                "md5": "979916dd793fae25c6abc68c14e06cd7",
                "sha256": "8afda709bcdfbc68a4d26390abf6e25cf3e581e7cd9c01ed23cccbad5d305743"
            },
            "downloads": -1,
            "filename": "llama_index_readers_joplin-0.4.0.tar.gz",
            "has_sig": false,
            "md5_digest": "979916dd793fae25c6abc68c14e06cd7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 3580,
            "upload_time": "2024-11-18T01:05:22",
            "upload_time_iso_8601": "2024-11-18T01:05:22.835717Z",
            "url": "https://files.pythonhosted.org/packages/b7/11/5a7269723581f958fe42d3526da5e414a7622b0a1891da2e9ae460181cff/llama_index_readers_joplin-0.4.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-18 01:05:22",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "llama-index-readers-joplin"
}
        
Elapsed time: 0.43701s