A Salesforce NPSP data reader for LlamaIndex to empower data-driven fundraising intelligence.
Project description
llama-index-reader-salesforce-npsp
llama-index-reader-salesforce-npsp is a standalone PyPI package that provides a LlamaIndex data reader for Salesforce Nonprofit Success Pack (NPSP), so you can index donor CRM data directly for RAG workflows.
Installation
pip install llama-index-reader-salesforce-npsp
Quickstart
from llama_index.readers.salesforce_npsp import SalesforceNPSPReader
reader = SalesforceNPSPReader(
username="your-salesforce-username",
password="your-salesforce-password",
security_token="your-salesforce-security-token",
domain="login", # use "test" for sandbox
)
# Load top donors using the built-in NPSP query template
documents = reader.load_data(
soql_filter="npo02__TotalOppAmount__c > 1000",
limit=100,
)
# Or fetch specific contacts by Salesforce IDs
vip_documents = reader.load_data(contact_ids=["003XXXXXXXXXXXX", "003YYYYYYYYYYYY"])
print(f"Loaded {len(documents)} Salesforce records.")
Example notebooks
examples/salesforce_npsp_fundraising_qa.ipynb: end-to-end RAG pipeline walkthrough using NPSP fundraising data, from reader ingestion to question-answering over donor records.
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llama_index_reader_salesforce_npsp-0.1.0.tar.gz.
File metadata
- Download URL: llama_index_reader_salesforce_npsp-0.1.0.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea54b471f1d8c1bf6af09defe8b2200a56b991a7474890597c54170b0859a1f3
|
|
| MD5 |
3f1dcb15be0cb252446da0ec6bb040b9
|
|
| BLAKE2b-256 |
120934047fac3879bac6c5b418d49fd1ae0c203764e8647a8013069d68350bab
|
Provenance
The following attestation bundles were made for llama_index_reader_salesforce_npsp-0.1.0.tar.gz:
Publisher:
publish.yml on shivamlalakiya/llama-index-reader-salesforce-npsp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
llama_index_reader_salesforce_npsp-0.1.0.tar.gz -
Subject digest:
ea54b471f1d8c1bf6af09defe8b2200a56b991a7474890597c54170b0859a1f3 - Sigstore transparency entry: 1203646788
- Sigstore integration time:
-
Permalink:
shivamlalakiya/llama-index-reader-salesforce-npsp@7340624bd517b86d70806ad04f5be092174350dc -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/shivamlalakiya
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7340624bd517b86d70806ad04f5be092174350dc -
Trigger Event:
release
-
Statement type:
File details
Details for the file llama_index_reader_salesforce_npsp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: llama_index_reader_salesforce_npsp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79cee11ba2b3930526eb671db8fc63ff70bfda6372107cf52193d5bda519d94f
|
|
| MD5 |
221f5a505db15905d843e659960a7e75
|
|
| BLAKE2b-256 |
75d87e99226db7cc06a2cde2057ad9ccc43a0dcb4a0dd96bc93d9a9595a62ab7
|
Provenance
The following attestation bundles were made for llama_index_reader_salesforce_npsp-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on shivamlalakiya/llama-index-reader-salesforce-npsp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
llama_index_reader_salesforce_npsp-0.1.0-py3-none-any.whl -
Subject digest:
79cee11ba2b3930526eb671db8fc63ff70bfda6372107cf52193d5bda519d94f - Sigstore transparency entry: 1203646789
- Sigstore integration time:
-
Permalink:
shivamlalakiya/llama-index-reader-salesforce-npsp@7340624bd517b86d70806ad04f5be092174350dc -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/shivamlalakiya
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7340624bd517b86d70806ad04f5be092174350dc -
Trigger Event:
release
-
Statement type: