pyxmahjongg
python rewrite of the original xmahjongg-game from 1989:
https://www.lcdf.org/xmahjongg/
The python implementation does not need the X11 files anymore, however the name is still ‘pyxmahjongg’.
Installation
Installation can be done by pip:
pip install pyxmahjongg
It’s recommended to use a virtual environment.
Or you can download the sources: https://github.com/kbr/pyxmahjongg
Run the program
After installation with pip the program can get started from the command line, i.e. using a different layout and background than the default one:
pyxmahjongg -l deepwell -b sand
From the sources start the program manually:
python pyxmahjongg.py -h
Use the optional -h flag for help to change colors and layouts.
Requirements
Requires ‘pillow’ for image-handling.
‘pyxmahjongg’ is developed with Python 3.6 and and pillow 4.0.0 and not tested with earlier versions.
Remarks
This implementation uses the same layout-files as the original one but just the dorothys tileset. Thanks to Tabitha for finding background colors and naming.
Excerpt from the original documentation: The default tileset was originally created in color by Dorothy Robinson <mokuren@teleport.com> with Mark A. Holm <markh@aracnet.com>. The publically available version was in black-and-white. Holm copyrighted the tiles in 1988, giving permission to copy and distribute for non-profit purposes. The significantly altered color version that comes with xmahjongg was created by Eddie Kohler in later years.
License
Because of the original license it is permitted to use the tileset for non-profit purposes. As a consequence any commercial uses of this program and the used tileset is prohibited. Furthermore the usage of this program is entirely at your own risk.
Metadata
Release files for pyxmahjongg 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pyxmahjongg-0.2.5.tar.gz | 48.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyxmahjongg-0.2.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 102.9 kB
Release files / pyxmahjongg-0.2.5.tar.gz
| Download URL | pyxmahjongg-0.2.5.tar.gz |
|---|---|
| Size | 48.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0140ef9b956d9fdd6bb35a74a361a6a2279a8bae8158c16de3d8b200ae118610
|
|
BLAKE2b-256 checksum How to use checksums |
8e7cdc9c9d7a1f119e79384619d2e74cb7338a3dc18ef48edf2bce06b05bddfb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pyxmahjongg-0.2.5-py3-none-any.whl
| Download URL | pyxmahjongg-0.2.5-py3-none-any.whl |
|---|---|
| Size | 54.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
849b944f51556ecb34317bef3383a2c22b02b1e6ec6cc8d03328d715eb278556
|
|
BLAKE2b-256 checksum How to use checksums |
68aa55028c248784f36bd3b096d99b41ebcb85d2f4d060d3d613ebde34946084
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pyxmahjongg 0.2.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.