pkce (Proof Key for Code Exchange)
Simple Python module to generate PKCE code verifier and code challenge.
Installation
pip install pkce
Usage
>>> 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.
Release files for pkce 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pkce-1.0.3.tar.gz | 2.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pkce-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.0 kB
Release files / pkce-1.0.3.tar.gz
| Download URL | pkce-1.0.3.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9775fd76d8a743d39b87df38af1cd04a58c9b5a5242d5a6350ef343d06814ab6
|
|
BLAKE2b-256 checksum How to use checksums |
29eaddd845c2ec21bf1e8555c782b32dc39b82f0b12764feb9f73ccbb2470f13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.9
|
Release files / pkce-1.0.3-py3-none-any.whl
| Download URL | pkce-1.0.3-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
55927e24c7d403b2491ebe182b95d9dcb1807643243d47e3879fbda5aad4471d
|
|
BLAKE2b-256 checksum How to use checksums |
155152c22ec0812d25f5bf297a01153604bfa7bfa59ed66f6cd8345beb3c2b2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.9
|