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.1.3

The location is tentative and subject to change in the 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

If you're not sure about the file name format, learn more about wheel file names.

miniosl-0.1.3-cp311-cp311-manylinux_2_28_x86_64.whl (12.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

miniosl-0.1.3-cp310-cp310-manylinux_2_28_x86_64.whl (11.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

File details

Details for the file miniosl-0.1.3-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for miniosl-0.1.3-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f36ef621cbc7882216b3653fa1d8bfeba8e926e02deaa0e35da95bb0e1c894be
MD5 dbc3812ec920f1f441e9ccfa7f892950
BLAKE2b-256 f3d8f7e6bc10dae3c7832088a3ff6ae0e863c03f6f831caba59ac4eb042f5a69

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for miniosl-0.1.3-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 59f088b628db308a39c9acfb3a9b03241ec33c965a8aad2a71e1594b633e3de9
MD5 ae4dc6acd1b59c93f211bd6840cff7ca
BLAKE2b-256 846e7f00ebf8fbc0eb5c839cde81f1e30946056d4132eeafa2a3f1528ebc9268

See more details on using hashes here.

Supported by

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