semvec/pypi-packages huggingface dataset:
kubesync 0.9b3.post2
Kubernetes Host to Pod Synchronization Tool

# Kubesync
Kubesync synchronization tool between kubernetes pods or pods and your host.

## Install
### From Pypi

The script is [available on PyPI](https://pypi.org/project/kubesync/). To install with pip:
```shell script
pip install kubesync
```

### From Source Code

```shell script
git clone https://github.com/ahmetkotan/kubesync
cd kubesync
python setup.py build
python setup.py install
```

## Usage
First, you must start watcher with ``kubesync watch`` command and then create selectors with ``kubesync create`` command.  
If you want to ignoring some directory or files, create ``.kubesyncignore`` file like ``.gitignore`` in source path.


## Demo

![kubesync-watcher](examples/casts/kubesync-watcher.gif)
![kubesync-tool](examples/casts/kubesync-tool.gif)

### Watch
Start watching for real-time synchronizations.  
``kubesync watch --help``
* **--pid-file** Watcher PID save to where if you want keep pid, otherwise save to ``~/.kubesync/kubesync.pid`` file.
```shell script
kubesync watch --pid-file=kubesync.pid
```

### Create
Create real-time synchronization.  
``kubesync create --help``
* **-l, --selector** Pod label selector parameter
* **-c, --container** Pod container name
* **-s, --src** Source path from your host
* **-d, --dest** Destination path from pod container
* **-n, --name** Synchronization name. This is not required. This will be created automatically if you don't define it.

```shell script
kubesync create --selector=app=kubesync-example -c nginx -s $(pwd)/examples/nginx-app/html\
 -d /usr/share/nginx/html/ --name example
```

### Sync
Use sync if you want to once move your files to pod container. This doesn't work as real-time. It moves files and shuts.  
``kubesync sync --help``
* **-l, --selector** Pod label selector parameter
* **-c, --container** Pod container name
* **-s, --src** Source path from your host
* **-d, --dest** Destination path from pod container

```shell script
kubesync sync --selector=app=kubesync-example -c nginx -s $(pwd)/examples/nginx-app/html\
 -d /usr/share/nginx/html/
```

### Clone
Use clone If you want to reverse synchronization. It's mean, this container path synchronizations to your host path.  
``kubesync clone --help``
* **-l, --selector** Pod label selector parameter
* **-c, --container** Pod container name
* **-s, --src** Source path from your host
* **-d, --dest** Destination path from pod container
```shell script
kubesync clone --selector=app=kubesync-example -c nginx -s $(pwd)/examples/nginx-app/html\
 -d /usr/share/nginx/html/
```

### Get
Get your all synchronization configurations.
```shell script
kubesync get
```

### Delete
Delete your synchronization configuration.  
``kubesync delete --help``
```shell script
kubesync delete example
```

### Clean
Delete all your synchronization configurations.
```shell script
kubesync clean
```
crix 1.8.2
CRIX.IO official client

# CRIX.io official client
![PyPI - License](https://img.shields.io/pypi/l/crix.svg)
[![PyPI](https://img.shields.io/pypi/v/crix.svg)](https://pypi.org/project/crix/)
![PyPI - Wheel](https://img.shields.io/pypi/wheel/crix.svg)
[![Documentation Status](https://readthedocs.org/projects/crix/badge/?version=latest)](https://crix.readthedocs.io/en/latest/?badge=latest)

This official client of CRIX.io crypto exchange. Supports both synchronous and asynchronous approach

Environment requirements:

* python 3.6+
* requests 2.* 

For several operations like create/cancel orders you should
also be registered in the exchange and got BOT API token and secret.

To access historical data you should get explicit permission by exchange support.

## Installation

* over pip: `pip install crix`
* manually (dev): `pip install git+https://github.com/blockwise/crix-client-py.git#egg=crix`

## Sample usage


### Unauthorized (public) access


```python
import crix

client = crix.Client(env='prod')

# get all symbols
for symbol in client.fetch_markets():
    print(symbol)

# get some order book
depth = client.fetch_order_book('BTC_BCH')
print(depth)
```


### Authorized (clients-only) access

**BOT API token and secret are required**



```python
import crix
from crix.models import NewOrder

client = crix.AuthorizedClient(
    env='prod',
    token='xxyyzz',
    secret='aabbcc'
) # replace token and secret value for your personal API credentials


# list all open orders
for order in client.fetch_open_orders('BTC_BCH'):
    print(order)

# prepare order
new_order = NewOrder.market('BTC_BCH', is_buy=True, quantity=0.1) # or use NewOrder constructor
# place order
order = client.create_order(new_order)
print(order)
```
ssmode 0.1.6
Tools for use in Mode Analytics Jupyter Notebooks
Requires Python: >=3.6

# ssmode

### Installing & Importing
To use the helper functions in a Mode Python Notebook, first install the package by adding this cell:
```python
pip install ssmode -t "/tmp" > /dev/null 2>&1
```
You can then import various functions like:
```python
from ssmode.tables import style_table
```

### Styling Documentation
The functions in files `bar_chart.py`, `kpi.py`, `tables.py` are designed to "fake" the Mode Analytics built-in widgets from the Notebook.

##### Styling Tables
`style_table(df, hl_type=None, n=3, bar_cols=[])`
- `df`: Pandas Dataframe (index will not be displayed)
- `hl_type`: `None` or string `'nlargest'`, `'gradient'` or `'bars'` specifying cell highlighting type
- `n`: integer > 0 specifying how many greatest cells will be highlighted (only applicable for `hl_type='nlargest'`), all numeric columns will get this style
- `bar_cols`: array of strings specifying which columns will get the "bar charty style" (only applicable for `hl_type='bars'`)

##### Styling Bar & Line Charts
`style_bar_chart(ptl_fig, ytitle='')` OR `style_line_chart(ptl_fig, ytitle='')`
- `ptl_fig`: plotly chart with bars
- `ytitle`: title on y-axis

##### Displaying KPI Widget
`display_as_kpi(kpi_name, value)`
- `kpi_name`: string specifying KPI title/name (displayed on top)
- `value`: value of the KPI (large value)

### Processing Functions Documentation

##### Outlier Removal
`prune_quotes(df, variable_col, group_cols, log_scale=True, k=1.5, max_diffs=[(2,3),(3,5),(4,10)])`
- `df`: Pandas Dataframe with data to remove outliers from
- `variable_col`: string with column name based on which outliers will be removed (e.g. `'price'`)
- `group_cols`: array of string(s) with columns to group `df` by for quartile calculation purposes (e.g. `['item_id']`)
- `log_scale`: boolean specifying whether to use logarithmic scale for outlier removal
- `k`: float specifying limit ranges `Q1-k*IQR` and `Q3+k*IQR`
- `max_diffs`: list of tuples with two values, each tuple specifies total number of quotes and the maximal allowed ratio between max/min quotes (if violated, RFQ will be removed before the IQR outlier detection method)
deezersdk 0.18
A python SDK for the Deezer API

This is a python sdk to manipulate the deezer's API

# Installation

```bash
pip install deezersdk
```

# Import

```bash
import deezersdk
```

# Authentication to the API
- You need to have a Deezer account to use the API.

- You have to go on https://developers.deezer.com/myapps and create an a new app 

- You will need, your Application ID, Secret Key and the Redirect URL.

- First we use the `get_oauth_login_url` method to get a login url
    ```bash
    url = Deezer.get_oauth_login_url(
        app_id=DEEZER_APP_ID, 
        redirect_uri=DEEZER_REDIRECT_URI
    )
    ```
- We have to go the url (if the pop up will open and we will be able to login to your deezer account.)

- You will then be redirected to your redirect url with an authorization code in your url.

- With this code you can, request your access token 
    ```
    Deezer.get_oauth_token(app_id=DEEZER_APP_ID, app_secret=DEEZER_APP_SECRET, code=code)
    ```

- You now have your access token, and can use the SDK.

# Using the sdk
## Instantiate the Deezer object
```bash
dz = Deezer(app_id=DEEZER_APP_ID,
                          app_secret=DEEZER_APP_SECRET,
                          code=YOUR_URL_CODE,
                          token=YOUR_ACCESS_TOKEN)
```
## Query the API
### Get my playlists
```bash
dz.get_my_playlists()
```
Will return an array of Playlist objects witch contains the title of the playlist,
 the url of the picture, and a boolean `is_loved_track` to True if it's your loved playlist

### Play a music with the Deezer plugins
```bash
playlists = dz.get_my_playlists()
url = dz.get_widget(playlist=playlists[0])
```
This will give an of the plugin loaded with your playlist. You can add the url in an iframe to display the plugin 
or you can open it directly with :  
```bash
import webbrowser
webbrowser.open(url)
```
You call also play a list of tracks
```bash
playlists = dz.get_my_playlists()
url = dz.get_widget(tracks=tracks)
```
### Get your Flow
```bash
tracks = dz.get_flow()
```
### Get my favorites artists
```bash
artists = dz.get_my_favorite_artists()
```
### Methods on a Track
```bash
album = tack.get_album()
artist = tack.get_artist()
```
### Methods on an Album
```bash
tracks = album.get_tracks()
artist = album.get_artist()
```
### Methods on an Artist
```bash
tracks = artist.get_tracks()
```
Youtube2Images 1.1.0
Python Package to Convert youtube vieo to images frames
Requires Python: >=3.6
Keywords: yuotube,images,dataset images

# Youtube2Images Package to convert any youtube video to frame images

## about

Python Package to convert youtube video to images 

# Installation

```
pip install Youtube2Images
or in colab google cloud
!pip install Youtube2Images
```

## Usage for get frames images 

```
from  Youtube2Images import you2img 
```
```
dir_name='Mozart'
youtube_url='https://youtu.be/7lC1lRz5Z_s'
frame_name='mozart'
total_images=20
folder_images='Mozart_Images'
you2img.youtub2imgs(dir_name,youtube_url,frame_name,total_images,folder_images)

```

## Tutorial 
u can see tutorial in colab 

https://colab.research.google.com/drive/1MpzdcXOL-vzY7M7Arb5JVF4CR0l0T4Ly