Awesome Open Source
Awesome Open Source

NUAA iCal Python

PyPI - Python Version Build Status pypi package PyPI - Status PyPI - License FOSSA Status

🇺🇸 English | 🇨🇳 简体中文

⚠️ The NUAA curriculum APIs have been deprecated, so this program DO NOT WORK for now. Please see this repo miaotony/NUAA_ClassSchedule for your alternative.

Export the curriculum of NUAA to a .ics calendar file, in order to import class events to other calendars (e.g. Google Calendar).

Pull Requests Welcome!

Quick Start

DEMO

Installation

PyPI

Install NUAAiCal python package:

$ pip install NUAAiCal

If there has a problem caused by permission, please try pip install NUAAiCal --user instead.

Source

Built it from source code:

$ git clone https://github.com/Triple-Z/NUAA-iCal-Python.git
$ cd NUAA-iCal-Python
$ python setup.py install

Start Application

$ nuaaical

The .ics file path will be shown in the output, you can import it to Google Calendar etc.

Troubleshoot

Command Not Found

nuaaical: command not found

Maybe your system PATH environment variable lacks of the value of ~/ .local/bin . Try the command following, then run nuaaical again:

$ export PATH=${HOME}/.local/bin:$PATH

TODO

  • [x] Get course table data
  • [x] Generate iCal file
  • [x] Input Variables
  • [x] Pack
  • [x] Calendar Diff
  • [ ] GUI
  • [ ] Export to Google Calendar
  • [ ] WSGI server

Copyright

This project is licensed by The MIT License.

Copyright © 2018 TripleZ

License

FOSSA Status


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
python (54,340
google-calendar (26