All Projects → PhotonQuantum → pysjtu

PhotonQuantum / pysjtu

Licence: GPL-3.0 license
The Python iSJTU client for Humans.

Programming Languages

HTML
75241 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to pysjtu

Acm Icpc Preparation
ACM-ICPC Preparation Guide
Stars: ✭ 1,377 (+4072.73%)
Mutual labels:  curriculum
Tensorflow Deep Learning
All course materials for the Zero to Mastery Deep Learning with TensorFlow course.
Stars: ✭ 170 (+415.15%)
Mutual labels:  curriculum
CO.LAB
An open source repository for the learning materials that are used by the CO.LAB program.
Stars: ✭ 61 (+84.85%)
Mutual labels:  curriculum
Jjstockview
iOS股票,课程表,表格控件
Stars: ✭ 113 (+242.42%)
Mutual labels:  curriculum
Hackclub
🏫 Hack Club is a nonprofit network of computer science clubs where members learn to code through tinkering and building projects
Stars: ✭ 2,139 (+6381.82%)
Mutual labels:  curriculum
Node Express Curriculum
Stars: ✭ 251 (+660.61%)
Mutual labels:  curriculum
Epfl
EPFL summaries & cheatsheets over 5 years (computer science, communication systems, data science and computational neuroscience).
Stars: ✭ 90 (+172.73%)
Mutual labels:  curriculum
myprofile
Generate your resume easily from Github actions ✅ using discussion section 📃 🚀
Stars: ✭ 19 (-42.42%)
Mutual labels:  curriculum
Cs Books
A list of textbooks for a Computer Science curriculum.
Stars: ✭ 175 (+430.3%)
Mutual labels:  curriculum
SJTU-thesis-template
上海交通大学研究生学位论文模板
Stars: ✭ 32 (-3.03%)
Mutual labels:  sjtu
Curriculum
Ops School Curriculum
Stars: ✭ 1,565 (+4642.42%)
Mutual labels:  curriculum
Live Resume
Stand out of the crowd by showing a professional website/resume. Building fast and easy the best Personal Web Application resume!
Stars: ✭ 158 (+378.79%)
Mutual labels:  curriculum
Computer Science
🎓 Path to a free self-taught education in Computer Science!
Stars: ✭ 103,613 (+313878.79%)
Mutual labels:  curriculum
Freecodecamp.cn
FCC China open source codebase and curriculum. Learn to code and help nonprofits.
Stars: ✭ 36,576 (+110736.36%)
Mutual labels:  curriculum
curriculum
A roadmap for Boot.dev's CS curriculum for backend developers
Stars: ✭ 492 (+1390.91%)
Mutual labels:  curriculum
Deep Learning Python
Intro to Deep Learning, including recurrent, convolution, and feed forward neural networks.
Stars: ✭ 94 (+184.85%)
Mutual labels:  curriculum
Cs Roadmap
My Computer Science Curriculum
Stars: ✭ 239 (+624.24%)
Mutual labels:  curriculum
curriculum
Draft syllabus for the Data Challenge Lab
Stars: ✭ 24 (-27.27%)
Mutual labels:  curriculum
Renato66.github.io
Portfolio
Stars: ✭ 25 (-24.24%)
Mutual labels:  curriculum
Freecodecamp
freeCodeCamp.org's open-source codebase and curriculum. Learn to code for free.
Stars: ✭ 339,510 (+1028718.18%)
Mutual labels:  curriculum

PySJTU - The Python iSJTU client for Humans.

PyPI version Documentation Status

screenshot


>>> import pysjtu
>>> c = pysjtu.create_client(username="FeiLin", password="WHISPERS")
>>> chemistry = c.schedule(year=2019, term=0).filter("大学化学")
>>> chemistry[0].teacher_name
['麦亦勇']
>>> calculus_exam = c.exam(year=2019, term=0).filter(course_id="MA248")
>>> calculus_exam[0].date
datetime.date(2019, 11, 6)

And, to persist your session...

>>> import pysjtu
>>> session = pysjtu.Session()
>>> session.login("FeiLin", "WHISPERS")
>>> session.dump("lin_fei.session")

>>> session = pysjtu.Session()
>>> session.load("lin_fei.session")
>>> pysjtu.Client(session).student_id
519027910001

Features

PySJTU allows you to manipulate iSJTU APIs easily.

You don't need to construct queries on your own, or guessing the meaning of poorly named variables (to name a few, kch_id, rwzxs) any more. Now course.name course.hour_total is enough!

Main features of PySJTU:

  • A friendly API with understandable attribute names.
  • Easy session persistence.
  • Robust captcha recognition using ResNet.
  • 80% iSJTU APIs covered. (Course selection APIs included.)
  • Fully type annotated.
  • 99% test coverage.

Installation

Install with pip:

$ pip install pysjtu[ocr]

PySJTU requires Python 3.8+.

Built With

  • HTTPX - A next generation HTTP client for Python.
  • marshmallow - An ORM/ODM/framework-agnostic library for converting complex datatypes, such as objects, to and from native Python datatypes.
  • ONNX Runtime - A performance-focused complete scoring engine for Open Neural Network Exchange (ONNX) models.
  • NumPy - The fundamental package for scientific computing with Python.
  • Pillow - The friendly PIL fork.

License

This project is licensed under GNU General Public License v3.0 - see the LICENSE file for details.

💖

Built with love by LightQuantum

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].