llama-index readers wordpress integration
Project description
Wordpress Loader
pip install llama-index-readers-wordpress
This loader fetches the text from Wordpress blog posts using the Wordpress API. It also uses the BeautifulSoup library to parse the HTML and extract the text from the articles.
Usage
To use this loader, you need to pass base url of the Wordpress installation
(e.g. https://www.mysite.com
) and optionally a username, and an application
password for the user (more about application passwords
here)
from llama_index.readers.wordpress import WordpressReader
loader = WordpressReader(
url="https://www.mysite.com",
username="my_username",
password="my_password",
)
documents = loader.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_wordpress-0.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d57a93b9c663e1f806da319766a3a5ac077ee244b77cbef833042b1445f168ee |
|
MD5 | 269446c26914ddb35189dad645da2719 |
|
BLAKE2b-256 | 33e4254c235d57b50337bc619a5e9e9234ad0e174eb88e7197feca5012f04349 |
Close
Hashes for llama_index_readers_wordpress-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c73e9fdd17cb84a946c448a27048573b25f7dac1b17379ad713944d2d7743216 |
|
MD5 | 1270a81dbf29ea0eb71fe167b3fc0a32 |
|
BLAKE2b-256 | 1d7e4cf75c8eed30b2196e7f9c537ed4e4dcb920224180856b8fe2555f69eb04 |