Skip to main content

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 via uv 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

  1. Use uv run -m realtimex_lead_search.lead_search_agent --payload payload.json to execute (or pipe JSON to stdin). No pip install inside RealtimeX flows.
  2. 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}
}
  1. Optional: use_llm_extraction: true or CLI --use-llm to enable LLM parsing in addition to heuristics.
  2. 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)

Source distribution for realtimex-lead-search 0.2.0
File Size Uploaded
realtimex_lead_search-0.2.0.tar.gz 21.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for realtimex-lead-search 0.2.0
File Interpreter ABI Platform
realtimex_lead_search-0.2.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

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