semvec/pypi-packages huggingface dataset:
rshogi-py-avx2 0.7.1
Python bindings for the rshogi core library (AVX2 build).
Requires Python: >=3.9

# rshogi-py-avx2

Python bindings for the `rshogi` Rust crate.

This package provides an AVX2-optimized build of the same `rshogi` Python module.
If you want the standard build, use
[`rshogi-py`](https://pypi.org/project/rshogi-py/).

## Installation

```bash
python -m pip install rshogi-py-avx2
```

## Notes

- `rshogi-py` and `rshogi-py-avx2` are mutually exclusive; install only one.
- This build requires an AVX2-capable CPU on x86_64.
rshogi-py 0.7.1
Python bindings for the rshogi core library.
Requires Python: >=3.10

# rshogi-py

Python bindings for the `rshogi` Rust crate.

This package provides the standard build of the `rshogi` Python module.
If you want an AVX2-optimized build, use
[`rshogi-py-avx2`](https://pypi.org/project/rshogi-py-avx2/).

## Development Install

```bash
python -m pip install maturin
maturin develop -m crates/rshogi-py/pyproject.toml
```

## AVX2 Build

`rshogi-py-avx2` is an AVX2-enabled build of the same Python module.

```bash
python -m pip install rshogi-py-avx2
```

## Notes

- `rshogi-py` and `rshogi-py-avx2` are mutually exclusive; install only one.
- `rshogi-py` is the safest default for broad compatibility.

## Quick Example

```python
from rshogi.core import Board

board = Board()
board.apply_usi("7g7f")
print(board.to_sfen())
```

USI の `position` 文字列を直接扱うこともできます。

```python
from rshogi.core import Board, normalize_usi_position, parse_usi_position

board = Board()
board.set_usi_position("position startpos moves 7g7f 3c3d")

board2 = parse_usi_position("startpos moves 7g7f")
print(board2.to_sfen())

print(normalize_usi_position("position startpos"))  # "startpos"
```

## Structured Imports

`rshogi` provides structured imports through submodules for better organization:

```python
# Types and constants
from rshogi.types import Color, PieceType, Square
from rshogi.core import Move, Move32

# Board
from rshogi.core import Board

# Records
from rshogi.record import GameRecord, GameRecordMetadata, GameResult

# Record conversion
record = GameRecord.from_kif_str(kif_text)
kif_text = record.to_kif()

# Record file I/O
record = GameRecord.from_kif_file("example.kif")
record.write_kif("example_out.kif")

# NumPy dtypes
from rshogi.numpy import PackedSfen, PackedSfenValue
```

Use submodules for all imports:

```python
from rshogi.core import Board
from rshogi.core import Move
from rshogi.record import GameRecord
```
o2h 2.1.1
Publish obsidian to hexo github page
Requires Python: >=3.9
Keywords: feed, reader, tutorial

# H2O2H

This repository is used to help Obsidian publish more conveniently.

## Installing

```bash
pip install o2h
```

## Getting Started

After o2h package is installed, the cli command obs2hexo is available. The help info is listed here.

```bash
obs2hexo -h

usage: obs2hexo [-h] [-o OUTPUT] [-c CATEGORY] [-p | --picgo | --no-picgo] filename

positional arguments:
  filename              get the obs markdown filename

options:
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        get output dir
  -c CATEGORY, --category CATEGORY
                        get category
  -p, --picgo, --no-picgo
                        use picgo
```

As the Github repository space is limited, so it is not recommanded to upload all the pictures  to the repository. So I provide an alternative option `-p` to upload pictures with [picgo](https://github.com/PicGo/PicGo-Core).

The default output directory is `/tmp/o2houtput`.

## Configuration

o2h cannot find the position of Obsidian Vault automatically, so it relies on the configuration file. A configuration file should be created in `$HOME/.config/o2h/config.json`

Here is an example of my config file:

```json
{
    "obsidian_target": [
        "$HOME/Documents/Work/Notes"
    ]
}
```

If there are multiple Obsidian Vault in you system, you can add them like this:

```json
{
  "obsidian_target": [
    "path_1",
    "path_2",
    ...,
    "path_n"
  ]
}
```

## Example

Here are some examples:

```bash
# translate a.md to standard markdown
# the category is "Skill"
# all the picture are copied to a new folder named 'a' in current directory
obs2hexo -o $PWD -c Skill a.md
# translate b.md to /tmp/o2houtput, all the picture are uploaded by picgo
obs2hexo -c Develop -p b.md
```
crewai-files 1.10.0a1
File handling utilities for CrewAI multimodal inputs
Requires Python: <3.14,>=3.10

# crewai-files

File handling utilities for CrewAI multimodal inputs.

## Supported File Types

- `ImageFile` - PNG, JPEG, GIF, WebP
- `PDFFile` - PDF documents
- `TextFile` - Plain text files
- `AudioFile` - MP3, WAV, FLAC, OGG, M4A
- `VideoFile` - MP4, WebM, MOV, AVI

## Usage

```python
from crewai_files import File, ImageFile, PDFFile

# Auto-detect file type
file = File(source="document.pdf")  # Resolves to PDFFile

# Or use specific types
image = ImageFile(source="chart.png")
pdf = PDFFile(source="report.pdf")
```

### Passing Files to Crews

```python
crew.kickoff(
    input_files={"chart": ImageFile(source="chart.png")}
)
```

### Passing Files to Tasks

```python
task = Task(
    description="Analyze the chart",
    expected_output="Analysis",
    agent=agent,
    input_files=[ImageFile(source="chart.png")],
)
```