turnkey-api-key-stamper
API key authentication stamper for Turnkey API
What it is and what it does
Turnkey API Key Stamper is a lightweight authentication utility that signs Turnkey API requests using your API credentials. It takes your public and private keys, accepts a request payload as a JSON string, and generates a cryptographic stamp that proves the request's authenticity to Turnkey's servers. The package depends only on cryptography and supports Python 3.8 through 3.12.
It's designed as a focused tool for developers integrating with Turnkey's API infrastructure. Rather than handling full HTTP request lifecycle management, it provides the core signing operation—you pass it a payload, it returns a stamp you can attach to your request. The package is in active development with a permissive Apache-2.0 license and has seen recent maintenance.
Use it for:
- Authenticate requests to Turnkey API endpoints when building applications that integrate with Turnkey services.
- Sign API payloads in backend services that need to prove identity to Turnkey infrastructure.
- Generate request authentication stamps for multi-step workflows involving Turnkey API calls.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Signs Turnkey API requests with your API key credentials, generating authentication stamps for request authentication.
Yes, if you are building against the Turnkey API. The package is actively maintained, has no known vulnerabilities, installs with minimal friction, and provides the specific authentication mechanism Turnkey requires. The Apache-2.0 license is permissive. Install it as part of your Turnkey SDK integration.
Install
turnkey-api-key-stamper on PyPI
pip
pip install turnkey-api-key-stamperuv
uv add turnkey-api-key-stamperpoetry
poetry add turnkey-api-key-stamperInstalling turnkey-api-key-stamper
Before you install
Active maintenance with a recent release. Single lightweight dependency on cryptography. Low install friction.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions.
Quickstart
from turnkey_api_key_stamper import ApiKeyStamper, ApiKeyStamperConfig
import json
config = ApiKeyStamperConfig(
api_public_key="your_public_key",
api_private_key="your_private_key"
)
stamper = ApiKeyStamper(config)
payload = {"organizationId": ""}
stamp = stamper.stamp(json.dumps(payload))
Verify before relying
- Whether the package handles key rotation or expiration management beyond basic stamping.
- Whether stamp validation/verification is supported or only generation.
- Performance characteristics under high-volume request signing scenarios.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — cryptography |
| Maintenance | actively maintained — 158 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 76,043/month — #14,658 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: turnkey_api_key_stamper-0.1.0-py3-none-any.whl
Keywords: turnkey, api, authentication, stamper
Tags
More Cryptography packages
Certifi provides Mozilla's curated collection…
copyleft · top 100 on PyPI
cryptographycryptography provides cryptographic recipes and…
permissive · top 100 on PyPI
rsaPure-Python RSA encryption, decryption,…
permissive · top 1,000 on PyPI
pyOpenSSLpyOpenSSL wraps OpenSSL's SSL/TLS functionality…
permissive · top 1,000 on PyPI
azure-identityProvides Microsoft Entra ID token-based…
unclear · top 1,000 on PyPI
PyNaClPyNaCl provides Python bindings to libsodium…
permissive · top 1,000 on PyPI
turnkey-httpTurnkey HTTP is an HTTP client for the Turnkey…
permissive · top 15,000 on PyPI
veracode-api-signingSigns HTTP requests destined for the Veracode…
permissive · top 15,000 on PyPI
requests-aws-signAdds AWS V4 request signing to the requests…
permissive · top 5,000 on PyPI
requests-aws4authAdds AWS Signature Version 4 authentication to…
permissive · top 1,000 on PyPI
mastercard-oauth1-signerGenerates OAuth 1.0a-compliant signatures for…
permissive · top 15,000 on PyPI
aws-requests-authAdds AWS Signature Version 4 authentication to…
permissive · top 1,000 on PyPI
edgegrid-pythonProvides an authentication handler for HTTP…
permissive · top 5,000 on PyPI
py-order-utilsGenerates and cryptographically signs orders…
permissive · top 5,000 on PyPI
turnkey-sdk-typesProvides generated Pydantic type definitions…
permissive · top 15,000 on PyPI
py-builder-signing-sdkGenerates cryptographically signed HTTP headers…
permissive · top 15,000 on PyPI