skillfed

turnkey-api-key-stamper

API key authentication stamper for Turnkey API

turnkey-api-key-stamper v0.1.0 76.0K downloads/30d#14,658 on PyPI0
Permissive license Apache-2.0 Active released

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-stamper

uv

uv add turnkey-api-key-stamper

poetry

poetry add turnkey-api-key-stamper

Installing 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

Development Status :: 3 - AlphaIntended Audience :: DevelopersProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

turnkey api authenticationapi key signingrequest stamperturnkey sdkapi credential authentication
authenticationapi-client

More Cryptography packages

certifi

Certifi provides Mozilla's curated collection…

copyleft · top 100 on PyPI

cryptography

cryptography provides cryptographic recipes and…

permissive · top 100 on PyPI

rsa

Pure-Python RSA encryption, decryption,…

permissive · top 1,000 on PyPI

pyOpenSSL

pyOpenSSL wraps OpenSSL's SSL/TLS functionality…

permissive · top 1,000 on PyPI

azure-identity

Provides Microsoft Entra ID token-based…

unclear · top 1,000 on PyPI

PyNaCl

PyNaCl provides Python bindings to libsodium…

permissive · top 1,000 on PyPI

turnkey-http

Turnkey HTTP is an HTTP client for the Turnkey…

permissive · top 15,000 on PyPI

veracode-api-signing

Signs HTTP requests destined for the Veracode…

permissive · top 15,000 on PyPI

requests-aws-sign

Adds AWS V4 request signing to the requests…

permissive · top 5,000 on PyPI

requests-aws4auth

Adds AWS Signature Version 4 authentication to…

permissive · top 1,000 on PyPI

mastercard-oauth1-signer

Generates OAuth 1.0a-compliant signatures for…

permissive · top 15,000 on PyPI

aws-requests-auth

Adds AWS Signature Version 4 authentication to…

permissive · top 1,000 on PyPI

edgegrid-python

Provides an authentication handler for HTTP…

permissive · top 5,000 on PyPI

py-order-utils

Generates and cryptographically signs orders…

permissive · top 5,000 on PyPI

turnkey-sdk-types

Provides generated Pydantic type definitions…

permissive · top 15,000 on PyPI

py-builder-signing-sdk

Generates cryptographically signed HTTP headers…

permissive · top 15,000 on PyPI