Skip to main content

GitHub PayPal Ko-Fi

GT Auth Client

This is the Python GT Auth Client for FastAPI. It is used to authenticate with the GT Auth API.

Installation

You can install the package using pip:

pip install gtauthclient

Usage

An example of how to use the package is shown below:

from fastapi import FastAPI, Depends
from gtauthclient import GTAuthClient

auth = GTAuthClient(key="Your encryption key")
app = FastAPI()

@app.get("/v1/users", dependencies=[Depends(auth.verify_user)])
async def list_users():
    return ["John", "Jane", "Jack"]

Metadata

Release files for gtauthclient 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gtauthclient 0.0.7
File Size Uploaded
gtauthclient-0.0.7.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gtauthclient 0.0.7
File Interpreter ABI Platform
gtauthclient-0.0.7-py3-none-any.whl Python 3 none any Details

Total release size: 7.2 kB

Release files / gtauthclient-0.0.7.tar.gz

Download URL gtauthclient-0.0.7.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b527c268512d33d49a8c0defffe44a8aa3b036ed2f082cc19cbfed89b1010469
BLAKE2b-256 checksum
How to use checksums
712b8e4c9760bffedd06f586123f43387976800ad5d10106a34d2578070edcfb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Release files / gtauthclient-0.0.7-py3-none-any.whl

Download URL gtauthclient-0.0.7-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8723b9f96b863f499ec14dbdff228c9b22407eff6f337add719b1c9177cb8c5a
BLAKE2b-256 checksum
How to use checksums
f3645ee3ac89588396c441c39d5f8b30504f9156fd97c71aeecc5e1c8b40d0e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Release history Release notifications | RSS feed

This release

0.0.7 This release

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page