Skip to main content

上海海事大学校园网自动认证工具

Project description

上海海事大学-校园网-自动认证

Logo

Python 3.5+ License

GUI

使用文档

请参考 使用文档

支持平台

  • Windows命令行(exe、pip)
  • macOS命令行(二进制文件、pip)
  • Linux命令行(pip)
  • Docker镜像

GUI Coming Soon...

Features

  • 自动认证
  • 程序记录日志

使用方法

直接使用二进制可执行文件(推荐)

Docker(推荐在服务器中使用这种方式)

https://hub.docker.com/r/a645162/shmtu-auth

docker pull registry.cn-shanghai.aliyuncs.com/a645162/shmtu-auth:latest

直接运行Python源代码(请手动安装依赖库)

Windows

.\start.ps1

Linux

chmod +x start.sh
./start.sh

环境变量

必选配置项:

学号列表中,学号之间用;分隔

  • SHMTU_AUTH_USER_LIST : {学号1};{学号2}
  • SHMTU_AUTH_USER_PWD_{学号1} : {学号1的密码}
  • SHMTU_AUTH_USER_PWD_{学号2} : {学号2的密码}
  • SHMTU_AUTH_USER_PWD_ENCRYPT_{学号1} : {学号1的密码的是否为密文,密文为1,否则不用填}

可选配置项:

  • SHMTU_MACHINE_NAME: 服务器名称
  • SHMTU_AUTH_TIME_INTERVAL: 认证状态检测时间间隔

开发指南

推荐使用uv进行包管理,也可以使用AnacondaMiniconda创建虚拟环境。 推荐使用学生认证的Jetbrains PyCharm Professional进行开发。

因为许多开发步骤已经在PyCharm中配置好,因此推荐使用PyCharm进行开发。

GUI说明

Windows下AMD显卡显示Mica云母特效会有问题,因此全局关闭了Mica云母特效。

macOS x64下Python版本必须小于等于3.11,否则无法安装PySide6。

License

本程序使用GPL-3.0协议开源。

GPLv3协议是我非常喜欢的一个协议,我的大部分程序均基于GPLv3协议开源。

此外,本程序使用到的QFluentWidgets库恰好也是基于GPLv3协议开源的。

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

shmtu_auth-2.0.7.tar.gz (67.3 kB view details)

Uploaded Source

Built Distribution

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

shmtu_auth-2.0.7-py3-none-any.whl (89.3 kB view details)

Uploaded Python 3

File details

Details for the file shmtu_auth-2.0.7.tar.gz.

File metadata

  • Download URL: shmtu_auth-2.0.7.tar.gz
  • Upload date:
  • Size: 67.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for shmtu_auth-2.0.7.tar.gz
Algorithm Hash digest
SHA256 1aaf2c9ba7326f84c4faef71077bb28ecb1522ade2e49cb85f6bbf7b90573944
MD5 3ee871213f9d07e2f7bb7f33611bbcb9
BLAKE2b-256 364cd11c7d18f3e0bb5fe913a123cc70b492ba84f2448f1867b69a77fa5014bf

See more details on using hashes here.

File details

Details for the file shmtu_auth-2.0.7-py3-none-any.whl.

File metadata

  • Download URL: shmtu_auth-2.0.7-py3-none-any.whl
  • Upload date:
  • Size: 89.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for shmtu_auth-2.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 496698f3f6e240eb5c2f00e3f4a7eefef056868259708e05ece290bbf202be5d
MD5 0d05476e5306748385ef8a3adea17a81
BLAKE2b-256 6f9e9b5a8ba645c1f02eb802fdc1cd2be9377ca26f5fac374b572e57b3d7179c

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