Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

An library which used to connect to JUST VPN

Project description

https://img.shields.io/pypi/v/justvpn.svg https://img.shields.io/pypi/l/justvpn.svg https://img.shields.io/pypi/pyversions/justvpn.svg

一个方便使用江苏科技大学VPN访问网站的Python库

对Python的request库中Session类进行了简单封装

使用实例(就像普通的requests Session一样!):

from justvpn import JustVpnSession

session = JustVpnSession('[你的帐号]', '[你的密码]')
session.login() # 登录成功返回True
session.get('https://www.cnki.net') #获取知网首页

安装方法:

Windows:

安装好python并加入到环境变量后,直接在PowerShell运行

pip install justvpn

Ubuntu:

sudo apt update && sudo apt upgrade
sudo apt install python python-pip
sudo pip install justvpn

Arch Linux:

sudo pacman -Syu python python-pip
sudo pip install justvpn

Project details


Download files

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

Files for justvpn, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size justvpn-0.3.0-py3-none-any.whl (4.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size justvpn-0.3.0.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page