Skip to content

iwangy/sled

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SLED: UW Groups Web Service Interface

courier logo

This project is a Group/NetID Management Application (Win/MacOS) developed using Python and Tkinter. The application is designed to streamline and accelerate batch NetID additions, deletions, and verifications to organizational groups via a REST API, significantly improving efficiency for group and NetID management tasks.

courier logo

Features

  • Batch NetID Additions/Deletions: Add/Delete multiple NetIDs to organizational groups quickly and efficiently, import & export lists.
  • Batch NetID Group Verification: Check group membership of a NetID, import & export lists.
  • Configurable Settings: Easily configure the certificate and key file paths, group names, and API endpoints through a settings page.

How to use

This application can be used in two ways: either by running the prebuilt .app or .exe file or by setting up a development environment. Follow the instructions below based on your preference.

Option 1: Running the Prebuilt .pkg or .zip File

If you'd like to use the app without setting up a development environment, follow these steps:

  1. Download the .pkg or .zip file from the provided release page.
  2. Run the .pkg file or unzip the .zip to your Applications folder or any desired location.
  3. Double-click the .app or .exe file to launch the application.

Note: You will need to obtain a certificate and private key to connect to the UW Groups Web Service API. Follow the instructions below for obtaining and configuring these credentials.

Option 2: Running in a Development Environment

If you'd like to work within a development environment, follow these instructions:

  1. Clone the repository to your local machine:
    git clone https://github.com/iwangy/sled.git
    cd sled
    
  2. Setup a virtual environment (recommended)
    python3 -m venv venv
    source venv/bin/activate  
    # On Windows, use `venv\Scripts\activate`
  3. Install dependencies
    pip install -r requirements.txt
  4. Obtain the UW Groups Web Service API certificate and private key:
  • Follow UW API Documentation to request and download your certificate and private key files.
  • Save these files securely on your machine.
  1. Run the application:

    python sled.py
  2. To package the installation into an .exe or .app To create an app executable or application you must run the command below on the supported hardware. ie: .exe run on Windows, .app run on Mac

    # On Mac
    pyinstaller Sled.py --windowed -i "./images/sled.icns"
    
    #On Windows
    # May need to install Python 3.12 but this should work...
    pyinstaller Sled.py -F -i "./images/sled.ico"

Note: When running in a development environment, additional configurations or tweaks can be made to the code to suit specific needs or testing purposes.

How to obtain credentials for GWS API

wip

About

SLED: A UW Groups Web Service Interface

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages