A lightweight package for makeing authorized requests to Google Cloud Functions.
Project description
GFunction Auth
Make authorized, lightweight calls to Cloud Functions in Python.
Install
pip install gfunction-auth
Usage
To make a simple post request to a Cloud Function with url fn_url
from gfunction_auth import gfunction_post
data = {'example': 42}
response = gfunction_post(fn_url, data)
Note, the caller of the function must be registered by GCP.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gfunction-auth-0.0.4.tar.gz
(1.8 kB
view details)
Built Distribution
File details
Details for the file gfunction-auth-0.0.4.tar.gz
.
File metadata
- Download URL: gfunction-auth-0.0.4.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33ab9cdc0b961eb3b5e84a3211ecc55c658c4e187dff843a96039cd5073626ff |
|
MD5 | 1a917844c3e8d52f51c6d95893cf64d3 |
|
BLAKE2b-256 | d6dc75abf14e6f94c0520259a257d34f4eb8cbd90964ec1f996863ba7d7f6d43 |
File details
Details for the file gfunction_auth-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: gfunction_auth-0.0.4-py3-none-any.whl
- Upload date:
- Size: 1.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab3109ab9bf75a43f6f8c138451498c3a7e3b25122bade9a8a2fd2c8015ff1ef |
|
MD5 | 1027603b21db9ed470c9a3d91e26ddc7 |
|
BLAKE2b-256 | 383ee4aa689c69166c2f97813cfc46fa06c30e449c6d76381b0b312093d9e1c3 |