nyucal
is for parsing the NYU Academic Calendar web page into
machine readable calendar formats.
Each semester we read that page to find the dates of various holidays and deadlines. We wanted a nice way to import those events into calendar software (e.g., Google Calendar, which can also be imported into Slack).
This is also a simple exercise in creating python packages, including testing and documentation.
- Command-line interface (CLI)
- Python package
Full documentation can be found at https://nyucal.readthedocs.io.
MIT License.
nyucal
is built on some great python packages, including:
- lxml for parsing HTML files (even bad ones) into XML element trees, as well as searching and traversing them.
- click for creating high-functioning command line applications
The package structure itself was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.