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()

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.git
  • cd miniosl
  • pip3 install -e .
    • example for envvar: CMAKE_BUILD_PARALLEL_LEVEL=4 CXX=g++-12

cui samples

api doc

api 0.0.11

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.11-cp311-cp311-macosx_13_0_arm64.whl (747.6 kB view details)

Uploaded CPython 3.11 macOS 13.0+ ARM64

miniosl-0.0.11-cp310-cp310-manylinux_2_28_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.28+ x86-64

File details

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

File metadata

File hashes

Hashes for miniosl-0.0.11-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 4d9c5a876b6a488c72625def1de9ee9d31b5873df66b48b6a78223a021101675
MD5 8620be33f8bd07a56b5f9f453ef558f0
BLAKE2b-256 8f0d4a770b19b98208dc242421c6d77a3e654195cd8cb4afe48ca3539fa1f5f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for miniosl-0.0.11-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 04dca833a728370b260109d1f4cd221f7999c7724709ca00e5575eabc7b8cb50
MD5 fb00acef26ea3f87b93a64291756a1b4
BLAKE2b-256 5b6ae1d769ba38f3caaca14eaff40e2d9573bd7d2990d1b2cf60cc77b2a60f0a

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