realtimex-lead-search
Lead discovery and qualification flows for RealtimeX. Local-first scraping and storage; user-selected LLM (cloud or local). No auto-switching: cloud failures surface to the user.
Structure
realtimex_lead_search/lead_search_agent.py— entry point (run viauv run -m realtimex_lead_search.lead_search_agent).realtimex_lead_search/lead_search/— modules for scraping, LLM, extraction, scoring, data, cache, strategies, anti-detection, models, prompts.docs/realtimex-lead-search-module-io.md— module IO reference.tests/— pytest coverage for strategies, extraction/scoring, and persistence.
Getting started
- Use
uv run -m realtimex_lead_search.lead_search_agent --payload payload.jsonto execute (or pipe JSON to stdin). No pip install inside RealtimeX flows. - Payload shape (extra fields ignored):
{
"keywords": ["plumber near me"],
"locations": ["seattle"],
"sources": ["google_maps"],
"pages_per_source": 2,
"filters": {"categories": ["plumbing"], "must_have_phone": true},
"llm": {"provider": "openai", "model": "gpt-4.1-mini", "base_url": "https://api.openai.com", "api_key": "sk-..."},
"storage": {"sqlite_path": "./data/lead_search.db", "json_export": true}
}
- Optional:
use_llm_extraction: trueor CLI--use-llmto enable LLM parsing in addition to heuristics. - Keep LLM selection user-driven; do not auto-fallback between providers.
Notes
- Keep everything local except the user-selected LLM call.
- Respect robots/delays; skip captchas rather than solving.
Metadata
Release files for realtimex-lead-search 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| realtimex_lead_search-0.2.0.tar.gz | 21.0 kB | Without provenance | Details for realtimex_lead_search-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| realtimex_lead_search-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for realtimex_lead_search-0.2.0-py3-none-any.whl |
Total release size: 44.5 kB
Release files / realtimex_lead_search-0.2.0.tar.gz
| Download URL | realtimex_lead_search-0.2.0.tar.gz |
|---|---|
| Size | 21.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bde9b08c133d2b28aab777387dbb4c7423526dda6e3f02ec7babb8d65f706d60
|
|
BLAKE2b-256 checksum How to use checksums |
5bea5f53cb49db2771bfbcde31552f4793dad166aff3dfffc9dfc2a476cbaaf6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Release files / realtimex_lead_search-0.2.0-py3-none-any.whl
| Download URL | realtimex_lead_search-0.2.0-py3-none-any.whl |
|---|---|
| Size | 23.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d8459b4f213c4cad2a9543dd40428c3ab0f4e9382a40e7eabfed5af699729f7d
|
|
BLAKE2b-256 checksum How to use checksums |
8a276867ae58e810a142358c333acb3a14288f20b2596de3747a65af4994b7c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Security for realtimex-lead-search 0.2.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.