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.0.tar.gz (14.5 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.0-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: srun_swpu_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 14.5 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.0.tar.gz
Algorithm Hash digest
SHA256 e55a1cbd5a8f0effb6de7aa796a6acba6f313412bc6f10fa8117a2a8758f4f37
MD5 f96fe920a5e021eb57a55a77bbcd82e2
BLAKE2b-256 15988931c976564058e148204c26f1f9c35630dfc452f705eb0284c3acdc54e8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: srun_swpu_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.6 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2fe91e27b4a8856dac82d825b6702c4133caa555ed4550ae60debcc504542547
MD5 22fb9e49e3f3a04cb762268a058cc498
BLAKE2b-256 1c6b413be2fdf40cc0fb1a5d0ade660aa88895478ad144fd6a1290e2c9bbcc7d

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