Skip to main content

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()  # defaults to https://signupcheck.com
# or explicitly: cfg = signupcheck.Configuration(host="https://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.

Important for generation: Ensure the OpenAPI spec declares the production server as https://signupcheck.com (the SDK default). The generator templates default to http://localhost:8000 when no servers are defined in the spec. After generation, verify that py/signupcheck/configuration.py and ts/src/runtime.ts contain the correct default.

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.

Metadata

Release files for signupcheck-sdk 0.1.5

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

Source distribution (sdist)

Source distribution for signupcheck-sdk 0.1.5
File Size Uploaded Provenance Actions
signupcheck_sdk-0.1.5.tar.gz 65.3 kB Without provenance Details for signupcheck_sdk-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for signupcheck-sdk 0.1.5
File Interpreter ABI Platform Actions
signupcheck_sdk-0.1.5-py3-none-any.whl Python 3 none any Details for signupcheck_sdk-0.1.5-py3-none-any.whl

Total release size: 243.0 kB

Release files / signupcheck_sdk-0.1.5.tar.gz

Download URL signupcheck_sdk-0.1.5.tar.gz
Size 65.3 kB
Tags Source
SHA-256 checksum
How to use checksums
999ce36594e07425eb532b3b8975e4ee4c7d74eb448d9436499f74deadb846b9
BLAKE2b-256 checksum
How to use checksums
1ea6fb390a6b532a2c81ce51ce609b43808d40be14b99359c3f36da9c9779365
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Release files / signupcheck_sdk-0.1.5-py3-none-any.whl

Download URL signupcheck_sdk-0.1.5-py3-none-any.whl
Size 177.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
28c76f466cb1adfe17b63a15b0db8c396d1bab63fe5b1b2eda75e55543fe00c3
BLAKE2b-256 checksum
How to use checksums
3292c31aa897c0464d1d6e881a067f3c9d8f5284c6b0c0b94c42ea7ba69f02ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Security for signupcheck-sdk 0.1.5

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.

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