Skip to main content

zjuintl_assistant

Features

  • Get deadline of assignments from Blackboard
  • Get latest grades of assignments from Blackboard
  • Get latest announcements from Blackboard
  • Get notices from myZJU
  • Get information from PeopleSoft. I've not figured out how to do this yet. PRs and disscussions are welcome!

Usage

Install the package from PyPI:

pip install zjuintl-assistant

Then you can use the package in your code:

from zjuintl_assistant import Assistant

assistant = Assistant(username='your_username', password='your_password')

# Get deadlines of assignments
deadlines = assistant.get_deadlines()
# Get 10 latest grades
grades = assistant.get_grades(10)
# Get 10 latest announcements (excluding ones without main content)
announcements = assistant.get_announcements(10)
# Get 10 latest announcements (including ones without main content)
announcements_full = assistant.get_announcements(10, full=True)
# Get 10 latest notices from myZJU (not fetching main content)
notices = assistant.get_notices(10)
# Get 10 latest notices from myZJU (English version and including main content)
notices_en_full = assistant.get_notices(10, EN=True, get_content=True)

For more details, please refer to wiki.

Development Notes

This project is simply a spider that replay the requests of the browser. Login process of zjuam is based on package capture and reverse engineering of javascript code. However, the analysis of PeopleSoft is too difficult for me. So any help is welcome! I think possible difficulty is the management of cookies.

Credits

Metadata

Release files for zjuintl-assistant 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zjuintl-assistant 0.0.3
File Size Uploaded Provenance Actions
zjuintl_assistant-0.0.3.tar.gz 9.5 kB Without provenance Details for zjuintl_assistant-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for zjuintl-assistant 0.0.3
File Interpreter ABI Platform Actions
zjuintl_assistant-0.0.3-py3-none-any.whl Python 3 none any Details for zjuintl_assistant-0.0.3-py3-none-any.whl

Total release size: 19.4 kB

Release files / zjuintl_assistant-0.0.3.tar.gz

Download URL zjuintl_assistant-0.0.3.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
feafe220cfbe1b01412be89ac087c56d51bcad17e0bbfdeae3ff6c14b9c2802f
BLAKE2b-256 checksum
How to use checksums
6574bf4807e459d4019cf5eff76396bc9bd2375b000784db3ec6791b6d78e188
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / zjuintl_assistant-0.0.3-py3-none-any.whl

Download URL zjuintl_assistant-0.0.3-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2dbedce68851c44f057c3e8ee0f5dedc1ca815886c5914f74df3fd65c7e1e04f
BLAKE2b-256 checksum
How to use checksums
323860284606eacff97c40632665695a4a19d451cbe1ab8fd4672840a8f17f13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.3

Security for zjuintl-assistant 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page