semvec/pypi-packages huggingface dataset:
sonic-arabic 1.0.1
анализ арабской речи
Requires Python: >=3.9

# sonic_arabic

## Описание
```
Библиотека предназначена для анализа аудиофайлов на арабском языке. 
```
## Установка
```
# on Ubuntu or Debian
sudo apt update && sudo apt install ffmpeg cmake libboost-all-dev python3.9-dev

# on MacOS using Homebrew (https://brew.sh/)
brew install ffmpeg cmake boost

pip install sonic_arabic
```

## Функциональность
```
Основной класс для взаимодействия - AudioAnalysisPipeline
Основной метод класса - predict, он принимает путь к аудифайлу.
Возращает словарь формата:
{
'ner': ner_res, # результат работы ner модели
'sentiment': sentiment_res, 
'punctuation': punctuation_res,
'orig_text': orig_text # текст, полученный после транскрибации 
}
```

## Пример
```
from sonic_arabic import AudioAnalysisPipeline

path_audio_file = 'data/arabic_1m.m4a'
analyzer = AudioAnalysisPipeline()
result = analyzer.predict(path_audio_file)
print(result['orig_text'])
print(result['ner'])
print(result['sentiment'])
print(result['punctuation'])

```
py-agata-gcappon 0.0.1
A small example package
Requires Python: >=3.9

# PYAGATA

<img src="https://i.postimg.cc/G3YXvWWh/agata-logo.png" width="250" height="250">

[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://github.com/gcappon/py_agata/COPYING)
[![GitHub commit](https://img.shields.io/github/last-commit/gcappon/py_agata)](https://github.com/gcappon/py_agata/commits/master)
[![CircleCI](https://circleci.com/gh/gcappon/py_agata.svg?style=shield)](https://circleci.com/gh/gcappon/py_agata)
[![codecov](https://codecov.io/gh/gcappon/py_agata/graph/badge.svg?token=RR39WKLDIK)](https://codecov.io/gh/gcappon/py_agata)

Official Python porting of AGATA (Automated Glucose dATa Analysis): a toolbox to analyse glucose data. 

## Citing

If you are using AGATA in your research, please cite it:  
```
Cappon G, Sparacino G, Facchinetti A. AGATA: A toolbox for automated glucose data analysis.  
J Diabetes Sci Technol. 2023. DOI: 10.1177/19322968221147570
```

Link to the paper --> [here](https://doi.org/10.1177/19322968221147570)
mongo-tool 0.0.1
Mongodb数据操作工具
Requires Python: >=3.8.5,<4.0.0

# mongodb-tool

mongodb操作工具

## 环境准备

### 安装happy-python & pymongo
```bash
poetry install
```

## 本地安装
```bash
poetry build -f wheel
pip install -U --user dist/zcx-*-py3-none-any.whl
```
列出 Python 包文件列表：
```bash
pip show zcx -f
```

终端输出：

    Name: zcx
    Version: 0.0.1
    Summary: Mongodb数据操作工具
    Home-page: https://github.com/Zcxx0322/mongodb-tool
    Author: Zcx
    Author-email: colampszcx@gmail.com
    License: 
    Location: /home/colamps/.local/lib/python3.11/site-packages
    Requires: happy-python, pymongo, pytest
    Required-by: 
    Files:
      ../../../bin/zcx
      __pycache__/main.cpython-311.pyc
      conf/config.ini.sample
      conf/log.ini.sample
      main.py
      method/__init__.py
      method/__pycache__/__init__.cpython-311.pyc
      method/__pycache__/file_create.cpython-311.pyc
      method/__pycache__/mongodb_base.cpython-311.pyc
      method/__pycache__/mongodb_dump.cpython-311.pyc
      method/__pycache__/mongodb_import.cpython-311.pyc
      method/file_create.py
      method/mongodb_base.py
      method/mongodb_dump.py
      method/mongodb_import.py
      var/log/error.log
      zcx-0.0.1.dist-info/INSTALLER
      zcx-0.0.1.dist-info/LICENSE
      zcx-0.0.1.dist-info/METADATA
      zcx-0.0.1.dist-info/RECORD
      zcx-0.0.1.dist-info/REQUESTED
      zcx-0.0.1.dist-info/WHEEL
      zcx-0.0.1.dist-info/direct_url.json
      zcx-0.0.1.dist-info/entry_points.txt
## 使用方法

获取命令行工具执行路径：

```bash
python -c "import site; print('%s/bin/zcx' % site.USER_BASE)"
```
终端输出：

    ~/.local/bin/zcx

### 运行

```bash
~/.local/bin/zcx
```

### 增加数据

```bash
zcx -i '{"name": "John", "age": 30, "city": "New York"}'
```

### 增加数据
```bash
zcx -i '{"name": "John", "age": 30, "city": "New York"}'
```

### 删除数据
```bash
zcx -d '{"name": "John", "age": 30, "city": "New York"}'
```

### 查找数据

#### 查找指定键值对数据
```bash
zcx -s '{"name": "John"}'
```

#### 查找集合中所有数据
```bash
zcx mongodbtool.py -s 
```

### 修改数据
```bash
zcx -u '{"name": "John", "age": 34, "city": "Shanghai"}'
```
### 导入导出数据

#### 导出数据至指定文件
```bash
zcx --dump filename
```

#### 从指定文件导入数据
```bash
zcx --import filename
```

## 使用详细
请使用zcx --help/-h
```
$ zcx -h
2023-09-27 11:54:51 13771 [INFO] 未启用日志配置文件，加载默认设置
2023-09-27 11:54:51 13771 [INFO] 日志配置文件 '/home/colamps/.zcx/log.ini' 加载成功
2023-09-27 11:54:51 13771 [ERROR] 命令行参数错误，请查看使用说明：
usage: mongodb_tool [-c <config_file>] [-l <log_config_file>][-i <data>] [-d <data>] [-s <data>] [-u <data>] [--dump <filename>] [--import <filename>]

MongoDB工具

options:
  -h, --help            show this help message and exit
  -c CONFIG_FILE        配置文件路径，默认为 ~/.zcx/config.ini
  -l LOG_CONFIG_FILE    日志配置文件路径，默认为 ~/.zcx/log.ini
  -i INSERT_DATA        执行插入操作，提供数据（JSON格式）
  -d DELETE_DATA        执行删除操作，提供查询条件（JSON格式）
  -s [SEARCH_DATA]      执行查询操作，提供查询条件（JSON格式）
  -u UPDATE_DATA        执行更新操作，提供查询条件和更新数据（JSON格式）
  --dump DUMP_FILE      导出数据到指定文件（JSON格式）
  --import IMPORT_FILE  从指定文件导入数据（JSON格式
```