Skip to content

A command-line interface for SWPU network authentication system.

License

Notifications You must be signed in to change notification settings

lec-org/srun-swpu-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SRun SWPU CLI 🖥️

A command-line interface for SWPU (Southwest Petroleum University) network authentication system. This CLI tool provides an easy way to manage your network connection. 🚀

✨ Features

  • Simple Commands 🎯

    • Login to network
    • Logout from network
    • Check connection status
  • Beautiful Output 🎨

    • Colored status messages
    • Formatted traffic usage
    • Clear error messages
  • Network Support 🌐

    • China Mobile Wireless
    • China Mobile Wired
    • Student Network
    • Teacher Network
    • China Telecom Wireless

📦 Installation & Use

Install from PyPI

pip install srun-swpu-cli

Or install with user scheme

pip install --user srun-swpu-cli

Or install in virtual environment (recommended)

python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
pip install srun-swpu-cli

Simply check current connection status

srun-swpu-cli status

Login Sample

srun-swpu-cli login \
--student-id student_id \
--network-type china-mobile-wireless \
--password "your_password"

Logout Sample

srun-swpu-cli logout \
--student-id student_id \
--network-type china-mobile-wireless

About

A command-line interface for SWPU network authentication system.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages