Coder Social home page Coder Social logo

tpeterw / course-registration Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sherifnada/course-registration

0.0 2.0 1.0 472 KB

(Obsolete) Bannerweb client for course registration on Middlebury College Bannerweb.

License: Apache License 2.0

Python 100.00%
python crawler script

course-registration's Introduction

Course Registration

![icon](./Image Resources/middlebury_logo_small.png)

Cross platform program for registering for classes for Middlebury College Bannerweb system. Based on the script by @danielhtrauner.

Modifications

  • Packed into executables, easier for non Python lovers to use

  • Allowed user to type in their information

  • Added cache function, user can save their configuration for a future registration and come back later. Configuration saved in 'reg.ini' file

Installation

Windows

Decompress (unzip) downloaded .zip file, and double click on the .exe executable

Configuration file is at "C:\Users\YOUR_USER_NAME\AppData\Local\CourseRegistration\reg.ini"

OS X

Decompress (unzip) downloaded .zip file, and double click on the executable

Configuration file is at "/Library/Caches/Course\ Registration/reg.ini"

Note: before first launch, if your security setting only allows apps made by "Mac App Store and identified developers", you wll receive a security warning. To disable it and run the program, go to "System Preferences" then "Security & Privacy", and click on "Open Anyway"

Linux

Decompress the tar.gz file

tar -xzvf Course_Registration_Linux.tar.gz

Execute program in extracted folder from terminal

./course_registration/course_registration

Configuration file is at program directory

Alternatively

You can simply type

python source.py

or

./source.py

after giving the script enough executive permission by

[sudo ]chmod +x source.py

Usage

Instructions are clear inside the program, one thing to note is that the program memorises your registration date and registration plan including CRNs and alternate PIN. You can simply enter your specifications and exit the program by clicking the "x" button or ctrl+c. You will be able to recover your records next time the program is run. To secure more sleep, you can simply leave your laptop on over night, make sure it doesn't go to sleep, and the program will execute at 7:00am sharp.

If you have any questions regarding usage or bugs, please don't hesitate to contact me via [email protected].

有问题发我明德邮箱,专业抓虫20年。

Known Limitations

  • Does not handle exceptions that happen during the part where emulated browser opens the registration page

  • Only checks the format of term_string, but does not check validity

  • Source code all in one file, will change soon. Sorry to other contributor (if any) ╮(╯▽╰)╭

Goals

  • Graphical Interface

  • Multithreading, enable separation of class, allow users to enter a group of CRNs that are for one class, and try them together on one thread

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.