Metadata-Version: 2.1
Name: uw-course
Version: 1.0.2
Summary: A course helper tool for managing UW courses schedule
Author-email: Jiucheng Zang <zangjiucheng@gmail.com>
License: MIT
Project-URL: homepage, https://github.com/zangjiucheng/CourseExplorer
Project-URL: repository, https://github.com/zangjiucheng/CourseExplorer
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: attrs
Requires-Dist: certifi
Requires-Dist: click
Requires-Dist: dnspython
Requires-Dist: pdfschedule
Requires-Dist: Pillow
Requires-Dist: pymongo
Requires-Dist: PyYAML
Requires-Dist: reportlab

# uw-course

[![PyPI version](https://badge.fury.io/py/uw-course.svg)](https://badge.fury.io/py/uw-course)


This is a project for UWaterloo students to help them get course information and generate a schedule for the next term.

MongoDB DashBoard: [LINK](https://charts.mongodb.com/charts-project-0-cbzai/public/dashboards/091bc68f-76df-48c0-aa69-b21af14c0a8a)

### Example Schedule: 

![Image text](demo.png)

---

### Install Steps: 
1. Install Python3 (>= 3.7) [Python Website](https://www.python.org/downloads/)
2. ```bash
   pip install uw-course
   ```

---

### Usage:

#### 1. Get Course Information
1. Run the following command in the terminal
```bash
uw-course -c "{CourseName}"
```

Example:
```bash
uw-course -c "CO 250"
```

#### 2. Get Course Schedule
1. Create a new file named ```schedule.txt``` in the folder you want to save the schedule
2. Edit ```schedule.txt``` with the following format:
```txt
Class{year}{Winter/Summer/Fall}

{Course}{CourseName}, {ClassID}
{Course}{CourseName}, {ClassID}
...
```

Example:
```txt
Class2025Winter

PHYS 234, 7166
CS 431, 8788
PMATH 351, 6382
CO 353, 6157
STAT 231, 6097
AMATH 250, 5967
```
3. Run the following command in the folder you saved the ```schedule.txt``` file
```bash
uw-course -f schedule.txt
```
(If you want to get the schedule with gray printables, you can add the ```-g``` flag)

4. The program will generate a ```schedule.pdf``` file in the same folder, which is the schedule you want to see

#### Any Idea or Question, welcome send me an email via: j7zang@uwaterloo.ca

---

## License

This project is open-source and can be modified and used for personal or educational purposes. Attribution to the original creator is appreciated. (MIT License)

