semvec/pypi-packages huggingface dataset:
MaizePageContacts 0.0.2
Scrape contact information of student-orgs at UMich
License: MIT
Requires Python: >=3

# MaizePageContacts
[![PyPI](https://img.shields.io/pypi/v/MaizePageContacts.svg?style=flat)](https://pypi.org/project/MaizePageContacts)
[![license](https://img.shields.io/pypi/l/MaizePageContacts.svg?style=flat)](https://pypi.org/project/MaizePageContacts)

A script for scraping contact information of student-orgs on  [MaizePages](https://maizepages.umich.edu).

## Install
```
pip install MaizePageContacts
```

## Usage
Run the scraping script and output data to `org_data.csv`
```
maizescrape
```

Output format:
```
<full org name>, <org short name>, <firstname>, <lastname>, <email>
...
```

## Developing
Get [Pipenv](https://pipenv.readthedocs.io/en/latest/).

```
pipenv run python setup.py develop
pipenv run maizescrape
```
vesync-outlet 0.1.1
vesync-outlet is a library to control Vesync wifi outlets
License: MIT
Keywords: vesync,iot

# vesync-outlet
Python module to control Vesync WiFi power outlets

## Installation
```
pip3 install vesync-outlet
```

## Usage
```
from vesync_outlet import Vesync

hashpw = hashlib.md5(password.encode('utf-8')).hexdigest()

vesync = Vesync(username, hashpw)
devices, response = vesync.get_outlets()
for d in devices:
  data, response = vesync.turn_on(d['id'])
  data, response = vesync.turn_off(d['id'])
```

## Methods
The methods below return a tuple. The first element is the payload data.
If this entry is None, check results in the response object for errors.

### get_devices()
Get all wifi-switch outlet devices from Vesync api.

Arguments: none
Returns: ( payload, requests.response )

### turn_off(id)
Switch an outlet to OFF.

Arguments: the device ID
Returns: ( payload, requests.response )

### turn_on(id)
Switch an outlet to ON.

Arguments: the device ID
Returns: ( payload, requests.response )