https://github.com/shaygali/create_schedule
A program that creates a schedule from a list of lectures found in a table in a pdf file
https://github.com/shaygali/create_schedule
schedule-creator school-project
Last synced: 2 months ago
JSON representation
A program that creates a schedule from a list of lectures found in a table in a pdf file
- Host: GitHub
- URL: https://github.com/shaygali/create_schedule
- Owner: ShayGali
- Created: 2024-04-10T07:44:44.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-05-31T10:47:13.000Z (11 months ago)
- Last Synced: 2025-01-13T08:46:12.429Z (4 months ago)
- Topics: schedule-creator, school-project
- Language: Python
- Homepage:
- Size: 401 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Create Schedule
This is a small project that creates a schedule for my university courses.
my university gives me the lectures schedule in a pdf file, table format, so I convert it to a csv file and then I `tkinter` to create a schedule.
| input | output |
|----------------------------------|------------------------------------|
|  |  |## How to use it
if you want to run it:
make sure that you have python 3.6 or higher installed on your computer.
make sure that you have java installed on your computer, and the system variable `JAVA_HOME` is set to the java
installation folder.install the required packages by running:
```bash
pip install tabula-py
pip install pandas
```now download the pdf file that contains the lectures, and put it in the data folder.
now change the name of the file to `src.pdf`, and run the following command:
```bash
python extract_tables.py
```by default, the script will convert a file called `src.pdf`, if you want to convert a different file, you can pass the file name as an argument:
```bash
python extract_tables.py my_file.pdf
```now you need to clean the data, open the csv file (you can do it with excel), and remove the unnecessary columns.
after this, you can run the following command:
```bash
python main.py
```and you will see the schedule.
### change the colors
you can change the colors of the schedule by changing the values in the `utils.py` file.