Skip to main content

SZPT-Course

A simple Course query Python package for SZPT.

How to use

As shown below.

Installation

  • Starting from version 0.0.1, the module will be uploaded to pypi. You can also install it directly using pip.
pip install SZPT-Course

Manual Installation

  1. Open the release page to find the latest version of the installation file.

  2. (Optional) download to this machine through browser, and then use pip to execute the following command to install.

pip install SZPT-Course-0.0.1-py3-none-any.whl
  • Of course, you can also directly copy the download link of the installation package and use pip for online installation. (execute the following command)
# Note: that the link here is version 0.0.1, please replace it with the latest version.
pip install https://github.com/HsOjo/SZPT-Course/releases/download/0.0.1/SZPT-Course-0.0.1-py3-none-any.whl

Example code

from szpt_course import Course

c = Course('<Course System Host>')
print(c.current_stu_year)
print(c.current_date)
print(c.current_week)
print(c.current_day)
cs = c.query('<Your Number>')
for i in cs:
    if i.week == c.current_week:
        print(i, i.day == c.current_day)

Metadata

Release files for SZPT-Course 0.1.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 SZPT-Course 0.1.3
File Size Uploaded
SZPT-Course-0.1.3.tar.gz 4.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for SZPT-Course 0.1.3
File Interpreter ABI Platform
SZPT_Course-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 10.4 kB

Release files / SZPT-Course-0.1.3.tar.gz

Download URL SZPT-Course-0.1.3.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
43438d6c42c8ff650c59e09776dc91e6157dfdd8675b8ab4536027a673ca7fda
BLAKE2b-256 checksum
How to use checksums
04c998d273d0cc58f389f492d369ebf21dc1f6ff06096103aed8fc4c630a37e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release files / SZPT_Course-0.1.3-py3-none-any.whl

Download URL SZPT_Course-0.1.3-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
08b8e010f87cd3b2b26d7763a6efa48bc03bb3f85980ec5491b0115ba5c4c172
BLAKE2b-256 checksum
How to use checksums
8d188ef400615ef5a918000afe34ee9f177010e2e5f5f385e365751dbfb9087b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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