Skip to main content

Firestore Loader

pip install llama-index-readers-firestore

This loader loads from a Firestore collection or a specific document from Firestore. The loader assumes your project already has the google cloud credentials loaded. To find out how to set up credentials, see here.

Usage

To initialize the loader, provide the project-id of the google cloud project.

Initializing the reader

from llama_index.readers.firestore import FirestoreReader

reader = FirestoreReader(project_id="<Your Project ID>")

Loading Data from a Firestore Collection

Load data from a Firestore collection with the load_data method: The collection path should include all previous documents and collections if it is a nested collection.

documents = reader.load_data(collection="foo/bar/abc/")

Loading a Single Document from Firestore

Load a single document from Firestore with the load_document method:

document = reader.load_document(document_url="foo/bar/abc/MY_DOCUMENT")

Note: load_data returns a list of Document objects, whereas load_document returns a single Document object.

This loader is designed to be used as a way to load data into LlamaIndex.

Metadata

Release files for llama-index-readers-firestore 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-firestore 0.6.0
File Size Uploaded Provenance Actions
llama_index_readers_firestore-0.6.0.tar.gz 4.4 kB Without provenance Details for llama_index_readers_firestore-0.6.0.tar.gz

Built distribution (wheel)

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

Total release size: 8.4 kB

Release files / llama_index_readers_firestore-0.6.0.tar.gz

Download URL llama_index_readers_firestore-0.6.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
356a24ba4eed4aa4d4ff038058aadf3eee4dc524edc8adfaaee76df7382a3ec4
BLAKE2b-256 checksum
How to use checksums
4ecab301340615f06d1c186829c832e2ec5a1da7435228f9f6fd690af75b2b48
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_firestore-0.6.0-py3-none-any.whl

Download URL llama_index_readers_firestore-0.6.0-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
af99daa810091f632291320c0add14c0966a99d38c079e4246c15efbcfbf566d
BLAKE2b-256 checksum
How to use checksums
a22ee3f05b56741f8ad913cff84abe1c0fd1bcabca3910552437e33e0cdd1fba
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}

Security for llama-index-readers-firestore 0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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