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
Built Distribution
Close
Hashes for llama_index_readers_hatena_blog-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a31323c9585876d0c94a6675de0cb539d12cc3ef747a404299fd89ff72ae077 |
|
MD5 | 45e5b0e78c78d23267a682ada75c9e1d |
|
BLAKE2b-256 | 25322086c56aa59a30cb60144911f1fd9c5cff7c37c58c2d98baec162d5c4f5c |
Close
Hashes for llama_index_readers_hatena_blog-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb8497515b78c13a80345ca654d477c2c89a39ee11d6423daaab6c5dcc3ce4b5 |
|
MD5 | 52918be17f189ff4ebc6bbbdf389e275 |
|
BLAKE2b-256 | 4cf1ec313894cb6e0a108f549a5c06c5d0520f209459db7b6cecf1103784fb90 |