semvec/pypi-packages huggingface dataset:
ok-api 1.0.1
Python библиотека для работы с API Одноклассников (API Wrapper ok.ru)
Requires Python: >=3
Keywords: api ok wrapper

# ok_api [![PyPI](https://img.shields.io/pypi/v/ok-api?style=flat-square)](https://pypi.org/project/ok-api/) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/ok-api?style=flat-square)

**ok_api** - python библиотека для работы с API Одноклассников (API Wrapper ok.ru)

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

## Простой пример

```python
from ok_api import OkApi

ok = OkApi(access_token='token', 
           application_key='key', 
           application_secret_key='secret')

print(ok.friends.get())
```

* [Документация](./docs/doc.md)
* [Примеры](./examples)
pqgit 0.1.0
Python Qt Git browser
Requires Python: >=3.8

# pqgit (Python Qt Git)
pqgit is a graphical git browser. It shows the branches and the commit log of a repo. It also shows diffs or launches an external differ (default: meld) to do that.


## Installation

```pip install pqgit``` 


## Usage

When you first run pqgit, it shows a file open dialog; open the .git directory of your project. Change project with Ctrl+O.

You can select one or two commits in the history panel (diff to parent or to each other).

Double-click on some file to open the external differ.

Change branch by selecting one. Be aware that **this actually does a checkout!** It will not delete your working files (I hope :D), but will leave the repo on that branch. I don't like it, but that's how pygit2 behaves (at least I couldn't find out how to just display some branch without checking it out)

## Configuration

Not much at the moment.

To change the default diff tool, set it in `~/.config/pqgit/config.ini`, like:

```
[General]
diff_tool=bcompare
...
```

## Screenshot

![Alt text](screenshot.png?raw=true)

## Contributing
This project uses **tabs**. Please use the included `.style.yapf` and `.pylintrc`

If you want to change the UI, edit `pqgit.ui` with Qt Designer, then run:
```
pyside2-uic pqgit.ui >| src/pqgit/ui.py
```

## Wheel package (for PyPi / installing with pip)
### Install locally
```
pip install -e .
```
### Create packages for PyPi

```
python3 setup.py sdist bdist_wheel
pip install --force-reinstall --no-deps dist/pqgit-<VERSION>-py3-none-any.whl
```
canvs-toolbox-canvsUser 0.1.2
A package for custom canvs analytics
Requires Python: >=3.6

# Canvs Toolbox Package

### Date Formatting
"MM/DD/YY" 

## General
from canvs_toolbox import general as gen
- gen.consolidate_data(file_path, file_type='csv')

## API Tools

### Canvs TV
from canvs_toolbox.api import tv as tvAPI
- tvAPI.twitter_daily_export(api_key, data_mode, start_date, end_date)
- tvAPI.twitter_emotional_authors(api_key, series_id, start_date, end_date)
- tvAPI.airings_backfill(api_key, data_mode, start_date, end_date)
- tvAPI.facebook_backfill(api_key, data_mode, start_date, end_date)

### Canvs Watch
from canvs_toolbox.api import watch as watchAPI
- watchAPI.post_backfill(api_key, data_mode, start_date, end_date)
- watchAPI.series_backfill(api_key, data_mode, start_date, end_date)

### Canvs Social
from canvs_toolbox.api import social as socialAPI
- socialAPI.get_facebook_posts(api_key, fb_id, org_id, start_date, end_date, query_increment=None)
- socialAPI.get_page_collection(api_key, org_id, start_date, end_date, fb_pages, query_increment=None)

## Analytics Tools

### Canvs TV
from canvs_toolbox.analytics import tv as tvAnalytics

#### Audience Overlap Analysis
- implementation: tvAnalytics.audience_overlap_analysis(directory)
- input directory should contain audience csv files from calling tvAPI.twitter_emotional_authors()
- analysis will find the overlapping audiences across those csv files
- for best results, rename the csv files to desired series names (e.g. showA, showB)

#### Audience Erosion Analysis
- implementation: tvAnalytics.audience_erosion_analysis(filename)
- input file should be a single audience csv file from calling tvAPI.twitter_emotional_authors()
- creates an episode-over-episode drop-off analysis

#### Emotional Fingerprinting Analysis
- implementation: emotional_fingerprinting_analysis(source, filename, format)
- input file should be either from a direct Explore Programs export from the Canvs App
or from any of the API exports except twitter_emotional_authors
- computes an emotional similarity score for all possible combinations of passed-in content
- can choose to either return a stacked view of all pairings and their scores (format = 'stacked)
or a matrix view containing similarity scores at content intersections (format = 'matrix')