Skip to main content

Abstract away the logic of mahjong games (for oh, it is complicated!) Only worry about the representation.

Example Usage

>>> import mahjong
>>> game = mahjong.Game()
>>> question = game.play()
>>> next_question = question.answer(...)
>>> ...

For full usage see the docs: https://github.com/Kenny2github/mahjong/wiki

Release files for python-mahjong 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-mahjong 1.0.0
File Size Uploaded
python-mahjong-1.0.0.tar.gz 13.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-mahjong 1.0.0
File Interpreter ABI Platform
python_mahjong-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 32.4 kB

Release files / python-mahjong-1.0.0.tar.gz

Download URL python-mahjong-1.0.0.tar.gz
Size 13.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c32b9a2f2f721a39e61321f938466b72bbcf1d583a1dc22b0de94e345214fe50
BLAKE2b-256 checksum
How to use checksums
7c0681e848822cbe9ac82622840c926ad75816eeeb796a767916bec0704e4d4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.0

Release files / python_mahjong-1.0.0-py3-none-any.whl

Download URL python_mahjong-1.0.0-py3-none-any.whl
Size 18.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be658d359c8017cb33bc9db15d206bc73095122b888292bdc5d740859486b596
BLAKE2b-256 checksum
How to use checksums
7e8f5a658da08ff070de8529f00861674cc835bcae76cbb15835df517ec616f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.0
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