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
-
Open the release page to find the latest version of the installation file.
-
(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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| SZPT-Course-0.1.3.tar.gz | 4.8 kB | Without provenance | Details for SZPT-Course-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| SZPT_Course-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for SZPT_Course-0.1.3-py3-none-any.whl |
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
|
Security for SZPT-Course 0.1.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.