semvec/pypi-packages huggingface dataset:
dispozitsi 0.1.5
Debugger tool for Logstash's Grok parsing language.
Requires Python: >=3.11
Keywords: Debugger, Grok, TUI, Textualize

# Dispozitsi

A debugger for Logstash's Grok parsing language. This debugger has a simple but lovely terminal user interface (TUI) that follows the ["bish bash bosh"](https://en.wiktionary.org/wiki/bish_bash_bosh) -principle. The debugger will take a pattern and sample and then generate outcome. Outcome will be shown to you as a list of dictionaries.

## Note: Still in development (bugs expected)
## Installation

Install with [pipx](https://github.com/pypa/pipx) (recommended)

```bash
  pipx install dispozitsi
```

Install with [pip](https://pip.pypa.io/en/stable/installation/)

```bash
  pip install dispozitsi
```

### Run command

```bash
  dispozitsi
```

## Development

For managing the project, I use [Hatch](https://hatch.pypa.io/1.12/), so [install it](https://hatch.pypa.io/1.12/install/).

Clone project 

```bash
  git clone https://codeberg.org/spuzkov/dispozitsi.git
```

Create your environment and attach to it: 

```bash
  hatch env create
  hatch shell
```

Now, in another terminal window (make sure you have attached to your environment here as well), open the logs for debugging and seeing what is going on:

```bash
  textual console
```

Then in your original terminal window, run:

```bash
  textual run --dev src/dispozitsi/app.py
```

You should now see logs in the debugging terminal window.


## Roadmap

- Add pattern suggestions

- Make slow regex fast regex

- Highlighting for matches

- Allow log file insertion

- Allow to continue from previous state, meaning pattern, sample and outcome stay as they were on program launch.

- Display hints on how to fix broken pattern

- Keyboard shortcuts

- More [pattern](https://github.com/logstash-plugins/logstash-patterns-core/tree/main/patterns/ecs-v1) support (maybe)

- Documentation on patterns with examples, so that user can easily check what patterns suits their usecase.
mtga-helper 0.2.1
CLI application to parse log files from MTGA and analyse them using 17lands data
Requires Python: >=3.0
Keywords: 17lands, game, limited, mtg, mtga, tcg

# python-mtga-helper

CLI application to parse log files from MTGA and analyse them using [17lands](http://17lands.com) data.
The card grading is implemented according to [limited-grades](https://github.com/youssefm/limited-grades).

The following features are implemented:
* Pool analysis for Quick Draft, Premier Draft and Sealed
* Pick analysis for Quick Draft and Premier Draft

## Installation

### PyPI
Install the [PyPI package](https://pypi.org/project/mtga-helper/).
```commandline
pip install mtga-helper
```

### Arch Linux User Repository
Install the [AUR package](https://aur.archlinux.org/packages/python-mtga-helper-git).
```commandline
yay -S python-mtga-helper-git
```

### From source
```commandline
git clone https://github.com/lubosz/python-mtga-helper.git
cd python-mtga-helper
virtualenv .env
. .env/bin/activate
pip install .
```

## Usage
```commandline
usage: mtga-helper [-h] [-l LOG_PATH] [--land-count LAND_COUNT]
                   [--print-top-pairs PRINT_TOP_PAIRS] [-v]
                   [-d {PremierDraft,TradDraft,Sealed,TradSealed}]

Analyse MTGA log for sealed pools with 17lands data.

options:
  -h, --help            show this help message and exit
  -l, --log-path LOG_PATH
                        Custom Player.log path (default: None)
  --land-count LAND_COUNT
                        Target Land count (default: 17)
  --print-top-pairs PRINT_TOP_PAIRS
                        Top color pairs to print (default: 3)
  -v, --verbose         Log some intermediate steps (default: False)
  -d, --data-set {PremierDraft,TradDraft,Sealed,TradSealed}
                        Use specific 17lands format data set (default: PremierDraft)
```

Detailed game logs need to be enabled in
`Options -> Account -> Detailed Logs (Plugin Support)`.

## Screenshots

![screenshot color pair pool](https://raw.githubusercontent.com/lubosz/python-mtga-helper/main/doc/screenshot_color_pair_pool.png)
![screenshot color pair ranks](https://raw.githubusercontent.com/lubosz/python-mtga-helper/main/doc/screenshot_color_pair_ranks.png)
![screenshot draft pick](https://raw.githubusercontent.com/lubosz/python-mtga-helper/main/doc/screenshot_draft_pick.png)
jalansim 0.0.1
GPU-accelerated 2D navigation simulator.
Requires Python: <=3.13,>=3.8

# JALAN-Sim

A learning-based local navigation simulator for Autonomous Ground Vehicles (AGVs) in complex environments. JALAN-Sim provides efficient Python bindings, customizable build configurations, and support for both CUDA-enabled and CPU-only backends.

## Installation

To get started, clone or download the repository and install in editable mode:

```bash
# Clone the repository
git clone https://github.com/damanikjosh/jalansim.git
cd jalansim

# Install in editable mode
pip install -e .
````

> **Note:** Ensure you have Python ≥ 3.8, CMake ≥ 3.23, and a supported compiler installed.

## Configuring the Build Backend

By default, JALAN-Sim enables CUDA support. If you do *not* have an NVIDIA GPU—or prefer a CPU-only build—edit the `pyproject.toml` file and set the `-DWITH_CUDA` flag to `OFF`:

```toml
[build-system]                  # Tells pip how to build
requires = [
  "scikit-build-core>=0.8",
  "pybind11>=2.13",
  "cmake>=3.23",
  "numpy>=2",
  "ninja"                       # Faster parallel builds
]
build-backend = "scikit_build_core.build"

[project]
name    = "jalansim"
version = "0.1.0"
requires-python = ">=3.8"

[tool.scikit-build]
# Change -DWITH_CUDA to OFF for a CPU-only build
cmake.args = ["-DWITH_PYTHON=ON", "-DWITH_CUDA=OFF"]
```

Save the changes and reinstall:

```bash
pip install -e .
```

## Usage Example

TODO

## License

No license specified yet.
intellistream-sage-utils 0.1.3
SAGE Framework - 通用工具库，包含配置管理、日志记录等基础功能
Requires Python: >=3.10
Keywords: utils, config, logging, intellistream, sage, utilities, configuration, logger

# SAGE Utils

通用工具库，为SAGE框架提供基础的配置管理、日志记录等功能。

## 功能特性

### 🔧 配置管理 (Config)
- **多格式支持**: 支持YAML、JSON、TOML等配置文件格式
- **智能路径查找**: 支持项目级、用户级、系统级配置文件自动发现
- **环境变量覆盖**: 支持通过环境变量动态覆盖配置项
- **配置验证**: 基于Pydantic的配置项验证和类型检查
- **缓存机制**: 高效的配置加载和缓存策略

### 📝 日志记录 (Logging)
- **多输出目标**: 支持控制台、文件等多种输出目标
- **彩色输出**: 支持不同日志级别的颜色区分
- **IDE友好**: 格式化输出支持IDE点击跳转
- **线程安全**: 全局调试开关的线程安全控制
- **动态配置**: 运行时动态调整日志输出配置

## 安装

```bash
pip install intellistream-sage-utils
```

## 快速开始

### 配置管理

```python
from sage.utils.config.loader import load_config
from sage.utils.config.manager import ConfigManager, BaseConfig

# 简单配置加载
config = load_config("config.yaml")  # 自动查找配置文件

# 使用配置管理器
manager = ConfigManager("./config")
config = manager.load("app.yaml")
manager.save("app.yaml", {"key": "value"})

# 使用配置类
class AppConfig(BaseConfig):
    app_name: str = "myapp"
    debug: bool = False
    port: int = 8000

config = AppConfig(app_name="sage", debug=True)
```

### 日志记录

```python
from sage.utils.logging.custom_logger import CustomLogger

# 基本用法
logger = CustomLogger([
    ("console", "INFO"),           # 控制台输出
    ("app.log", "DEBUG"),         # 文件输出(相对路径)
    ("/tmp/error.log", "ERROR")   # 文件输出(绝对路径)
], name="MyApp", log_base_folder="./logs")

logger.info("应用启动")
logger.error("发生错误", exc_info=True)

# 全局调试控制
CustomLogger.disable_global_console_debug()  # 关闭所有控制台调试输出
CustomLogger.enable_global_console_debug()   # 启用所有控制台调试输出
```

## 模块结构

```
sage/
└── utils/
    ├── config/
    │   ├── __init__.py
    │   ├── loader.py      # 配置文件加载器
    │   └── manager.py     # 配置管理器
    └── logging/
        ├── custom_formatter.py  # 自定义日志格式化器
        └── custom_logger.py     # 自定义日志记录器
```

## 配置文件查找优先级

配置加载器按以下优先级查找配置文件：

1. **显式路径**: 直接指定的配置文件路径
2. **环境变量**: `SAGE_CONFIG` 环境变量指定的路径
3. **项目级配置**: `<项目根目录>/config/config.yaml`
4. **用户级配置**: `~/.config/sage/config.yaml`
5. **系统级配置**: `/etc/sage/config.yaml` (Linux/macOS)

## 日志输出格式

日志输出采用IDE友好的两行格式：

```
2024-08-08 10:30:45 | INFO  | MyApp | /path/to/file.py:123 →
    应用启动成功，监听端口：8000
```

## 开发

### 安装开发依赖

```bash
pip install -e ".[dev]"
```

### 运行测试

```bash
pytest
pytest --cov=sage.utils  # 带覆盖率
```

### 代码格式化

```bash
black src/ tests/
isort src/ tests/
flake8 src/ tests/
```

## 许可证

MIT License - 详见 [LICENSE](LICENSE) 文件。