Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Pysjtu | 37 | 4 months ago | 8 | December 21, 2020 | 1 | gpl-3.0 | HTML | |||
The Python iSJTU client for Humans. | ||||||||||
Onnx2json | 18 | 8 months ago | mit | Python | ||||||
Exports the ONNX file to a JSON file and JSON dict. | ||||||||||
Json2onnx | 14 | 25 days ago | mit | Python | ||||||
Converts a JSON file to an ONNX file. | ||||||||||
Sed4onnx | 5 | 1 | 9 months ago | 2 | May 25, 2022 | mit | Python | |||
Simple ONNX constant encoder/decoder. Since the constant values in the JSON files generated by onnx2json are Base64-encoded values, ASCII <-> Base64 conversion is required when rewriting JSON constant values. |
PySJTU - The Python iSJTU client for Humans.
>>> 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
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:
Install with pip:
$ pip install pysjtu[ocr]
PySJTU requires Python 3.8+.
This project is licensed under GNU General Public License v3.0 - see the LICENSE file for details.
—💖—
Built with love by LightQuantum