Soonchunhyang University Authentication.
Project description
순천향대학교 재학생 인증 라이브러리 입니다.
개발 기간 : 2024.11.01 ~ 2023.11.08
프로젝트 소개
파이썬으로 순천향대학교 크롤링을 이용해 학번 + 비밀번호를 통한 재학생 정보를 알아오는 라이브러리입니다.
개발환경
- 운영체제 : Windows 11 x64 (24H2, 26100.2033)
- 사용 언어 : Python 3.13.0
- 요구 라이브러리 : BeautifulSoup4(4.12.3), requests(2.32.3), rsa(4.9)
설치하기
라이브러리 설치
pip install SCHU_Auth
실행하기
바로 실행하기
from schu_auth.auth import SCHUAuth
auth = SCHUAuth()
user_id = 'your_user_id'
password = 'your_password'
user_info = auth.authenticate(user_id, password)
print("이름:", user_info.name)
print("성별:", user_info.gender)
print("전공:", user_info.major)
print("학년:", user_info.grade)
print("지도교수:", user_info.professor)
함수 설명
- authenticate : 로그인 수행 후 재학생 정보를 수집하는 함수
반환 타입
class AuthResponse:
user_id: str
name: str
gender: str
major: str
grade: str
professor: str
예외 설명
- ValueError : 인증 정보 오류 또는 사이트 장애시 발생하는 예외
사용 스택
개발 환경
개발 언어
유의사항
이 프로젝트는 일반 사용자가 로그인하는 흐름을 프로그래밍 적으로 따라하여 로그인을 진행합니다.
해당 프로젝트는 재학생의 정보 무결성을 보장하지 않으며, 사용시 발생하는 모든 법적 문제를 책임지지 않습니다.
프로젝트상의 문제, 비공개 요청시 contact@mokminsu.dev 로 연락바랍니다
라이센스
이 프로젝트는 MIT License로 배포됩니다.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file schu_auth-1.0.1.tar.gz.
File metadata
- Download URL: schu_auth-1.0.1.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95b5af597e0e8aa374ea1b52e9fe95c2a84f514be0883984032915437f86fe76
|
|
| MD5 |
a28e2efd71af7da0ed0f9de85b174764
|
|
| BLAKE2b-256 |
7346eeb21f8018e647e6ef36213025648a31bd62b67dc24d7661aa32c2f1b84a
|
File details
Details for the file SCHU_Auth-1.0.1-py3-none-any.whl.
File metadata
- Download URL: SCHU_Auth-1.0.1-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa6170e9cde4604989f10d129c9fd9a630fcc9098cef1c140827cd65e4eb7476
|
|
| MD5 |
8a12515c78c4764b82444645ea724a08
|
|
| BLAKE2b-256 |
bd84923cbce60d22839d75e24bc7f8e7121df207adeba43121173760ef0473bf
|