semvec/pypi-packages huggingface dataset:
podio-python 0.1.9
API wrapper for Podio written in Python
License: MIT
Requires Python: >=3.7,<4.0

# podio-python
![](https://img.shields.io/badge/version-0.1.9-success) ![](https://img.shields.io/badge/Python-3.8%20|%203.9%20|%203.10%20|%203.11-4B8BBE?logo=python&logoColor=white)  

*podio-python* is an API wrapper for Podio, written in Python.  
This library uses Oauth2 for authentication.
## Installing
```
pip install podio-python
```
## Usage
```python
# if you have an access token:
from podio.client import Client
client = Client(access_token=access_token)
```
```python
# if you are using Oauth2 to get an access_token:
from podio.client import Client
client = Client(client_id=client_id, client_secret=client_secret, redirect_uri=redirect_uri)
```
To obtain and set an access token:
1. **Get authorization URL**
```python
url = client.authorization_url(state=None)
```
2. **Get access token using code**
```python
response = client.get_access_token(code)
```
3. **Set access token**
```python
client.set_token(access_token)
```
Check more information about Podio Oauth: https://developers.podio.com/authentication/server_side
#### Refresh token
If your access token expired you can use your refresh token to obtain a new one:
```python
token = client.refresh_token(refresh_token)
# And then set your token again:
client.set_token(token["access_token"])
```
#### Get user status
```python
user = client.get_user_status()
```
### Organizations
#### List organizations
```python
orgs = client.list_organizations()
```
#### List organization spaces
```python
spaces = client.get_organization_spaces(org_id)
```
#### Get space
```python
spaces = client.get_space(space_id)
```
#### List space members
```python
members = client.get_space_members(space_id)
```
### Applications
#### List applications
```python
apps = client.list_applications()
```
#### Get application
```python
app = client.get_application(app_id)
```
#### Get item
```python
item = client.get_item(item_id)
```
#### Create item
```python
body = {"fields": {"title": "Juan Assignment", "status": 1}}
item = client.create_item(app_id, body)
```
#### Get task
```python
task = client.get_task(task_id)
```
#### Create task
```python
body = {"text": "Text of the task", "description": "desc"}
task = client.create_task(body)
```
#### Get task labels
```python
labels = client.get_task_labels()
```
### Webhooks
#### List webhooks
```python
hooks = client.list_webhooks(ref_type, ref_id)
```
#### Create webhook
```python
hook = client.create_webhook(ref_type, ref_id, url, hook_type)
```
#### Validate hook verification
```python
client.validate_hook_verification(webhook_id, code)
```
#### Delete webhook
```python
client.delete_webhook(webhook_id)
```
mkwhatkit 0.0.1
This is a library that can do several things.
License: MIT
Keywords: play,prompt,error,info,password,calculate,mouse_position,move_mouse,click,recognize_speech,speak,speak_voices,set_voice,create_tk_calculator

This library does several things.

Like:-
- Playing video on youtube
- Prompting an input from user via GUI
- Taking the input in '*' format via GUI
- Changing Mouse position
- Moving the mouse
- Making the mouse click on screen
- Speaking the text
- Recognizing the voice
- Changing the voice of the spoken text
- Creating a Calculator with GUI (with one command)
- Solving any expressiong
- Displaying an error message
- Displaying info

For Example:
1) Playing a video:

import mkwhatkit

mkwhatkit.play("Video name")

2) Prompting via GUI:

import mkwhatkit

a = mkwhatkit.prompt("Enter :")

3) Prompting the text hidden:

import mkwhatkit

a = mkwhatkit.password("Enter :")

4) Changing Mouse Position:

import mkwhatkit

mkwhatkit.move_mouse(100,100)

5) Making the mouse click:

import mkwhatkit

# mkwhatkit.click(x,y,clicks,interval,button)
mkwhatkit.click(100,100,1,0,'left')

6) Speaking a set of String :

import mkwhatkit

# mkwhatkit.speak(text)
mkwhatkit.speak("hello")

7) Taking input from the voice:

import mkwhatkit

text = mkwhatkit.recognize_speech()

8) The voice of the spoken text could be changed :

import mkwhatkit

a = mkwhatkit.speak_voices()
# speak_voices contains two voices : a male & a female voice
# male voice is on 0 index
# male voice is default set on the speak() function.
# female voice is on 1 index
voice = a[1]
mkwhatkit.set_voice(voice)

9) Creating a calculator :

import mkwhatkit

mkwhatkit.create_tk_calculator()

10) Solving any expression :

import mkwhatkit

answer = mkwhatkit.calculate("1000*50")
# any expression could be added to solve (without variables) in str format.

11) Displaying an error message:

import mkwhatkit

mkwhatkit.error("Text")

12) Displaying info:

import mkwhatkit

mkwhatkit.info("Text")

=======================================================================================================================================================================================

ChangeLog
==========

1.0.0(29-09-2023)
___________________
-First Release