Skip to main content

SWPU SRun Network Authentication CLI

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

srun_swpu_cli-0.1.1.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

srun_swpu_cli-0.1.1-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file srun_swpu_cli-0.1.1.tar.gz.

File metadata

  • Download URL: srun_swpu_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for srun_swpu_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8d8c7f4136974223b4bb47746a5dba4471fd88ca632bc13e50149a7522cb66fa
MD5 8e20b3a7828f9ce1ed72e1ce96eaa307
BLAKE2b-256 65d69ec75ee79a9220c5afcb784857b0750cf0d6c2c1cdb57cb383b305b056dc

See more details on using hashes here.

File details

Details for the file srun_swpu_cli-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: srun_swpu_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for srun_swpu_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 17afe00a7326430dd1b18b5b9a13be765c38055b334092a2ebcf06783c96e8f1
MD5 8a394c3ba41b91c01545ac49278f5ed8
BLAKE2b-256 a4045e2c06c7b2500b7574e57e959c2be1ccb36a4c5985f498c2f6e33563f6a3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page