Skip to main content

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

cui samples

api doc

api 0.0.10

tentative, the location will be subject to change in future.

Project details


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 Distributions

miniosl-0.0.10-cp311-cp311-macosx_13_0_arm64.whl (724.2 kB view details)

Uploaded CPython 3.11 macOS 13.0+ ARM64

miniosl-0.0.10-cp310-cp310-manylinux_2_28_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.28+ x86-64

File details

Details for the file miniosl-0.0.10-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for miniosl-0.0.10-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c027a482516f4aac95f4d1c1e7220fd873488121abd6ba9919b363c7a3d30144
MD5 9eb5380cd1feab80ab5efc42014ac31b
BLAKE2b-256 29cf5910c43886afdb96de49efec0d170aef2d3fc7fdeeb268f8014e791b810b

See more details on using hashes here.

File details

Details for the file miniosl-0.0.10-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for miniosl-0.0.10-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 68fa9b33c5dc4415e569b099b94ce143cb749cd7308ee06ce3158047c02e4dfa
MD5 adf4ddd26c70a8f33d83121770a762ad
BLAKE2b-256 450de07fd709e88543af6bbdc44fc8e3afa37d71b0813f1e0ded48884f6d8f97

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page