Skip to main content

StripeDocs Loader

pip install llama-index-readers-stripe-docs

This loader asynchronously loads data from the Stripe documentation. It iterates through the Stripe sitemap to get all /docs references.

It is based on the Async Website Loader.

Usage

from llama_index.core import VectorStoreIndex
from llama_index.readers.stripe_docs import StripeDocsReader

loader = StripeDocsReader()
documents = loader.load_data()

index = VectorStoreIndex.from_documents(documents)

query_engine = index.as_query_engine()
query_engine.query("How do I accept payments on my website?")

The StripeDocsReader allows you to return plain text docs by setting html_to_text=True. You can also adjust the maximum concurrent requests by setting limit=10.

Filtering

You can filter pages from the Stripe sitemap by adding the filters argument to the load_data method. This allows you to control what pages from the Stripe website, including documentation, will be loaded.

The default filters are set to ["/docs"] to scope everything to docs only.

documents = loader.load_data(filters=["/terminal"])

Metadata

Release files for llama-index-readers-stripe-docs 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llama-index-readers-stripe-docs 0.6.0
File Size Uploaded
llama_index_readers_stripe_docs-0.6.0.tar.gz 15.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for llama-index-readers-stripe-docs 0.6.0
File Interpreter ABI Platform
llama_index_readers_stripe_docs-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 31.3 kB

Release files / llama_index_readers_stripe_docs-0.6.0.tar.gz

Download URL llama_index_readers_stripe_docs-0.6.0.tar.gz
Size 15.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b0332f352c27d2d665b0f4de1574468582699577f1e3aeefeb98425d304003cd
BLAKE2b-256 checksum
How to use checksums
6b229a14d4b8c60b06515dea94072bc1b71de4681a4899967dd6717c6200832b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","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}

Release files / llama_index_readers_stripe_docs-0.6.0-py3-none-any.whl

Download URL llama_index_readers_stripe_docs-0.6.0-py3-none-any.whl
Size 15.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5238b4199d4aedde3f4aba39bd3116d71a81b86abdd8097bc1a69514d420b9ca
BLAKE2b-256 checksum
How to use checksums
a8b63ecc094f44e6eb59e7d9e6d0d1d461763acfccdb5d44bf178832c88791ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","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}

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page