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.5.0.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.5.0.tar.gz.

File metadata

  • Download URL: llama_index_readers_hatena_blog-0.5.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_readers_hatena_blog-0.5.0.tar.gz
Algorithm Hash digest
SHA256 8711a55846fd5a04602703aeff45d8b15af40779c4e37c7650e46dd8d9d1696a
MD5 a9f0fd9eba5f012f912eabf188e8476e
BLAKE2b-256 be34948ce04d541498c67c639ad11b75b60ae92437a76f87eaae02824a71b066

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llama_index_readers_hatena_blog-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_readers_hatena_blog-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 982354431d5fa31db404a5eaf9b02ac10dd8856243151cd98ecc41ee20d747ba
MD5 3b90056173c45c511213c156f15472b3
BLAKE2b-256 1b24e358e65b9cf4c3b064af5ce37ba474c8f8a4f248545b40088756c5ec6b05

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