Skip to main content

llama-index readers snscrape_twitter integration

Project description

Snscrape twitter Loader

pip install llama-index-readers-snscrape-twitter

This loader loads documents from Twitter using the Snscrape Python package.

Usage

Here's an example usage of the SnscrapeReader.

import os

from llama_index.readers.snscrape_twitter import SnscrapeTwitterReader

loader = SnscrapeReader()
documents = loader.load_data(username="elonmusk", num_tweets=10)

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

File details

Details for the file llama_index_readers_snscrape_twitter-0.3.0.tar.gz.

File metadata

File hashes

Hashes for llama_index_readers_snscrape_twitter-0.3.0.tar.gz
Algorithm Hash digest
SHA256 1403279f32ed2e0296ac02cdf2a444b2fa2f4d26b84dc609f75a590114b15c70
MD5 b41bf73ff482bdb79261ae1e7664acf5
BLAKE2b-256 e0bc34625efacea135ff9c33264be790173bde6169c80bd02556b1bffd300b36

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_readers_snscrape_twitter-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e3af9aa9d2ffc6b793ef966da121c9a53e997c199054a363fbc83125b736d67f
MD5 54c80d0602f46f85ce8633b5758157f3
BLAKE2b-256 fa6c6ef2d0bb1e73c0d81db2ff137c31dd456ede8b4244e8d660221c0d2cbfc9

See more details on using hashes here.

Supported by

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