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.3.0.tar.gz (2.8 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.3.0.tar.gz.

File metadata

File hashes

Hashes for llama_index_readers_hatena_blog-0.3.0.tar.gz
Algorithm Hash digest
SHA256 76a55ade59544121128fcfe1438698fd3c2f322a3f52eb22eb8d250ab8d716a3
MD5 f5e10812c35c574e4c98466778f7221a
BLAKE2b-256 38f55f5dcb925372d591cc960ba1b22d696f48c93ff885f8f75f46f4eaf5cd19

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_readers_hatena_blog-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8d57cfd8eb8303e7017402df758fef9a72ab34e5170282cbeaff1976f79fff09
MD5 3b4e57822d920305a7117ee64ff143c5
BLAKE2b-256 323175c6aa5f66443b8a0b5fcad9a7c0115ee9fb0ee09fe3542b0d72a78d7279

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