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
Metadata
Release files for leadgen 0.1.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 |
|---|---|---|---|---|
| leadgen-0.1.0.tar.gz | 33.4 kB | Without provenance | Details for leadgen-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| leadgen-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for leadgen-0.1.0-py3-none-any.whl |
Total release size: 75.4 kB
Release files / leadgen-0.1.0.tar.gz
| Download URL | leadgen-0.1.0.tar.gz |
|---|---|
| Size | 33.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1360187134d7caa8154ce5245155be2a9fc6aeb7a4869c7e3b05ab42e4323543
|
|
BLAKE2b-256 checksum How to use checksums |
0057d5d4b0319dd291f5a59949c1f6d085368845cc526ca544ed8d9af3917428
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Release files / leadgen-0.1.0-py3-none-any.whl
| Download URL | leadgen-0.1.0-py3-none-any.whl |
|---|---|
| Size | 42.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ad56c8777a2d497d18548e935da381e8dcfd2e16faccdff3c4bcf855d2767d74
|
|
BLAKE2b-256 checksum How to use checksums |
e34e3ec67b85fe7a02bd01b30f579368a32574df5d8322db02d4e311fd4b0052
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Security for leadgen 0.1.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.