Skip to main content

llama-index readers hatena_blog integration

Project description

Hatena Blog Loader

pip install llama-index-readers-hatena-blog

This loader fetches article from your own Hatena Blog blog posts using the AtomPub API.

You can get AtomPub info from the admin page after logging into Hatena Blog.

Usage

Here's an example usage of the HatenaBlogReader.

import os

from llama_index.readers.hatena_blog import HatenaBlogReader

root_endpoint = os.getenv("ATOM_PUB_ROOT_ENDPOINT")
api_key = os.getenv("ATOM_PUB_API_KEY")
username = os.getenv("HATENA_BLOG_USERNAME")

reader = HatenaBlogReader(
    root_endpoint=root_endpoint, api_key=api_key, username=username
)
documents = reader.load_data()

This loader is designed to be used as a way to load data into LlamaIndex.

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

llama_index_readers_hatena_blog-0.4.1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file llama_index_readers_hatena_blog-0.4.1.tar.gz.

File metadata

File hashes

Hashes for llama_index_readers_hatena_blog-0.4.1.tar.gz
Algorithm Hash digest
SHA256 bd24bbdbd41c126640cbf9ce80acf4e7163606b306fa71c8ebc178ab7cb0f705
MD5 afac3be8f7026cee008dc8e52194c40d
BLAKE2b-256 6e8886f1f43d856fb7501e2e7619189d97ee2b2eb89192bac9d183ce93f43011

See more details on using hashes here.

File details

Details for the file llama_index_readers_hatena_blog-0.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for llama_index_readers_hatena_blog-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 16880e22a973cf305d8dbadb662f735c6bbb1b1e74eed79a4c6e9633b3b6f6fb
MD5 6b1a69a5fc6ed8874097fb813043ae5f
BLAKE2b-256 364682a7c319674603a94c46462e09aca0af82607c971d33aa5662b5cf8983bc

See more details on using hashes here.

Supported by

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