semvec/pypi-packages huggingface dataset:
regula.facesdk.webclient 7.1.257rc0
Regula's FaceSDK web python client
Requires Python: >=3.5
Keywords: face recognition, facesdk, regulaforensics, regula

# Regula Face SDK web API Python 3.5+ client

[![OpenAPI](https://img.shields.io/badge/OpenAPI-defs-8c0a56?style=flat-square)](https://github.com/regulaforensics/FaceSDK-web-openapi)
[![documentation](https://img.shields.io/badge/docs-en-f6858d?style=flat-square)](https://support.regulaforensics.com/hc/en-us/articles/115000916306-Documentation)
[![live](https://img.shields.io/badge/live-demo-0a8c42?style=flat-square)](https://faceapi.regulaforensics.com/)

Face recognition as easy as reading two bytes.

If you have any problems with or questions about this client, please contact us
through a [GitHub issue](https://github.com/regulaforensics/FaceSDK-web-python-client/issues).
You are invited to contribute [new features, fixes, or updates](https://github.com/regulaforensics/FaceSDK-web-python-client/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22), large or small; 
We are always thrilled to receive pull requests, and do our best to process them as fast as we can.
See [dev guide](./dev.md)

## Install package
`regula.facesdk.webclient` is on the Python Package Index (PyPI):

```bash
pip install regula.facesdk.webclient
```

Or using `pipenv`
```bash
pipenv install regula.facesdk.webclient
```

## Example
Performing request:

```python
from regula.facesdk.webclient import *

with open("face1.jpg", "rb") as f:
    face_1_bytes = f.read()

with open("face2.jpg", "rb") as f:
    face_2_bytes = f.read()

with MatchingApi(host="http://0.0.0.0:41101/api") as api:
    images = [
        MatchImage(index=1, data=face_1_bytes, type=ImageSource.LIVE),
        MatchImage(index=2, data=face_1_bytes, type=ImageSource.DOCUMENT_RFID),
        MatchImage(index=3, data=face_2_bytes)
    ]
    match_request = MatchRequest(images=images)
    match_response = api.match(match_request)

    detect_request = DetectRequest(face_1_bytes)
    detect_response = api.detect(detect_request)
```

You can find more detailed guide and run this sample in [example](./example) folder.
psbtree 0.1.32
Python Behavior Tree Framework with C++ Core
Requires Python: >=3.9
Keywords: behavior-tree, ai, decision-tree, python, cpp

# PSBTree 行为树引擎

基于 C++ 和 Python 实现的高性能行为树引擎，支持顺序和并行执行模式，适用于机器人控制、游戏 AI 和自动化系统。

## 项目结构

```
.
├── src/                    # 源代码目录
│   └── psbtree/            # 主包目录
│       ├── engine/         # 引擎实现（顺序和并行）
│       ├── nodes/          # 节点实现（动作、条件、控制、装饰器）
│       ├── plugins/        # 插件系统
│       └── utils/          # 工具函数
├── sample/                 # 示例代码
├── tests/                  # 测试代码
├── doc/                    # 文档
├── source_cpp/             # C++ 源代码
├── dependencies/           # 依赖项
├── scripts/                # 构建脚本
├── pyproject.toml          # 项目配置
├── setup.py                # 安装脚本
└── README.md               # 项目文档
```

## 核心功能

- **行为树引擎**: 支持顺序和并行执行模式
- **节点系统**: 提供丰富的节点类型（动作、条件、控制、装饰器）
- **高性能**: 核心功能使用 C++ 实现，通过 Cython 与 Python 集成
- **授权系统**: 内置授权验证机制
- **插件扩展**: 支持通过插件系统扩展功能

## 快速开始

1. 安装依赖：
   ```bash
   pip install -r requirements.txt
   ```

2. 安装包：
   ```bash
   pip install .
   ```

3. 设置授权码：
   ```python
   from psbtree import set_sk_code
   set_sk_code("您的授权码")
   ```

4. 运行示例：
   ```bash
   python sample/sequential_engine_sample.py
   ```

## 依赖管理

核心依赖包括：
- `loguru`: 日志记录
- `psdec`: 授权验证
- `opencv-python`: 图像处理（示例中使用）

## 使用示例

### 顺序引擎示例

```python
from psbtree.engine.sequential_engine import SequentialEngine
from psbtree.nodes import SimpleActionNode, TreeNode, NodeStatus
from psbtree import set_sk_code

# 设置授权码
set_sk_code("您的授权码")

# 创建顺序引擎
engine = SequentialEngine()

# 注册节点
engine.register_action_class(YourActionNode, "YourActionNode")

# 定义行为树XML
xml_text = """
<root BTCPP_format="4">
    <BehaviorTree ID="MainTree">
        <Sequence name="root_sequence">
            <YourActionNode />
        </Sequence>
    </BehaviorTree>
</root>
"""

# 从XML创建行为树
engine.create_tree_from_text(xml_text)

# 运行行为树
status = engine.tick_once()
```

### 并行引擎示例

```python
from psbtree.engine.parallel_engine import ParallelEngine
from psbtree.nodes import SimpleActionNode, TreeNode, NodeStatus
from psbtree import set_sk_code

# 设置授权码
set_sk_code("您的授权码")

# 创建并行引擎
engine = ParallelEngine()

# 注册节点
engine.register_action_class(YourActionNode, "YourActionNode")

# 定义多个行为树XML
xml_text_tree0 = """
<root BTCPP_format="4">
    <BehaviorTree ID="Tree0">
        <Sequence name="root_sequence">
            <YourActionNode />
        </Sequence>
    </BehaviorTree>
</root>
"""

# 从XML创建行为树
tree_id0 = engine.create_tree_from_text(xml_text_tree0, "tree0")

# 运行行为树
status0 = engine.tick_once(tree_id0)
```

## 开发指南

- 使用 `SimpleActionNode` 作为基类创建自定义节点
- 通过 `ports` 静态变量定义节点的输入输出端口
- 实现 `tick` 静态方法定义节点的行为
- 使用 XML 格式定义行为树结构
- 遵循行为树设计模式最佳实践

## 贡献

欢迎提交 PR 和 issue。请确保：
- 代码符合项目编码规范
- 包含必要的单元测试
- 更新相关文档

## 许可证

MIT License
itmo-ics-printf 1.0.0
Visualisation and analysation tool for 'scanf' - FreeRTOS profiler grabber
Requires Python: >=3.11

# printf

Viewer for FreeRTOS profiles produced by [scanf](https://github.com/try-fork-it-twice/scanf)


## Development

**Prerequisites:**

- Python 3.13
- Poetry

**Setup project:**

```shell
poetry install
```

**Run tests:**

```shell
poetry run pytest -v
```

**Type check with mypy:**
```shell
poetry run mypy itmo_ics_printf tests
```

**Format code:**

```shell
poetry run ruff check --fix itmo_ics_printf tests
poetry run ruff format itmo_ics_printf tests
```
spark-debugger 0.1.0
Add your description here
Requires Python: >=3.13

<p align="center">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="https://github.com/lychee-development/papaya/blob/main/logo_dark.svg?raw=true">
    <source media="(prefers-color-scheme: light)" srcset="https://github.com/lychee-development/papaya/blob/main/logo_light.svg?raw=true">
    <img alt="Papaya Logo" src="https://github.com/lychee-development/papaya/blob/main/logo_light.svg?raw=true" width="300" style="display: block; margin: 0 auto;">
  </picture>
</p>

---

# Papaya is an intelligent debugging tool designed specifically for Apache Spark jobs.
It seamlessly integrates error monitoring, real-time notifications, and automated LLM-powered debugging to help debug your complicated Spark workflows.


* **Real-time Monitoring**: Continuously listens to your Apache Spark jobs and instantly detects errors and anomalies.
* **Discord Alerts**: Sends immediate notifications directly to your Discord channel whenever issues arise.
* **Intelligent Debugging**: Optionally analyzes your Spark errors and suggest automatic code fixes.
* **Automated Pull Requests**: Papaya automatically submits GitHub pull requests containing proposed code changes.

---

## 🛠️ Installation

Install Papaya via pip:

```bash
pip install papaya-debugger
```

---

## 🌟 Quick Start

Run Papaya by specifying the Spark UI URL:

```bash
papaya http://localhost:4040
```

To enable Discord notifications (requires `DISCORD_TOKEN` environment variable):

```bash
papaya http://localhost:4040 --discord-cid 123456789
```

To enable GitHub integration (requires `GH_APP_TOKEN` environment variable):

```bash
papaya http://localhost:4040 --github-repo myorg/myrepo
```

You can also adjust the polling interval (default is 0.5 seconds):

```bash
papaya http://localhost:4040 --poll 2.0
```

> **Note:** You must set the `GEMINI_API_KEY` environment variable for Papaya to function.

---

## 📝 CLI Options & Environment Variables

**Positional Arguments:**
- `SPARK_UI_URL` (required): Spark UI URL of the active job to monitor (e.g., `http://localhost:4040`)

**Optional Arguments:**
- `--discord-cid <int>`: Discord channel ID to send messages to (requires `DISCORD_TOKEN` env var)
- `--github-repo <OWNER/REPO>`: GitHub repository of the Spark job (requires `GH_APP_TOKEN` env var)
- `--poll <SECONDS>`: Polling interval in seconds (default: 0.5)

**Environment Variables:**
- `GEMINI_API_KEY`: **Required** for Papaya to function (used for LLM-powered debugging).
- `DISCORD_TOKEN`: Required if using `--discord-cid` to send notifications to Discord.
- `GH_APP_TOKEN`: Required if using `--github-repo` to link to a GitHub repository.

---

## 📚 Documentation

Docs coming soon :)

---

## 🌐 Contributing

Contributions are welcome! Please open issues and pull requests on GitHub.

---