semvec/pypi-packages huggingface dataset:
nordvpn-connect 0.0.7
A Python library to connect to NordVPN, works on Windows and Linux
License: MIT

# NordVPN-connect

This repo has been forked from https://github.com/kboghe/NordVPN-switcher by Kristof Boghe.  
Thank you for your work.   

## Description
This lib allows you to connect to a NordVPN server. Works on Windows and Linux. 

## Install 

``pip install nordvpn-connect``


## Simple Usage

````python
from nordvpn_connect import initialize_vpn, rotate_VPN, close_vpn_connection

# optional, use this on Linux and if you are not logged in when using nordvpn command

settings = initialize_vpn("France")  # starts nordvpn and stuff
rotate_VPN(settings)  # actually connect to server

# YOUR STUFF

close_vpn_connection(settings)

````

## Usage with credentials (Only Linux)

If when you use `nordvpn` command it asks you for credentials, you'll need to provide them to the `initialize_vpn` function.

````python
from nordvpn_connect import initialize_vpn, rotate_VPN, close_vpn_connection

# optional, use this on Linux and if you are not logged in when using nordvpn command

settings = initialize_vpn("France", "USERNAME", "PASSWORD")  # starts nordvpn and stuff
rotate_VPN(settings)  # actually connect to server

# YOUR STUFF

close_vpn_connection(settings)

````
classcharts.py 0.1.1
A python wrapper for the Classcharts API
License: MIT
Requires Python: >=3.7.0

# classcharts.py

An unofficial API wrapper for the ClassCharts homework and student API.
It is work-in-progress.

## Examples

Examples are using the asyncio REPL.

```py
>>> import asyncio
>>> import datetime   
>>> import classcharts
>>> hc = classcharts.HomeworkClient("Your_School_Here")
>>> await hc.request(datetime.datetime.now(), 7)
[<Homework ...>, <Homework ...>]
```

```py
>>> import asyncio
>>> import datetime
>>> import classcharts
>>> sc = classcharts.StudentClient("MYC0D3", datetime.datetime(year=1970, month=1, day=1))
>>> await sc.detentions()
[<Detention ...>, <Detention ...>]
```

## Requirements

- `aiohttp`
- `beautifulsoup4`
- `lxml`

## Install

```sh
$ python -m pip install -U classcharts.py
```