Skip to main content

scut login server

Project description

  1. Purpose: login the Unified identity authentication system of South China University of Technology

     Warning: Do not use for illegal purposes!
    
  2. Requirements: execjs

     pip install pyexecjs
    
  3. Call function:

    (1) Method:

     from scutlogin.login import *
     GetLoginState().login(un, pd, server_url)
    

    (2) Parameter description:

     un --> student number
     pd --> student password
     server_url --> service url
    

    (3) Rules of service url:

     https://sso.scut.edu.cn/cas/login? --> location of unified identity authentication system
     service=server_url --> the server url you need
    

    (4) Examples:

     IAmOK --> https://sso.scut.edu.cn/cas/login?service=https://iamok.scut.edu.cn/cas/login
     Integrated information service --> https://sso.scut.edu.cn/cas/login?service=https://my.scut.edu.cn/up/
     Student educational administration system (2018) --> https://sso.scut.edu.cn/cas/login?service=http://jw2018.jw.scut.edu.cn/sso/driotlogin
    

    (5) If login is successful:

     Directly use <r.post> or <r.get> to send request
    

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

scutlogin-0.0.1.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scutlogin-0.0.1-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file scutlogin-0.0.1.tar.gz.

File metadata

  • Download URL: scutlogin-0.0.1.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.23.0 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.6.3

File hashes

Hashes for scutlogin-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a02cedb6bc5a8561e4111d2508b2636057bb82cfe3d26cb8b04fe062e13b4574
MD5 76757a355e2e33369afda7099c47cf1e
BLAKE2b-256 3f2d3e6db2bc0e5c71a27d16ee0f085286da406482104f5fe5462d5dfd0cf708

See more details on using hashes here.

File details

Details for the file scutlogin-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: scutlogin-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.23.0 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.6.3

File hashes

Hashes for scutlogin-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a653a2bd534da24ada2622e0c2be483c7c72085b86b2a07495c984b944518738
MD5 0770032a26c8ea6d5df42f4148266e2e
BLAKE2b-256 75744d93b7ab2bec1ec863ec47d55f0eeb4ca546b15ecf1556ff1ed73a68fb83

See more details on using hashes here.

Supported by

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