Python client for the SignupCheck anti-abuse API
Project description
signupcheck-sdk
Python client for the SignupCheck anti-abuse API — block disposable emails, VPNs, proxies, bots, and malicious IPs at signup.
Install
pip install signupcheck-sdk
Requires Python 3.9+.
Quick start
import os
import signupcheck
from signupcheck.models.evaluate_signup_request import EvaluateSignupRequest
cfg = signupcheck.Configuration(host="https://api.signupcheck.com")
cfg.api_key["API Key"] = os.environ["SIGNUPCHECK_API_KEY"]
with signupcheck.ApiClient(cfg) as client:
api = signupcheck.DecisionEngineApi(client)
resp = api.evaluate_signup(EvaluateSignupRequest(
email="user@example.com",
ip="1.2.3.4",
))
print(resp.decision, resp.risk_score)
The client reads the API key via the X-API-Key header. To use Bearer auth instead:
cfg.api_key["Bearer"] = os.environ["SIGNUPCHECK_API_KEY"]
cfg.api_key_prefix["Bearer"] = "Bearer"
Available APIs
| Class | Endpoint prefix | Purpose |
|---|---|---|
DecisionEngineApi |
/v1/evaluate/signup |
ALLOW / CHALLENGE / BLOCK decision |
ChecksApi |
/v1/evaluate/{email,ip} |
Standalone email / IP risk checks |
ListsApi |
/v1/lists |
Manage allow / block lists |
RulesApi |
/v1/rules |
Manage custom rules |
FeedbackApi |
/v1/feedback/signup |
Submit outcome feedback |
ObservabilityApi |
/v1/events, /v1/metrics/signup |
Query events and metrics |
AccountApi |
/v1/me |
Validate API key (no credit charge) |
Development
This package is generated from the OpenAPI spec in the signupcheck API repo. To regenerate after a schema change, run make sdk-python in the API repo.
Local build and test from this directory:
make build # python -m build → dist/
make check # twine check dist/*
License
Proprietary. See the repository for terms.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file signupcheck_sdk-0.1.0.tar.gz.
File metadata
- Download URL: signupcheck_sdk-0.1.0.tar.gz
- Upload date:
- Size: 63.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11a60facdc1e596a0793198bc5c31d6a725dc3c46b7ce2a7e63cb9f6dfd16971
|
|
| MD5 |
a0a4884c0df0751e1a7ab521d1d0a695
|
|
| BLAKE2b-256 |
5ad69a97a8c2a3e5c17aeba05cdaeec96949ba50e9d06a5b03684d90328d3999
|
File details
Details for the file signupcheck_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: signupcheck_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 171.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17ab8479bbf134203c14b430853aa476d77eab0ca30b4d7f96e276f693a9dc7e
|
|
| MD5 |
f378c5f8c5e3111d094bff58f242f1e2
|
|
| BLAKE2b-256 |
e32781fc6b2097834436c9fd140d4925fb202a471eaf7a108cbd5dd99e0d817a
|