semvec/pypi-packages huggingface dataset:
scientistmetrics 0.0.4
Python package for metrics and scoring : quantifying the quality of predictions
Requires Python: >=3.10

# scientistmetrics : python library for model metrics

## About scientistmetrics

scientistmetrics is a Python package for metrics and scoring : quantifying the quality of predictions

## Why scientistmetrics?

### Measure of association with categoricals variables

scientistmetrics provides the option for computing one of six measures of association between two nominal variables from the data given in a 2d contingency table:

* Chi - squard test : [https://en.wikipedia.org/wiki/Chi-squared_test](https://en.wikipedia.org/wiki/Chi-squared_test)
* Cramer's V : [https://en.wikipedia.org/wiki/Cram%C3%A9r%27s_V](https://en.wikipedia.org/wiki/Cram%C3%A9r%27s_V)
* Tschuprow's T : [https://en.wikipedia.org/wiki/Tschuprow%27s_T](https://en.wikipedia.org/wiki/Tschuprow%27s_T)
* G-test : [https://en.wikipedia.org/wiki/G-test](https://en.wikipedia.org/wiki/G-test)
* Phi coefficient : [https://en.wikipedia.org/wiki/Phi_coefficient](https://en.wikipedia.org/wiki/Phi_coefficient)
* Pearson contingence coefficient : [https://www.statisticshowto.com/contingency-coefficient/](https://www.statisticshowto.com/contingency-coefficient/)

### Classification metrics

scientistmetrics provides metrics for classification problem :

* accuracy score
* f1 score
* precision
* recall
* etc...

### Regression metrics

scientistmetrics provides metrics for regression problem :

* Rsquared
* Adjusted Rsquared
* Mean squared error
* etc...

### Powerset model

scientistmetrics provides a function that gives a set of all subsets model.

Notebook is availabled.

## Installation

### Dependencies

scientistmetrics requires :

```
python >=3.10
numpy >=1.26.4
pandas >=2.2.2
scikit-learn >=1.2.2
plotnine >=0.10.1
statsmodels >=0.14.0
scipy >=1.10.1
```

## User installation

You can install scientistmetrics using `pip` :

```
pip install scientistmetrics
```

## Author(s)

Duvérier DJIFACK ZEBAZE [duverierdjifack@gmail.com](mailto:duverierdjifack@gmail.com)
stream-downloader 0.1.1
Python library for downloading video streams by m3u8 file.
Requires Python: >=3.8

# stream_downloader
Download a stream by m3u8 file.

## Prerequisites
This library requires `ffmpeg` to be previously installed on your machine.
Detailed instructions on `ffmpeg` installation can be found [here](https://ffmpeg.org/download.html).

## Install package from PyPi
```cmd
pip install stream_downloader
```

## Usage
```python
from stream_downloader import download

download(
    playlist_url="https://my-video-hosting.com/id/manifest.m3u8",
    headers={"User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/117.0"},
    video_channel=0,
    audio_channel=0,
    destination_file="my_videos/video.mp4",
)
```
godspeed-api 0.2.2
A Godspeed task manager API wrapper
Keywords: python, godspeed

# Godspeed-API

[![Python 3.9+](https://img.shields.io/badge/python-3.9%2B-blue)](https://www.python.org/downloads/release/python-390/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

A Python API wrapper for [Godspeed](https://godspeedapp.com/). 
## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install Godspeed-API.

```bash
pip install godspeed-api
```

## Features

- Task creation (`create_task`)
- Task modification (`update_task`)
- Paginated task query (`list_tasks`)

## Usage
```python
from godspeed_api import API

api = API("your-username", "your-password")

# to create a task
api.create_task(
    title='Your Task Title', 
    list_id='list_id', 
    location='location', 
    notes='notes', 
    due_at=datetime.datetime.now(), 
    # Note that current godspeed api will fail to add a task with new label_names, however it will not throw an error
    label_names=['label1', 'label2']
)
```

## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

## License
[MIT](https://choosealicense.com/licenses/mit/)
caustic.cst 2.1.1
Caustic's Abstract Syntax Tree, or CST
Requires Python: >=3.9
Keywords: caustic, language, parser, ast, syntax, tree

Caustic's Abstract Syntax Tree

Note that the `serialize` module, instead of providing node types,
provides (de)serialization functions for nodes

# Nodes

> Note: Treat all names as being under `caustic.cst`

> Note: nodes marked with `*` are considered "base" nodes,
> and nodes prefixed with `_` are implementation details used
> purely for grouping

```
CSTNode*
 ├─ CustomNode
 ├─ block.Block
 ├─ typedecl.Type
 ├─ expressions.Expression*
 │   ├─ procedure.ProcedureExpr
 │   ├─ procedure.Invokation
 │   ├─ expressions.atoms.Atom*
 │   │   ├─ expressions.atoms.Identifier
 │   │   ├─ expressions.atoms.DottedIdentifier
 │   │   └─ expressions.atoms.Integer
 │   ├─ expressions.operators.Operation*
 │   │   ├─ expressions.operators._UnaryOp*
 │   │   │   ├─ expressions.operators.Positive
 │   │   │   ├─ expressions.operators.Negative
 │   │   │   ├─ expressions.operators.LogInverse
 │   │   │   ├─ expressions.operators.BitInverse
 │   │   │   ├─ expressions.operators.Increment
 │   │   │   └─ expressions.operators.Decrement
 │   │   ├─ expressions.operators._BinaryOp*
 │   │   │   ├─ expressions.operators.Subscription
 │   │   │   ├─ expressions.operators.Add
 │   │   │   ├─ expressions.operators.Sub
 │   │   │   ├─ expressions.operators.Mult
 │   │   │   ├─ expressions.operators.MMul
 │   │   │   ├─ expressions.operators.Div
 │   │   │   ├─ expressions.operators.Mod
 │   │   │   ├─ expressions.operators.Exp
 │   │   │   ├─ expressions.operators.EQ
 │   │   │   ├─ expressions.operators.NE
 │   │   │   ├─ expressions.operators.LT
 │   │   │   ├─ expressions.operators.LE
 │   │   │   ├─ expressions.operators.GT
 │   │   │   ├─ expressions.operators.GE
 │   │   │   ├─ expressions.operators.NullCoalescing
 │   │   │   ├─ expressions.operators.LogAnd
 │   │   │   ├─ expressions.operators.LogOr
 │   │   │   ├─ expressions.operators.LogXOr
 │   │   │   ├─ expressions.operators.BitAnd
 │   │   │   ├─ expressions.operators.BitOr
 │   │   │   ├─ expressions.operators.BitXOr
 │   │   │   ├─ expressions.operators.LShift
 │   │   │   └─ expressions.operators.RShift
 │   │   └─ expressions.operators.TernaryConditional
 └─ statements.Statement*
     ├─ procedure.ProcedureStmt
     ├─ statements.Declaration
     ├─ statements.Assignment
     ├─ statements.If
     │   └─ statements.Elif
     ├─ statements.Else
     ├─ statements.While
     │   ├─ statements.DoWhile
     │   └─ statements.For
     ├─ statements.ForOf
     └─ statements.objects.Object*
         ├─ statements.objects.Enum
         ├─ statements.objects.Struct
         ├─ statements.objects.Namespace
         └─ statements.objects.Class
```
dspy_tool 0.1.1
DJI DSP Tools for Python
Requires Python: >=3.8

# DJI DSP 工具

## 简介

本工具提供了一些处理 DSP 文件的常用工具，包括

- 编解码工具 dsp-codec
- *and more*

## 安装

### 使用 PyPI 安装

运行命令
```bash
pip install dspy_tool
```

若您网络条件不佳，建议使用清华源安装
```bash
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple dspy_tool
```

### 使用源码安装

需要您提前安装 Python, Git 以及 [flit](https://pypi.org/project/flit/) 包

1. 克隆本项目或下载 zip 文件  
   克隆命令  
   Using SSH
   ```bash
   git clone git@github.com:RMYC-Lab/dspy-tool.git
   ```
   or using HTTPS
   ```bash
   git clone https://github.com/RMYC-Lab/dspy-tool.git
   ```
2. 进入项目文件夹
   ```bash
   cd dji-dsp-tools
   ```
3. 安装
   ```bash
   flit install
   ```

## DSP 编解码工具 dsp-codec

命令
`python -m dspy_tool.cli.dsp_codec` 或者
```
dsp-codec input [--output OUTPUT] [--file-name FILE_NAME]
          [--std-out] [--raw] [--delete-comments]
          [--title TITLE] [--creator CREATOR]
          [-h] [--version]
```

### 参数

- input: 输入文件路径 (`.dsp` 或 `.py` 格式文件)
- `-o OUTPUT, --output OUTPUT`: 输出文件夹路径
- `-f FILE_NAME, --file-name FILE_NAME`: 输出文件名  
  若为空，则会根据输入文件名及当前时间生成输出文件名
- `-s, --std-out`: 输出到标准输出 (打印到屏幕上)  
  *Update in verison 0.1.1: 现在会直接 `return` 解码后的字符以方便其他程序使用*
- `-r, --raw`: 输出为原始数据 (DSP 解码后 xml 文件)
- `--dc, --delete-comments`: 删除图形化块注释 (以 `#block` 开头)
- `--pc, --process-chinese`: 处理中文字符  
  将会将 `.dsp` 文件的 _xx_xx_xx_ 格式的字符转换为中文字符 (实际为 utf-8 编码)
- `-t TITLE, --title TITLE`: 设置文件标题
- `-c CREATOR, --creator CREATOR`: 设置文件创建者
- `--debug`: 输出调试信息
- `-h, --help`: 显示帮助信息
- `-v, --version`: 显示版本信息

## DSP 文件管理器 dsp-fm

命令
`python -m dspy_tool.cli.file_manager` 或者
```
dsp-fm [--dsp-dirs] [--add ADD] [--remove REMOVE] [--list] [--tui] [--version] [-h] 
```

### 参数

- `--dsp-dirs, -d`: 显示 DSP 文件夹列表
- `--add ADD, -a ADD`: 添加 DSP 文件夹
- `--remove REMOVE, -r REMOVE`: 移除 DSP 文件夹
- `--list, -l`: 列出 DSP 文件夹列表
- `--tui, -t`: 使用 TUI 显示 DSP 文件夹列表  
  进入后程序将自动扫描 DSP 文件夹列表中的文件并显示  
  并在右方显示 Python 代码  
  快捷键:  
  - `C`: 复制选中的 Python 代码到剪贴板
  - `D`: 解密选中的文件 且在 Windows 资源管理器中打开
  - `S`: 切换界面风格
  - `O`: 在 Windows 资源管理器中打开选中的文件夹
  - `Q`: 退出 TUI
- `--version, -v`: 显示版本信息
- `-h, --help`: 显示帮助信息

## 常见问题 Q&A

1. Q: 为什么我安装不了？  
   A: 请检查你的 Python 版本，本工具需要 Python 3.8 或以上版本

2. Q: 提示找不到文件？  
   A: 请检查你的环境变量是否配置正确，或者使用 `python -m dspy_tool.cli.TOOL_NAME` 命令