semvec/pypi-packages huggingface dataset:
fastapi-offline-docs 1.1.0
Offline API docs for FastAPI
Requires Python: <4,>=3.9

# fastapi-offline-docs

This package enables "offline mode" for FastAPI (in other words lets you avoid loading assets from CDN).

# Installation

```sh
poetry add fastapi-offline-docs
```

# Usage

Before:

```python
import fastapi

app = fastapi.FastAPI(docs_url="path/to/doc", redoc_url="path/to/redoc")
```

After:

```python
import fastapi
from fastapi_offline_docs import enable_offline_docs

app = fastapi.FastAPI(docs_url="path/to/doc", redoc_url="path/to/redoc")
enable_offline_docs(app)
```

Now, the assets for API docs are served locally, not from CDN.

See also: [litestar-offline-docs](https://github.com/community-of-python/litestar-offline-docs).
news-uasro 0.1.4
A utility library to detect media sources.
Requires Python: >=3.6

# News Uasro Library

## Deskripsi

Library `news_uasro` dirancang untuk mendeteksi apakah sebuah username berasal dari media berita atau bukan. Library ini memuat data dari sebuah file txt yang berisi kumpulan kata kunci yang sering digunakan oleh akun media.

## Fitur

- Memuat kata kunci media dari file txt.
- Fungsi untuk menentukan apakah username adalah media.

## Cara Instalasi

Untuk menginstal `news_uasro`, jalankan perintah berikut di terminal Anda:

```bash
pip install --upgrade pip setuptools

pip install news_uasro
```
vidtoolbox 0.1.3
A Python toolbox for managing and processing videos efficiently.
Requires Python: >=3.6

# **VidToolbox**

## 📌 Introduction
**VidToolbox** is a video processing tool that supports:
- 🔍 **Retrieving video information** (resolution, duration, file size)
- 📝 **Generating YouTube chapter timestamps** (`timestamps.txt`)
- 🎬 **Merging multiple video files**
- 🏷️ **Automatically naming output files based on the folder name**

This tool works on **macOS** and **Linux**, utilizing `ffmpeg` for video processing.

---

## ⚡ Installation

### 1️⃣ **Install `ffmpeg`** (if not installed)
```bash
brew install ffmpeg  # macOS (Homebrew)
sudo apt install ffmpeg  # Ubuntu / Debian
```

### 2️⃣ **Install VidToolbox using `pipx` (Recommended)**
```bash
pipx install --force git+https://github.com/nkliu1772/vidtoolbox.git
```

If `pipx` is not installed, run:

```bash
# For macOS (using Homebrew)
brew install pipx
pipx ensurepath

# For other systems
python3 -m pip install --user pipx
python3 -m pipx ensurepath
```

---

## 🚀 Usage

### **1️⃣ Get Video Information**
```bash
vid-info /path/to/video_folder
```
🔹 Displays resolution, duration, and file size.

### **2️⃣ Generate YouTube Chapter Timestamps**
```bash
vid-timestamps /path/to/video_folder
```
🔹 Creates `timestamps.txt` and prompts user for confirmation.

### **3️⃣ Merge Videos**
```bash
vid-merge /path/to/video_folder
```
🔹 Confirms timestamps before merging videos.

🔹 The default output file name is **the folder name**, but you can specify an output file with `-o`:
```bash
vid-merge /path/to/video_folder -o output.mp4
```

---

## 📌 TODO
- [ ] Add `--output` parameter to allow specifying the output directory
- [ ] Add an option to merge videos in all subdirectories automatically.
- [ ] Add `bumpversion` for automatic versioning and changelog management
- [ ] Add en/zh language setting
- [ ] Add `.srt` merge support (auto shift)
- [ ] Add Windows support
- [ ] Improve CLI usability
- [ ] Add GUI for better user experience

---

## 🛠️ License
This project is licensed under the MIT License.
video-analyzer-ui 0.1.0
Web interface for the video-analyzer tool
Requires Python: >=3.8

# Video Analyzer UI

A lightweight web interface for the video-analyzer tool.

## Features
- Simple, intuitive interface for video analysis
- Real-time command output streaming
- Drag-and-drop video upload
- Results visualization and download
- Session management and cleanup

## Prerequisites
- Python 3.8 or higher
- video-analyzer package installed
- FFmpeg (required by video-analyzer)

## Installation

```bash
pip install video-analyzer-ui
```

## Quick Start

1. Start the server:
   ```bash
   video-analyzer-ui
   ```

2. Open in browser:
   http://localhost:5000

## Usage

### Development Mode
```bash
video-analyzer-ui --dev
```
- Auto-reload on code changes
- Debug logging
- Development error pages

### Production Mode
```bash
video-analyzer-ui --host 0.0.0.0 --port 5000
```
- Optimized for performance
- Error logging to file
- Production-ready security

### Command Line Options
- `--dev`: Enable development mode
- `--host`: Bind address (default: localhost)
- `--port`: Port number (default: 5000)
- `--log-file`: Log file path
- `--config`: Custom config file path

## Development Setup

1. Clone the repository:
   ```bash
   git clone https://github.com/username/video-analyzer-ui.git
   cd video-analyzer-ui
   ```

2. Create virtual environment:
   ```bash
   python -m venv venv
   source venv/bin/activate  # or venv\Scripts\activate on Windows
   ```

3. Install dependencies:
   ```bash
   pip install -e .
   ```

4. Run development server:
   ```bash
   video-analyzer-ui --dev
   ```

## How It Works

1. Upload Video:
   - Drag and drop or select a video file
   - File is temporarily stored in a session-specific directory

2. Configure Analysis:
   - Required fields are marked with *
   - Optional parameters can be left empty
   - Real-time command preview shows what will be executed

3. Run Analysis:
   - Progress is shown in real-time
   - Output is streamed as it becomes available
   - Results are stored in session directory

4. View Results:
   - Download analysis.json
   - View extracted frames (if kept)
   - Access transcripts and other outputs

## License

Apache License
otoge.py 0.2.1
You can get and change the play history of GEKICHUMAI (CHUNITHM, ONGEKI, maimai), BEMANI (pop'n music, beatmania, SOUND VORTEX) and many more.
Requires Python: >=3.9

# otoge.py

ゲキチュウマイ、BEMANI などのリズムゲームのプレイ履歴やその他諸々を取得・変更する Python ライブラリ。非同期操作(asyncio)のみをサポートしています。

> [!Warning]
> このライブラリを使用して起きた損害についてライブラリ作成者の[nennneko5787](https://x.com/Fng1Bot)は一切責任を負いません。

## 現在サポート中のゲーム

### ゲキチュウマイ (SEGA)

- [ ] CHUNITHM
- [x] maimai でらっくす
  - プロフィール閲覧
  - プレイ履歴閲覧
    - 詳細を取得することができます(別途関数の実行が必要)
  - ユーザーネーム変更
- [ ] オンゲキ

### KONAMI

- [x] pop'n music
  - プロフィール閲覧
  - プレイ履歴閲覧
    - 詳細の取得にはまだ対応していません
- [ ] beatmania
- [ ] SOUND VORTEX
- [x] ノスタルジア
  - プロフィール閲覧
  - プレイ履歴閲覧
    - maimai でらっくすとは異なり、最初から判定データが入っています
- [x] ポラリスコード
  - プロフィール閲覧
    - 最後に遊んだ店名の取得に対応
  - プレイ履歴閲覧
    - maimai でらっくすとは異なり、最初から判定データが入っています

## お願い

私は音ゲーに疎いので追加してほしい値・機能などありましたら **イシュー(issues)** または **プルリクエスト(Pull request)** を投げていただけるとありがたいです。

## How to install

### 必要なもの

- Python 3.8 より上のバージョン

##### 多くの場合、以下のライブラリはインストール時に構成されます。

- httpx
- beautifulsoup4
- selenium
- python-dateutil
- tzdata

```bash
# development builds
pip install git+https://github.com/nennneko5787/otoge.py
# release builds
pip install otoge.py
```

## examples

[example フォルダー](/example)にサンプルが入っています。