Skip to main content

generect (Python SDK)

pip install generect
from generect import Generect

g = Generect(api_key="YOUR_API_TOKEN")  # or env GENERECT_API_KEY

count = g.search.database_leads_count(job_titles=["marketing manager"], locations=["Germany"])
leads = g.search.database_leads(job_titles=["marketing manager"], locations=["Germany"], per_page=10)
print(len(leads.data), "leads for", leads.amount_charged, "USD")

email = g.email.find(lead_id=leads.data[0]["id"])   # billed only if a valid email is found

job = g.enrich.database_leads_bulk(items=[{"linkedin_url": u} for u in urls])  # ≤50 items
done = g.enrich.wait_leads_bulk(job.job_id)          # polls until completed / error
  • Automatic retries with exponential backoff on 429/5xx (configurable max_retries).
  • Typed errors: InsufficientBalanceError (402), RateLimitError (429), AuthenticationError (401)…
  • Every response exposes its real USD cost: resp.amount_charged.
  • Any endpoint, even future ones: g.request("POST", "/search/database/leads/", json={...}).

Docs: https://docs.generect.com · Errors: https://docs.generect.com/api-reference/errors

Release files for generect 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for generect 0.1.1
File Size Uploaded
generect-0.1.1.tar.gz 6.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for generect 0.1.1
File Interpreter ABI Platform
generect-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.1 kB

Release files / generect-0.1.1.tar.gz

Download URL generect-0.1.1.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
fb01c0062438e7e013ed452f1f6291b50fbd61dc0e78e338c6c851458c42bb0d
BLAKE2b-256 checksum
How to use checksums
9b713210de9286bcce7869602478ead931c4795e3e1712d3e2d0688dd7117766
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 14, 2026.

Transparency log

Release files / generect-0.1.1-py3-none-any.whl

Download URL generect-0.1.1-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
310d7beb9c49c9dedf3be83762d83ca690e6a7c73aca152e72b4aa21ce78b76c
BLAKE2b-256 checksum
How to use checksums
5fff622240af0b3b37b4ba4bf99daaa4a7a908206b1f5a89aa63446882d4eb0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 14, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.1 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