Skip to main content

python client of c.a.s

Project description

CAS Python Client

caspy make usage of CAS super easy

in this version of caspy you have:

  • using function instead of HTTP request

in next version you will have:

  • enable over Websocket communication instead of REST

Installation

pip3 install caspy

Usage

from py_cas.CAS import CAS
from caspy.Models import InitConfig

conf = InitConfig(service_address='CAS_HOST:PORT')
client = CAS(conf=conf)
result = client.validate_token("user_token")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

py_cas-0.0.2-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page