Skip to main content

Paperplane Python SDK (paperplane-sdk)

PyPI version License: MIT

Official Python SDK for Paperplane — the stateless passwordless OTP engine across Email, SMS, and WhatsApp.

Zero external dependencies (uses standard library urllib).


Installation

pip install paperplane-sdk

Quickstart

from paperplane import pp

pp.apiKey = "pp_live_your_key_here"

# 1. Send OTP (auto-detects Email vs WhatsApp/SMS)
res = pp.send("+918279012305")
# or send to email:
# res = pp.send("user@example.com")
print(res)  # {'status': 'delivered', 'to': '+918279012305', ...}

# 2. Verify submitted OTP code
ver = pp.verify("+918279012305", "375666")
if ver.get("verified"):
    print("User authenticated successfully!")
else:
    print("Invalid code:", ver.get("error"))

# 3. Inspect delivery logs
logs = pp.logs(10)
print(logs.get("logs"))

Features

  • 2-line integration: No signup cascades, no database or Redis setup needed.
  • Stateless verification: Fast, secure HMAC-based verification without storing state.
  • Zero dependencies: Clean, lightweight, and works seamlessly with FastAPI, Django, Flask, Celery, and Lambda.

License

MIT © ArcOps Cloud

Metadata

Release files for paperplane-sdk 0.1.0

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

Source distribution (sdist)

Source distribution for paperplane-sdk 0.1.0
File Size Uploaded Provenance Actions
paperplane_sdk-0.1.0.tar.gz 3.6 kB Without provenance Details for paperplane_sdk-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for paperplane-sdk 0.1.0
File Interpreter ABI Platform Actions
paperplane_sdk-0.1.0-py3-none-any.whl Python 3 none any Details for paperplane_sdk-0.1.0-py3-none-any.whl

Total release size: 7.3 kB

Release files / paperplane_sdk-0.1.0.tar.gz

Download URL paperplane_sdk-0.1.0.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
472d1f49a1eec29a3ba99ca57f645562c0d6a3f25d237bd490b775b7eee72772
BLAKE2b-256 checksum
How to use checksums
b23041045ec0a12c32508734a2f0d218ecc025cc10cf8df9eeee00c10b54498b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release files / paperplane_sdk-0.1.0-py3-none-any.whl

Download URL paperplane_sdk-0.1.0-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1094cba5904c6a8cdc8612340ee2418293f7f0fc9fb76fec4212243610da0bf2
BLAKE2b-256 checksum
How to use checksums
8c27bc420faded8d24079c0c3bc2eefd207f23e5bccc86c1106dbf29e743d347
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Security for paperplane-sdk 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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