Skip to main content

Japanese Riichi Mahjong

Simulator of Japanese Riichi Mahjong (https://en.wikipedia.org/wiki/Japanese_Mahjong) written in C++.

We provide python APIs for decision AI research (the users do not need to know how Mahjong works), please see https://github.com/Agony5757/mahjong/tree/master/pymahjong#readme for more details.

install

pip install pymahjong

Citation

@inproceedings{
han2022variational,
title={Variational oracle guiding for reinforcement learning},
author={Dongqi Han and Tadashi Kozuno and Xufang Luo and Zhao-Yun Chen and Kenji Doya and Yuqing Yang and Dongsheng Li},
booktitle={International Conference on Learning Representations},
year={2022},
url={https://openreview.net/forum?id=pjqqxepwoMy}
}

APIs of the C++ programs

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.

pymahjong-1.0.0-cp310-cp310-manylinux_2_31_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.31+ x86-64

pymahjong-1.0.0-cp310-cp310-manylinux_2_24_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.24+ x86-64

pymahjong-1.0.0-cp39-cp39-manylinux_2_31_x86_64.whl (430.0 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.31+ x86-64

pymahjong-1.0.0-cp39-cp39-manylinux_2_24_x86_64.whl (419.7 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.24+ x86-64

pymahjong-1.0.0-cp38-cp38-manylinux_2_31_x86_64.whl (430.0 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.31+ x86-64

pymahjong-1.0.0-cp38-cp38-manylinux_2_24_x86_64.whl (419.7 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.24+ x86-64

pymahjong-1.0.0-cp37-cp37m-manylinux_2_31_x86_64.whl (421.1 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.31+ x86-64

pymahjong-1.0.0-cp37-cp37m-manylinux_2_24_x86_64.whl (411.5 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.24+ x86-64

pymahjong-1.0.0-cp36-cp36m-manylinux_2_31_x86_64.whl (421.1 kB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.31+ x86-64

pymahjong-1.0.0-cp36-cp36m-manylinux_2_24_x86_64.whl (411.5 kB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.24+ x86-64

File details

Details for the file pymahjong-1.0.0-cp310-cp310-manylinux_2_31_x86_64.whl.

File metadata

  • Download URL: pymahjong-1.0.0-cp310-cp310-manylinux_2_31_x86_64.whl
  • Upload date:
  • Size: 5.8 MB
  • Tags: CPython 3.10, manylinux: glibc 2.31+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.1.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for pymahjong-1.0.0-cp310-cp310-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 93399527dd453fe31d644f3c23e8633ab6775037413e90454e97b7761abc3e12
MD5 f1b5523eafaf34e78fff3fced036854d
BLAKE2b-256 37ab4d909c3aacf4d2c9f1b141da90927ba230416a4e0dd6f83ed51cd28a4e44

See more details on using hashes here.

File details

Details for the file pymahjong-1.0.0-cp310-cp310-manylinux_2_24_x86_64.whl.

File metadata

  • Download URL: pymahjong-1.0.0-cp310-cp310-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 5.8 MB
  • Tags: CPython 3.10, manylinux: glibc 2.24+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.1.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for pymahjong-1.0.0-cp310-cp310-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 1c791249a7cc5ba4845ca47a6f03f0cd92da639182d0bb8054d584780b284c53
MD5 18a57364e36e4e56cba715abb57cd2f0
BLAKE2b-256 0d3a3363b7ace12a201609213cde03c5777d6e52d384abbee1b23bbaf4e7babc

See more details on using hashes here.

File details

Details for the file pymahjong-1.0.0-cp39-cp39-manylinux_2_31_x86_64.whl.

File metadata

  • Download URL: pymahjong-1.0.0-cp39-cp39-manylinux_2_31_x86_64.whl
  • Upload date:
  • Size: 430.0 kB
  • Tags: CPython 3.9, manylinux: glibc 2.31+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.1.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for pymahjong-1.0.0-cp39-cp39-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 9fa7cf68c9d6c6548fef0023790784bb359d19231c4e6b6958b3fcad8787451a
MD5 62a8f63af29ecbe0c6c68c424798a2f6
BLAKE2b-256 30a93b29d8f5710b4dd354684ec3c103113fa1ed530f674dbbc0c47aa2409a0f

See more details on using hashes here.

File details

Details for the file pymahjong-1.0.0-cp39-cp39-manylinux_2_24_x86_64.whl.

File metadata

  • Download URL: pymahjong-1.0.0-cp39-cp39-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 419.7 kB
  • Tags: CPython 3.9, manylinux: glibc 2.24+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.13

File hashes

Hashes for pymahjong-1.0.0-cp39-cp39-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 4776bdbe356de8a7ac1a9a20769f6afa7df8e85d9ee2975fdc1ef143a7694f6e
MD5 3d8be552a6f51d611075687993e15cd0
BLAKE2b-256 88cc725e2f237e7d211683f399d7192b123647eb76e88c0571fa736d4ead5a42

See more details on using hashes here.

File details

Details for the file pymahjong-1.0.0-cp38-cp38-manylinux_2_31_x86_64.whl.

File metadata

  • Download URL: pymahjong-1.0.0-cp38-cp38-manylinux_2_31_x86_64.whl
  • Upload date:
  • Size: 430.0 kB
  • Tags: CPython 3.8, manylinux: glibc 2.31+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.1.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for pymahjong-1.0.0-cp38-cp38-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 154a1861ebdf11f2bea51f2e9f8dda989fc0b20be3a4ca971f848a9ea61ff15d
MD5 b114a12ea8dbae5e85f600584d921b70
BLAKE2b-256 0a2d17aba3d2fc528da634b8e64760f7a9826851091810df2593af9f9b564129

See more details on using hashes here.

File details

Details for the file pymahjong-1.0.0-cp38-cp38-manylinux_2_24_x86_64.whl.

File metadata

  • Download URL: pymahjong-1.0.0-cp38-cp38-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 419.7 kB
  • Tags: CPython 3.8, manylinux: glibc 2.24+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.1.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for pymahjong-1.0.0-cp38-cp38-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 d4c16e23d4aeaf24e2beff6f78da61b3ebc220ca37a3ee36a120447ea0dba29e
MD5 384396ee53eed74112d270e64cf62038
BLAKE2b-256 82acf67759a54e3bf3dc77b0377742fe605de8fd87c929f055869c722a402969

See more details on using hashes here.

File details

Details for the file pymahjong-1.0.0-cp37-cp37m-manylinux_2_31_x86_64.whl.

File metadata

  • Download URL: pymahjong-1.0.0-cp37-cp37m-manylinux_2_31_x86_64.whl
  • Upload date:
  • Size: 421.1 kB
  • Tags: CPython 3.7m, manylinux: glibc 2.31+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.1.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for pymahjong-1.0.0-cp37-cp37m-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 380575d387ee13565bd412d242c35043dd475ed0945b89b493f2e2698a6cc53b
MD5 dcd810c892805c4c0af691971435f303
BLAKE2b-256 9f3c011ee290e12c2366a2e5e34e73eec0acc60dcc2240c1c66565ecef668adf

See more details on using hashes here.

File details

Details for the file pymahjong-1.0.0-cp37-cp37m-manylinux_2_24_x86_64.whl.

File metadata

  • Download URL: pymahjong-1.0.0-cp37-cp37m-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 411.5 kB
  • Tags: CPython 3.7m, manylinux: glibc 2.24+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.1.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for pymahjong-1.0.0-cp37-cp37m-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 a348c854bf9ce970027902a2e42cd7b095975f64c7ba9738704d2dbc200a940b
MD5 265817f1d9973748ba045377bd31a76b
BLAKE2b-256 88b3aca77dddc9e1d4724443b5ee65ba10776f9a72184bfbf0e0c9c4e1ec293b

See more details on using hashes here.

File details

Details for the file pymahjong-1.0.0-cp36-cp36m-manylinux_2_31_x86_64.whl.

File metadata

  • Download URL: pymahjong-1.0.0-cp36-cp36m-manylinux_2_31_x86_64.whl
  • Upload date:
  • Size: 421.1 kB
  • Tags: CPython 3.6m, manylinux: glibc 2.31+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.1.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for pymahjong-1.0.0-cp36-cp36m-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 c1dbf8e00e194cd6c1488d393dea09b0408fc93235123435b5bb48f51d1236f0
MD5 ee857d30cf4d8f2e936ef7c3c4e834b4
BLAKE2b-256 b60c97af47db7feff23f500ada5e572a7f78035f4a3b3d460f50236374a53c80

See more details on using hashes here.

File details

Details for the file pymahjong-1.0.0-cp36-cp36m-manylinux_2_24_x86_64.whl.

File metadata

  • Download URL: pymahjong-1.0.0-cp36-cp36m-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 411.5 kB
  • Tags: CPython 3.6m, manylinux: glibc 2.24+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.1.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for pymahjong-1.0.0-cp36-cp36m-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 5f8e578030a2814850d001a28cdfbd1c11a5bea58d5bc70e088a4e1f69970bd6
MD5 66e22d22b0465d9b88ff0cdd798a41ca
BLAKE2b-256 7a2da51ae96e798482a4ba458e12c778d342e1c979dca224f7f313121b6144e6

See more details on using hashes here.

Release history Release notifications | RSS feed

1.1.2

13 files

1.1.0

13 files

1.0.4

10 files

1.0.3

6 files

1.0.2

9 files

1.0.1

5 files

This release

1.0.0 This release

10 files

0.1

4 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page