semvec/pypi-packages huggingface dataset:
rs-fused-lib 0.1.6
A Python library for RS fused operations
Requires Python: <4.0,>=3.10

# rs-fused-lib

一个用于遥感数据处理的Python库，提供UDF（用户定义函数）功能。

## 安装

```bash
pip install rs-fused-lib
```

## 使用方法

### 1. 使用UDF装饰器

```python
from rs_fused_lib import udf

@udf(
    name="ndvi_calculator",
    description="计算NDVI指数",
    parameters={
        "red_band": {"type": "int", "description": "红波段索引"},
        "nir_band": {"type": "int", "description": "近红外波段索引"}
    }
)
def calculate_ndvi(data, red_band=3, nir_band=4):
    red = data[..., red_band]
    nir = data[..., nir_band]
    return (nir - red) / (nir + red)
```

### 2. 运行UDF函数

```python
from rs_fused_lib import run

# 直接运行UDF函数
result = run(calculate_ndvi, data, red_band=3, nir_band=4)

# 或者通过函数名运行
result = run("calculate_ndvi", data, red_band=3, nir_band=4)
```

## 功能特点

- 支持UDF函数装饰器
- 支持通过函数名或函数对象运行UDF
- 支持参数传递和验证
- 支持元数据管理
hexdoc-hexcellular 1.1.0.1.0.0
Python web book docgen and hexdoc plugin for Hexcellular.
Requires Python: >=3.11
Keywords: hexdoc

# hexdoc-hexcellular

Python web book docgen and [hexdoc](https://pypi.org/project/hexdoc) plugin for Hexcellular.

## Version scheme

We use [hatch-gradle-version](https://pypi.org/project/hatch-gradle-version) to generate the version number based on whichever mod version the docgen was built with.

The version is in this format: `mod-version.python-version.mod-pre.python-dev.python-post`

For example:
* Mod version: `0.11.1-7`
* Python package version: `1.0.dev0`
* Full version: `0.11.1.1.0rc7.dev0`

## Setup

Install Python 3.11 and Node 18 (20+ is **not** currently supported).

```sh
python3.11 -m venv venv

.\venv\Scripts\activate   # Windows
. venv/bin/activate.fish  # fish
source venv/bin/activate  # everything else

# run from the repo root, not doc/
pip install -e .[dev]
```

## Usage

For local testing, create a file called `.env` in the repo root following this template:
```sh
GITHUB_REPOSITORY=miyucomics/hexcellular
GITHUB_SHA=main
GITHUB_PAGES_URL=https://miyucomics.github.io/hexcellular/
```

Useful commands:
```sh
# show help
hexdoc -h

# render and serve the web book in watch mode
nodemon --config doc/nodemon.json

# render and serve the web book
hexdoc serve

# export, render, and merge the web book
hexdoc export
hexdoc render
hexdoc merge

# start the Python interpreter with some extra local variables
hexdoc repl
```
x8-client 0.1.10
Client library for the x8 video processing API
Requires Python: >=3.8

# x8-client

A Python client library for interacting with the x8 video processing API.

## Installation

```bash
pip install x8-client
```

## Basic Usage

```python
from x8 import APIClient

# Initialize the client
client = APIClient()

# Get articles without videos
articles = client.get_articles_not_made_video(age=7)

# Create a video for an article
from x8.models import Video
video = Video(
    unique_id=articles[0].unique_id,
    target_dir="/my-videos",
    channel_name="My Channel",
    is_vertical=True
)

result = client.make_video(video)
print(f"Video created: {result.video_url}")
```

## Configuration

Create a `.env` file in your project root:

```
API_BASE_URL=https://your-api-url.com
SECRET_KEY=your_secret_key
DEFAULT_TIMEOUT=30
DEFAULT_PAGE_SIZE=10
```

Alternatively, you can provide these values when initializing the client:

```python
client = APIClient(
    base_url="https://your-api-url.com",
    secret_key="your_secret_key"
)
```

## Testing

Run unit tests:
```bash
python run_tests.py
```

Run integration tests (requires API credentials):
```bash
python run_tests.py --integration
```

## License

[MIT](LICENSE)