Skip to main content

Lead generation pipeline for marketing audit services — discover, score, and rank websites by marketing opportunity

Project description

leadgen

Lead generation pipeline for marketing audit services.

Discovers hundreds of websites via Google/Bing scraping, scores them by marketing opportunity (the worse their marketing, the higher the score), and stores everything in a local SQLite database ranked and ready for outreach.

Designed as the upstream stage of ai-marketing-claude.

Install

pip install leadgen

Quick start

# Copy agents and skills to your project
leadgen init

# Run the full pipeline
leadgen run "agencias de marketing digital" --geo "Buenos Aires" --max 200

# See ranked results
leadgen rank --tier A

# Export to CSV
leadgen export --output leads.csv --min-tier B

Pipeline

Google/Bing SERP scraping
        ↓
Pre-screen  (fast, 8s timeout — filters parked domains and good-marketing sites)
        ↓
Full analysis  (SEO, CTAs, tracking, trust signals)
        ↓
leads.db  (SQLite, persists across runs)
        ↓
CSV export  →  ai-marketing-claude

Scoring

opportunity_score = 100 - marketing_quality

A site with no analytics, no CTAs, and no meta description scores opportunity: 85 — that's a Tier A lead.

Tier Range Action
A 75–100 Contact within 48h
B 55–74 Contact this week
C 35–54 Nurture list
D 0–34 Discard

Commands

leadgen run "<topic>"       # Full pipeline
leadgen discover "<topic>"  # Discovery only (no analysis)
leadgen rank                # Show ranked leads
leadgen rank --tier A       # Filter by tier
leadgen stats               # DB statistics
leadgen export              # Export to CSV
leadgen init                # Copy agents/skills to current directory

Requirements

  • Python 3.11+
  • aiohttp, aiosqlite

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

leadgen-0.1.0.tar.gz (33.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

leadgen-0.1.0-py3-none-any.whl (42.0 kB view details)

Uploaded Python 3

File details

Details for the file leadgen-0.1.0.tar.gz.

File metadata

  • Download URL: leadgen-0.1.0.tar.gz
  • Upload date:
  • Size: 33.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for leadgen-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1360187134d7caa8154ce5245155be2a9fc6aeb7a4869c7e3b05ab42e4323543
MD5 3d95ea75199275716b84540bc55fbfb8
BLAKE2b-256 0057d5d4b0319dd291f5a59949c1f6d085368845cc526ca544ed8d9af3917428

See more details on using hashes here.

File details

Details for the file leadgen-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: leadgen-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 42.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for leadgen-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ad56c8777a2d497d18548e935da381e8dcfd2e16faccdff3c4bcf855d2767d74
MD5 48e009dcdd8070a5085d8f621e512bb0
BLAKE2b-256 e34e3ec67b85fe7a02bd01b30f579368a32574df5d8322db02d4e311fd4b0052

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page