empedia-captcha (Python)
SDK für EMPEDIAcaptcha – Python ≥ 3.8, nur Standardbibliothek.
from empedia_captcha import EmpediaCaptcha
captcha = EmpediaCaptcha.from_env() # EMPEDIA_CAPTCHA_SITEKEY / _SECRET / _BASE
r = captcha.verify(request.form.get("empedia-captcha-token"), "contact")
if not r.success:
abort(400)
v = captcha.check({"ip": ip, "email": email, "message": text}) # Inhaltsprüfung (ab Paket „Pro“)
if v.is_blocked: ...
elif v.needs_review: ...
Das Secret gehört nur auf den Server. fail_open=True lässt Anfragen durch, wenn der Dienst nicht erreichbar ist (Standard: ablehnen). Auch bei erschöpftem Kontingent und fail_open werden Anfragen ohne Token durchgelassen (captcha.quota_exceeded()).
Widget-HTML: captcha.script_tag() einmal je Seite, captcha.widget_tag("contact") im Formular.
Ohne Browser
captcha.get_token('api', 'https://shop.example.com') rechnet die Aufgabe selbst (Server-zu-Server). Macht offene Endpunkte für Massenabfragen teuer; prüft keine Menschen.
Metadata
Release files for empedia-captcha 1.0.2
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 | |
|---|---|---|---|---|
| empedia_captcha-1.0.2.tar.gz | 5.0 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| empedia_captcha-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.5 kB
Release files / empedia_captcha-1.0.2.tar.gz
| Download URL | empedia_captcha-1.0.2.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3dab919b2ac7a92d2d9d430b22b2a420817fee3b40e908f88c14e9ac56682755
|
|
BLAKE2b-256 checksum How to use checksums |
a3529e892df2dedf48ee001d85112d0c4170cf5aa25ffc30c37389b7c1cb9275
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 19, 2026.
Transparency logRelease files / empedia_captcha-1.0.2-py3-none-any.whl
| Download URL | empedia_captcha-1.0.2-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4d2ae203c18ea6d6f2b50333ca6be4bc7cf6565feddf46ec2cfe494f1197573d
|
|
BLAKE2b-256 checksum How to use checksums |
bf9b947225fb0595695c4e9393d46a9001da982f950a44254ea5500cbe3fe7c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 19, 2026.
Transparency logSecurity for empedia-captcha 1.0.2
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for empedia_captcha-1.0.2.tar.gz
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 Oct 19, 2026.
Transparency logA 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.