Giter VIP home page Giter VIP logo

rit-classstalker's Introduction

Welcome to ClassStalker!

So you're in class and notice a cute girl. You think to yourself, "Wow, what a magnificent specimen." You watch her the whole class and wonder to yourself, "What the hell is she doing at a school like this!?" Class drags on and is eventually dismissed. You're off to your next class and what the... it's the same girl from before! Lightning DOES strike twice! This program is designed to help/expedite the search in this magnificent beast's name.

"Scan through your classes and see people with similar schedules."

Remember to list python as variable value in your environment! Control Panel > System > Advanced System Settings In the Advanced tab: Environment Variables Under System Variables: Find/click on Path and hit the edit button APPEND the something like the following to your Variable Value text field: ";C:\Python26;C:\Python26\Scripts" or wherever you saved your python installation directory. (Yes, I'm using v2.6)

Dependencies: Required: mechanize BeautifulSoup html2text easygui (for passwordbox) Recommended: pip (for easier installation of modules above)

PIP installation: Save this file to somewhere accessible: https://bootstrap.pypa.io/get-pip.py With command prompt point to the destination that has the .py file above. Execute "python get-pip.py"

Module installation(s): Now that PIP is installed, modules can be installed from the command line from running: pip install mechanize pip install beautifulsoup4 pip install html2text pip install http://easygui.sourceforge.net/download/version_0.96/easygui_version_0.96.tar.gz

Updates that this project will undergo: Inclusion of tarballs, zips, binary exe and source files to ensure module(s) installation. Detailed error checking of login failure (currently: crummy exception thrown) Argument Handling to surpass prompts Won't be limited to 12 courses. (arrays will be created dynamically)

Execution: With pyhton listed as an evironment variable, classStalker can be run from the command line after pointing to the files destination (or running the run.bat) with the following: python classStalker.py

I apologize for the ugly easygui passwordbox that was implemented. I included the import for getpass and have the functional code stubbed out for users whom wish to use that instead. My reasoning was that when used in IDLE or similar IDEs, the password is echoed. If you wish to use getpass instead of easy box, change the following:

Line 55 "print "Password: "" can be deleted or stubbed
Line 56 "password = passwordbox("Password: ")" can be deleted or stubbed
Line 58 "#password = getpass.getpass() #-> echos pass with IDLE" to "password = getpass.getpass()" or unstub the first #

Follow me on twitter @zweed4u

rit-classstalker's People

Contributors

zweed4u avatar

Watchers

James Cloos avatar  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.