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() |
---|---|
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.git
cd miniosl
pip3 install -e .
- example for envvar:
CMAKE_BUILD_PARALLEL_LEVEL=4
CXX=g++-12
- example for envvar:
samples
- supervised training train.py
- curses terminal curses_viewer.py
api doc
tentative, the location will be subject to change in 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
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file miniosl-0.0.9-cp310-cp310-manylinux_2_28_x86_64.whl
.
File metadata
- Download URL: miniosl-0.0.9-cp310-cp310-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 1.0 MB
- Tags: CPython 3.10, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 380cc5cf1c62bc933ab51f996298dd4f4cc3da20b972e52e09044b769d6191d9 |
|
MD5 | f0fc21a19c80713e995fe2df63e35eac |
|
BLAKE2b-256 | 52e12eae407bda00f8e2ae889b1f97fba9a3c2178f4caeaaf633f7febb6f2b16 |