Skip to main content

locksmith-py

Official Python 3 client for the Locksmith public auth API.

Install

pip install locksmith-py

Requirements

  • Python 3.10+
  • API key prefix lsm_live_ or lsm_sbx_ (environment is derived automatically).

Quick start

import os
from locksmith import LocksmithClient

c = LocksmithClient(api_key=os.environ["LOCKSMITH_API_KEY"])

result = c.sign_up(email="user@example.com", password="secure-password")
print(result["user"]["id"], result["accessToken"])

me = c.get_user(result["accessToken"])

Local JWT verification

payload = c.verify_token(access_token, public_key_pem)

License

MIT

Metadata

Release files for locksmith-py 9.8.8

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

Source distribution (sdist)

Source distribution for locksmith-py 9.8.8
File Size Uploaded Provenance Actions
locksmith_py-9.8.8.tar.gz 4.1 kB Without provenance Details for locksmith_py-9.8.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for locksmith-py 9.8.8
File Interpreter ABI Platform Actions
locksmith_py-9.8.8-py3-none-any.whl Python 3 none any Details for locksmith_py-9.8.8-py3-none-any.whl

Total release size: 8.8 kB

Release files / locksmith_py-9.8.8.tar.gz

Download URL locksmith_py-9.8.8.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5c1994818abba935681595e18f148ab272b698963d35d7fdbaf995e5fc0a2499
BLAKE2b-256 checksum
How to use checksums
6292841fbf5dbf0ccd15626f7c0b5cce08f013cb22588ca227caaaf91220175b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / locksmith_py-9.8.8-py3-none-any.whl

Download URL locksmith_py-9.8.8-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f39671ad4176816b5efa691c3907d741bb36f47eb0e1a566926ff896094f0077
BLAKE2b-256 checksum
How to use checksums
c4420e9281d08bdf77e08b1ac0b83769e0fc5c5b34a16347bae6d5dd501c2ed0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Security for locksmith-py 9.8.8

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