Giter VIP home page Giter VIP logo

sfu_outlines_cli's Introduction

SFU Outlines CLI

sfu-cli lets you fuzzily interact with the SFU Outlines REST API to retrieve a course outline in JSON.

display.py is a helper that displays the course outline in your terminal with rich formatted text.

Table of Contents

Setup

sfu-cli

  • Dependencies

display.py

Python Virtual Environment

python -m venv venv
./venv/bin/pip install -r requirements.txt

Usage

sfu-cli

./sfu-cli --help

Output

The requested outline will be printed as output after the course section is selected, as well as saved in the ./.cache/ directory using the following structure (same as API structure):

./.cache/<year>/<term>/<dept>/<num>/<section>/outline.json

display.py

./venv/bin/python display.py [JSON_OUTLINE_FILE]

This can be called directly by sfu-cli with the -p, --pretty flag (the python virtual environment must be setup exactly as shown above).

sfu_outlines_cli's People

Contributors

tstoiu17 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.