semvec/pypi-packages huggingface dataset:
flask-restx-patched 0.1.16
Forked from flask-restplus-patched. Extends flask-restx so it can handle Marshmallow schemas and Webargs arguments.

Flask RestX Patched
======================

Extends `Flask-Restx <https://github.com/python-restx/flask-restx>`_ so it can handle `Marshmallow <https://github.com/marshmallow-code/marshmallow>`_ schemas and `Webargs <https://github.com/sloria/webargs>`_ arguments.

This is a forked version of a package which does the same thing but for Flask-RestPlus.

The code here is copied directly from the ``flask_restplus_patched`` directory in `Flask-RestPlus Server Example <https://github.com/frol/flask-restplus-server-example>`_. It's easier to use as a dependency in other projects, if it exists in its own repo and is available on PyPI, rather than needing to be copied manually from there.
vklight 1.3.8
VKLight - Light wrapper for VK's API
Requires Python: >=3.8,<4.0

# VKLight
 Легкая обёртка для работы с VK API.

# Установка
```
pip install vklight
```


# Пример использования

```python
from vklight import VKLight, VKLightError

api = VKLight({
	"access_token": "...",
	"v": "5.150",
	"lang": "ru",
	"host": "api.vk.me"
})
```
```python
try:
	api.call("users.get", { "user_id": 1})
except VKLightError as e:
	print(e) 
# {'response': [{'id': 1, 'first_name': 'Павел', 'last_name': 'Дуров', 'is_closed': False, 'can_access_closed': True}]}
```
или 
```python
api("users.get", {"user_id": 1})
# {'response': [{'id': 1, 'first_name': 'Павел', 'last_name': 'Дуров', 'is_closed': False, 'can_access_closed': True}]}
```

Использование execute-методов
```python
api.execute(r"return API.users.get({'user_id': 1});")
# {'response': [{'id': 1, 'first_name': 'Павел', 'last_name': 'Дуров', 'is_closed': False, 'can_access_closed': True}]}
```

# Лицензия
MIT License