Skip to main content

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.

Source Distribution

justvpn-0.3.1.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

justvpn-0.3.1-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

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