All Projects → finwarman → kcl-timetable

finwarman / kcl-timetable

Licence: other
Utilities in Python3 to fetch the KCL Timetable for a user, or export it as iCalendar (*.ics for Google or Apple)!

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to kcl-timetable

calcardbackup
calcardbackup: moved to https://codeberg.org/BernieO/calcardbackup
Stars: ✭ 67 (+378.57%)
Mutual labels:  export, icalendar
evernote-backup
Backup & export all Evernote notes and notebooks
Stars: ✭ 104 (+642.86%)
Mutual labels:  export
Data-Export
Data-Export支持将链上数据导出到MySQL、ES等便于进行大数据处理的存储介质中,解决区块链数据复杂查询、分析、可视化和处理的问题。
Stars: ✭ 37 (+164.29%)
Mutual labels:  export
ical
📅 Golang iCalendar lexer/parser implementing RFC 5545
Stars: ✭ 28 (+100%)
Mutual labels:  icalendar
ExcelExport
Classes to generate Excel/CSV Report in ASP.NET Core
Stars: ✭ 39 (+178.57%)
Mutual labels:  export
THCalendar
Calendar like iOS
Stars: ✭ 21 (+50%)
Mutual labels:  icalendar
KNURE-TimeTable
🎓 iOS приложение для просмотра расписания ХНУРЭ
Stars: ✭ 21 (+50%)
Mutual labels:  timetable
arctee
Atomic tee
Stars: ✭ 22 (+57.14%)
Mutual labels:  export
elastic-query-export
🚚 Export Data from ElasticSearch to CSV/JSON using a Lucene Query (e.g. from Kibana) or a raw JSON Query string
Stars: ✭ 56 (+300%)
Mutual labels:  export
klatexformula
Generate images from LaTeX equations that you can drag and drop, copy and paste or save to disk.
Stars: ✭ 70 (+400%)
Mutual labels:  export
python-jicson
python ics to json lib
Stars: ✭ 11 (-21.43%)
Mutual labels:  icalendar
icingaweb2-module-pdfexport
PDF export functionality for Icinga Web 2
Stars: ✭ 27 (+92.86%)
Mutual labels:  export
great-migration
Copy objects from Rackspace to S3
Stars: ✭ 15 (+7.14%)
Mutual labels:  export
export-command
Exports WordPress content to a WXR file.
Stars: ✭ 12 (-14.29%)
Mutual labels:  export
browserexport
backup and parse browser history databases (chrome, firefox, safari, and other chrome/firefox derivatives)
Stars: ✭ 54 (+285.71%)
Mutual labels:  export
Reports.JS
Stimulsoft Reports.JS is a reporting tool for Node.js and JavaScript applications.
Stars: ✭ 33 (+135.71%)
Mutual labels:  export
skinner
Skin export / import tools for Autodesk Maya
Stars: ✭ 68 (+385.71%)
Mutual labels:  export
wechat-export
📃 Export WeChat chat histories to HTML files.
Stars: ✭ 585 (+4078.57%)
Mutual labels:  export
porter
Export legacy forums into a format Vanilla Forums can import.
Stars: ✭ 39 (+178.57%)
Mutual labels:  export
ckan-php-manager
A tool for managing a CKAN data catalog
Stars: ✭ 14 (+0%)
Mutual labels:  export

kcl-timetable (kcl.py & kclical.py)

Tools for viewing and exporting your KCL timetable.

For Python3 - To install dependencies paste the following in your terminal:

pip3 install crayons
pip3 install requests
pip3 install keyring
pip3 install icalendar

View timetable in terminal: (kcl.py)

python3 /[path]/[to]/kcl.py

Log in with your k-number and password - your credentials are stored locally for the next time you run it.

To add as a terminal command, add it as an alias, e.g. for macOS: Edit ~/.bash_profile, with sudo nano ~/.bash_profile

then add the the line

alias timetable='python3 '/[path]/[to]/kcl.py'


kcl.py timetable fetch


iCalendar export: (kclical.py)

To export your timetable (for the next 60 days) as a .ics file for import in Google and Apple Calendars, run the following script in terminal:

python3 /[path]/[to]/kclical.py

Log in with your k-number and password - your password will be stored locally and securely in the keyring. If you mistype your login, simply delete the 'knumber.fin' file in the script directory and log in again.

The calendar is exported to course_schedule.ics in the script directory.

kclical.py calendar export

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].