A Python library for retrieving data about NCSU's course offerings and sections
Project description
NCSU Courses
A Python library for getting data about NCSU's course offerings. Contains functionality for retrieving historical and current courses and their sections, including instructor, meeting information, seats, and more.
This library uses the same API that this website does.
Courses
Use ncsu_courses.courses.get_courses(subject, term) to get all courses for a given subject during the given term. A course has data such as a curriculum and code, a description, title, etc.
Sections
A section of a course is a specific instance of the course being offered during a certain term. A section contains information such as instructor, meeting days and times, meeting location, seats, etc. Use ncsu_courses.courses.get_sections(subject, term) to get all sections for all classes of the given subject during the given term.
Subjects
Subjects represent broad areas of study. Each course's name begins with the letters of the subject that it belongs to (ex. CSC 111 is a Computer Science course because CSC represents the Computer Science subject). The ncsu_courses.subjects.get_all_subjects(term) function returns a list of all subjects that exist during the current term.
Terms
A term is identified by a year and a session (Fall, Spring, Summer 1, or Summer 2). Use ncsu_courses.term.Term to represent a specific term. Terms are passed to the API as integers representing a combination of year and session, and the Term object handles this internally.
Catalog Courses
A catalog course is a course listed in the catalog, not associated with any specific term. Use ncsu_courses.catalog.get_catalog_courses(subject) to get a generator over all catalog courses.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ncsu_courses-0.4.0.tar.gz.
File metadata
- Download URL: ncsu_courses-0.4.0.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7cdd7c44df8a0e1f94f56f50facd96e84bb6a44bb20c826a9016d359750fd6be
|
|
| MD5 |
7df5e27c80cea1b9d8f6843aa8577809
|
|
| BLAKE2b-256 |
1261b337fb23f24c8ce64d632f77322537f5b5d1267ebd2037da6578511824cf
|
Provenance
The following attestation bundles were made for ncsu_courses-0.4.0.tar.gz:
Publisher:
release.yml on Brendon-Hablutzel/ncsu_courses
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ncsu_courses-0.4.0.tar.gz -
Subject digest:
7cdd7c44df8a0e1f94f56f50facd96e84bb6a44bb20c826a9016d359750fd6be - Sigstore transparency entry: 163557518
- Sigstore integration time:
-
Permalink:
Brendon-Hablutzel/ncsu_courses@c77ac94d1ee7e7dcdeef9b08f69d4b4d8a18bdc1 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Brendon-Hablutzel
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c77ac94d1ee7e7dcdeef9b08f69d4b4d8a18bdc1 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ncsu_courses-0.4.0-py3-none-any.whl.
File metadata
- Download URL: ncsu_courses-0.4.0-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d215cb00f7ba7611d8625132833e16250a4d02b5aae435bea48b4b31c62c0fc
|
|
| MD5 |
53c550ab4f1eb22c04363fb84faa0376
|
|
| BLAKE2b-256 |
59379bfb96dd7178c63e02c470ee0063fd6a4f995efe8dc0a9b1817a38f9ee06
|
Provenance
The following attestation bundles were made for ncsu_courses-0.4.0-py3-none-any.whl:
Publisher:
release.yml on Brendon-Hablutzel/ncsu_courses
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ncsu_courses-0.4.0-py3-none-any.whl -
Subject digest:
5d215cb00f7ba7611d8625132833e16250a4d02b5aae435bea48b4b31c62c0fc - Sigstore transparency entry: 163557519
- Sigstore integration time:
-
Permalink:
Brendon-Hablutzel/ncsu_courses@c77ac94d1ee7e7dcdeef9b08f69d4b4d8a18bdc1 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Brendon-Hablutzel
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c77ac94d1ee7e7dcdeef9b08f69d4b4d8a18bdc1 -
Trigger Event:
push
-
Statement type: