Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Latest commit

 

History

History
52 lines (40 loc) · 1.86 KB

Readme.md

File metadata and controls

52 lines (40 loc) · 1.86 KB

RitsWiFi

Get better experience with free WiFi service in Ritsumeikan University.

Just can be used in Ritsumeikan University

English | 日本語 | 简体中文

Preview

Requirements

Python Version: 2.6+ / 3.3+

Python 3 is recommended. If you try to build and use RitsWiFi with Python 2, please use pip and python instead of pip3 and python3.

Additional Library: requests, rumps

How to use

  1. Clone this repo, or just download the zip file directly from github.

  2. Install package rumps and requests. For most people, installation via pip is recommended.

    pip3 install rumps
    pip3 install requests
  3. Edit RitsWiFi.py to add your RAINBOW ID and password.
    Example below

    # ---------------------------------------
    # Setting Area
    # ---------------------------------------
    wifiName = "Rits-Webauth"
    loginPagePath = "https://webauth.ritsumei.ac.jp"
    
    myUsername = "is1234rj"
    myPassword = "12345678"
  4. Run python3 RitsWiFi.py in Terminal.

Build as standalone application

If you wanna get a standalone version of RitsWiFi, here is the solution.

  • The standalone application will be created with the icon file (logo.icns).
  • Notice: Build standalone version only if you have confirmed RitsWiFi works.
  • Please use -A to build RitsWiFi using alias.
  1. Install package py2app.
    pip3 install py2app
  2. Before building, use rm -rf dist build to clean up the build folder is better.
  3. Run python3 setup.py py2app -A in Terminal.