A python interface to miniosl (shogi library)
Project description
miniOSL
Python interface to OSL (open shogi library), refurbished and enhanced by C++20 with pybind11 for cooperation with numpy and pytorch.
WIP.
demo@colab
https://colab.research.google.com/drive/1orT32kOR58owC0SfhPdC0yodFdn8h2nX?usp=share_link
shogi.go(50) |
value, moves = shogi.eval() |
|---|---|
integration with ipywidgets
(experimental)
pip wheel
work with source code
- C++20 (tested with g++ 12.2.1 in
manylinux_2_28, Apple clang 14.0.3) - Python 3.10+
- cmake 3.22+
typical commands
git clone --recursive https://github.com/tkaneko/miniosl.gitcd minioslpip3 install -e .- example for envvar:
CMAKE_BUILD_PARALLEL_LEVEL=4CXX=g++-12
- example for envvar:
cui samples
api doc
The location is tentative and subject to change in the future.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file miniosl-0.1.8-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: miniosl-0.1.8-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 22.3 MB
- Tags: CPython 3.12+, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af4895ae4692827eb2cffb7e532194d29c46a01971bb2dd2d58ac74a8c7ea14c
|
|
| MD5 |
6a6c2fd663c4c5102a96ab625e31c673
|
|
| BLAKE2b-256 |
d7419877fe8dbb23bdad10fb0df15cc4f079beb06ca8ac4b5f794118575b92cf
|