Skip to main content

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.sections.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.

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

ncsu_courses-0.2.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ncsu_courses-0.2.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file ncsu_courses-0.2.0.tar.gz.

File metadata

  • Download URL: ncsu_courses-0.2.0.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.14 Linux/6.5.0-1018-azure

File hashes

Hashes for ncsu_courses-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c43f7edf7a5f7ccd30b79eba832b50704416e0664f0cb8f78e002fe602becd2b
MD5 3f70a3bec3fcbf1d24e25d07c103b695
BLAKE2b-256 25965312e8a63eeafe04e4fb319e859af0ab32ed61719d7d2091ee6cc904b4e5

See more details on using hashes here.

File details

Details for the file ncsu_courses-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: ncsu_courses-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.14 Linux/6.5.0-1018-azure

File hashes

Hashes for ncsu_courses-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f6bb70c9a95eab79f266e169676f730149beabd42288805f73deb99663a73ca9
MD5 8fcaca77ded67bb70cbf2c6e141e71a3
BLAKE2b-256 3b786f1ad133490c3d48d0f21fd4e54d18dff626f7e4a0526ffd25ef12d516aa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page