Metadata-Version: 2.1
Name: PyP100
Version: 0.0.6
Summary: A module for controlling the TP-Link Tapo P100 Plugs
Home-page: https://github.com/fishbigger/TapoP100
Author: Toby Johnson
Author-email: toby.e.m.Johnson@gmail.com
License: MIT
Download-URL: https://pypi.org/project/PyP100/
Keywords: Tapo,Tp-Link,P100
Platform: UNKNOWN
Description-Content-Type: text/markdown
Requires-Dist: pycryptodome (==3.9.8)
Requires-Dist: pkcs7 (==0.1.2)
Requires-Dist: requests (==2.24.0)

# Tapo P100
Tapo P100 is a Python library for controlling the Tp-link Tapo P100 plugs.

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install PyP100.

```bash
pip3 install PyP100
```

## Usage

```python
from PyP100 import PyP100

p100 = PyP100.P100("192.168.X.X", "email@gmail.com", "Password123") #Creating a P100 plug object

p100.handshake() #Creates the cookies required for further methods 
p100.login() #Sends credentials to the plug and creates AES Key and IV for further methods

p100.turnOn() #Sends the turn on request
p100.turnOff() #Sends the turn off request
p100.getDeviceInfo() #Returns dict with all the device info


```

## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

## Contributers
[K4CZP3R](https://github.com/K4CZP3R)

## License
[MIT](https://choosealicense.com/licenses/mit/)

