Python package with useful stuff for projects in Randers kommune digitalisering
Project description
RK-digitalisering-package
Python package with useful stuff for projects in Randers kommune digitalisering
Classes
ManagedOAuth2Session (sync)
A drop-in replacement for requests.Session/OAuth2Session that handles OAuth2 token acquisition and refresh for both client credentials and refresh token flows.
Example:
from rkdigi.syncpkg import ManagedOAuth2Session
session = ManagedOAuth2Session(
token_url="https://example.com/oauth/token",
client_id="your-client-id",
client_secret="your-client-secret"
)
res = session.get("https://example.com/api/data")
print(res.json())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rk_digi-0.2.0.tar.gz.
File metadata
- Download URL: rk_digi-0.2.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d782dcfb3a5387170241ffbe2defee46a129e857cf0d935e0df8dee41bfe813
|
|
| MD5 |
d2cf7873dfcb8aefdd78cddab656ccf2
|
|
| BLAKE2b-256 |
891932469c816daf0201ba491c4daa5c6e18d57a38e8c413b224aacfdb11a951
|
File details
Details for the file rk_digi-0.2.0-py3-none-any.whl.
File metadata
- Download URL: rk_digi-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d25de7f7beb486731fc7ee3884cd0615e15c2adcee6ba5c0d0a7ef986378b253
|
|
| MD5 |
e15776cdee6dca5b57a9a52dc41d1dfa
|
|
| BLAKE2b-256 |
f9c49e5a294ed216e65c2fab14cd8cc82f66e8f8c8aef40c202bb32e04e3f809
|