HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/Users/fred/anaconda3/Lib/site-packages/pkce-1.0.3.dist-info/METADATA
Metadata-Version: 2.1
Name: pkce
Version: 1.0.3
Summary: PKCE Pyhton generator.
Home-page: https://github.com/RomeoDespres/pkce
Author: Roméo Després
Author-email: [email protected]
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Typing :: Typed
Requires-Python: >=3
Description-Content-Type: text/markdown
License-File: LICENSE

# pkce (Proof Key for Code Exchange)

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


## Installation

```bash
pip install pkce
```

## Usage

```python
>>> import pkce
>>> code_verifier, code_challenge = pkce.generate_pkce_pair()
```

```python
>>> 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](https://tools.ietf.org/html/rfc7636).