semvec/pypi-packages huggingface dataset:
easy-vk 0.0.37
Обертка для VK api
Requires Python: >=3.6, <3.8

# easy_vk
Библиотека в стадии разработки

## Оглавление
1. [Особенности](https://github.com/Phinnik/easy_vk#Особенности)
1. [Установка библиотеки](https://github.com/Phinnik/easy_vk#Установка-библиотеки)
1. [Примеры использования](https://github.com/Phinnik/easy_vk#Примеры-использования)
    - [Для пользователей](https://github.com/Phinnik/easy_vk#Для-пользователей)
    - [Для ботов](https://github.com/Phinnik/easy_vk#Для-ботов)
1. [Планы на будущее](https://github.com/Phinnik/easy_vk#Планы-на-будущее)

## Особенности:
(клик по гифке для увеличения)
* Качественные подсказки:
<img src="./presentation/server-time.gif" width="300" />

* Подсказки, реагируют на содержание параметров
<img src="./presentation/parameters.gif" width="300" />


## Установка библиотеки:
```shell script
pip install easy_vk
```

## Примеры использования
### Для пользователей
```python
# Пример получения времени на сервере VK

from easy_vk.user import User

vk = User('YOUR ACCESS_TOKEN')
server_time = vk.utils.get_server_time()
print(server_time)
# 1233432
```

### Для ботов:
#### Пример использования
```python
# Пример простого Hello world бота
# (Если боту приходит сообщение 'Hello', он отправит обратно сообщение 'world')

import time
from easy_vk.bot import Bot

bot_access_token = 'BOT ACCESS TOKEN'
group_id = 123123

bot = Bot(bot_access_token, group_id)

@bot.handler.message_new(regexp='Hello')
def response(message):
    bot.messages.send(user_id = message.message.from_id, 
                      message = 'world',
                      random_id = time.time())

bot.run()
```
#### Пример реализации клавиатуры
<img src="./presentation/keyboard.jpg" alt="Реализация клавиатуры по шаблону" width="300">

```python
import time
from easy_vk.bot import Bot
from easy_vk.bot.keyboard import Keyboard


keyboard_template = """inline
___
||text|label::Текстовая кнопка||  ||open_link|link::https://vk.com/phinnik|label::Автор||
||location||
||text|label::Красная|color::negative||  ||text|label::Зеленая|color::positive||  ||text|label::Синяя|color::primary||
"""
keyboard = Keyboard.from_template(keyboard_template)

bot = Bot(group_access_token, group_id)

@bot.handler.message_new()
def response(message):
    bot.messages.send(user_id = message.message.from_id,
                      message = 'Клавиатура!',
                      keyboard=keyboard.to_json(),
                      random_id = time.time())

bot.run()
```


## Планы на будущее
- [X] Типизация данных VK API
- [X] Типизация ответов VK API
- [X] Создание модуля для ботов
- [ ] Создание модуля для парсинга данных
- [ ] Создание модуля базы данных
- [ ] Написание документации
- [ ] Логирование каждого модуля
- [ ] Написание полезных утилит
synchronizer 2.0.2
A collection of utilities for CGI-VFX to copy files from one place to another, find out basic stat differences between them and handle file sequences and textures (tx files).
Requires Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4

# Synchronizer

[![Documentation Status](https://readthedocs.org/projects/synchronizer/badge/?version=latest)](https://synchronizer.readthedocs.io/en/latest/?badge=latest)
[![Build Status](https://travis-ci.org/xiancg/synchronizer.svg?branch=master)](https://travis-ci.org/xiancg/synchronizer)
[![Coverage Status](https://coveralls.io/repos/github/xiancg/synchronizer/badge.svg?branch=master)](https://coveralls.io/github/xiancg/synchronizer?branch=master)

A collection of utilities for CGI-VFX to copy files from one place to another, find out basic stat differences between them and handle file sequences and textures (tx files).

# Installation
```python
pip install synchronizer
```

# Documentation
[Synchronizer Docs](https://synchronizer.rtfd.io)

# Basic Usage:
1. Copies src_path to trg_path. Takes both files and directories as source. If given source is a file and it's part of a sequence it'll find and copy the entire sequence of files.
```python
from synchronizer import copier
copier.process_paths(src_path, trg_path, force_overwrite=True, **kwargs)
```
kwargs: 
    include_tx = True
    only_tx = True
    find_sequence = True

2. Compares two files or directory paths and return sync status. Sync status refers to name and os.stat() comparisons
```python
from synchronizer import syncstatus
syncstatus.get_sync_status(
            src_path, trg_path,
            ignore_name=False,
            ignore_stats=['st_uid', 'st_gid', 'st_atime',
                    'st_ctime', 'st_ino', 'st_dev'])
```

3. Compares two paths and returns whichever has the most recent stat time. Default stat used for comparison is st_mtime which is: Time of most recent content modification.
```python
from synchronizer import syncstatus
syncstatus.get_most_recent(src_path, trg_path, use_stat='st_mtime')
```

4. Find and return all files that are part of a sequence matching file_path. If no sequence found, returns None. Two files are enough to make a sequence, even if they're not sequential. This assumes the sequence digits are right beside the file extension.
    ie: C_myfile_v568.jpg
        MJ_thisisafileseq_455868.dpx
        MB_udimsforthewin.1008.tx
```python
from synchronizer import utils
utils.get_sequence_files(file_path)
```
cronjobfilter 0.0.1
A package will help to filter list of cronjobs which are coming under from date and to date.

# cronjobfilter
To filter list of cronjobs which are coming under from date and to date.

## Test PyPi: 
pip install -i https://test.pypi.org/simple/ cronjobfilter
<br>
* cronjobfilter==0.0.3

## Example:
Python 3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:37:02) [MSC v.1924 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from cronjobfilter.cronjobfilter import greet_user
>>>
>>> greet_user("Sam Peter")
Hello my friend Sam Peter ! How are you ?
>>>
fun-distance 0.0.2b0
A python package, that provides functions for calculating distances and finding tangents of functions
Requires Python: >=3.6

# fun_dist

[![Latest PyPI version](https://img.shields.io/pypi/v/fun-dist.svg)](https://pypi.org/project/fun-dist/0.0.1/)
[![Python 3.7](https://img.shields.io/badge/python-3.7-blue.svg)](https://www.python.org/downloads/release/python-370/)

A python package, that provides functions for calculating **distances** between points, functions, circles and ellipses and finding **tangents** of functions


### Dependencies
* [Scipy](https://github.com/scipy/scipy)
* [Sympy](https://github.com/sympy/sympy)

### Example
```
from fun_dist import func2func

def a(x):
    return -2 * x + 2


def b(x):
    return (x - 4) ** 2

print(func2func(a, b))  # 2.2360679793027156
```