Skip to main content

PKCE Pyhton generator.

Project description

pkce (Proof Key for Code Exchange)

Simple Python module to generate PKCE code verifier and code challenge.


pip install pkce


>>> import pkce
>>> code_verifier, code_challenge = pkce.generate_pkce_pair()
>>> import pkce
>>> code_verifier = pkce.generate_code_verifier(length=128)
>>> code_challenge = pkce.get_code_challenge(code_verifier)

Additional information

Spec for the PKCE protocol can be found here.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pkce, version 1.0.3
Filename, size File type Python version Upload date Hashes
Filename, size pkce-1.0.3-py3-none-any.whl (3.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pkce-1.0.3.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page