{"id":13714329,"url":"https://github.com/MahjongRepository/mahjong","last_synced_at":"2025-05-07T01:33:25.835Z","repository":{"id":50279375,"uuid":"104195098","full_name":"MahjongRepository/mahjong","owner":"MahjongRepository","description":"Implementation of riichi mahjong related stuff (hand cost, shanten, agari end, etc.)","archived":true,"fork":false,"pushed_at":"2024-03-20T17:38:50.000Z","size":410,"stargazers_count":379,"open_issues_count":4,"forks_count":39,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-10-03T00:09:46.537Z","etag":null,"topics":["game-development","japanese","mahjong","riichi","riichi-mahjong"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MahjongRepository.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-20T09:31:47.000Z","updated_at":"2024-08-28T08:14:18.000Z","dependencies_parsed_at":"2024-06-19T00:18:37.430Z","dependency_job_id":"3e1f3aba-cc3c-49ef-9c1b-9b799366bcfd","html_url":"https://github.com/MahjongRepository/mahjong","commit_stats":{"total_commits":174,"total_committers":11,"mean_commits":"15.818181818181818","dds":0.5747126436781609,"last_synced_commit":"ccadb455990b1c9e337449d3a3d72a09a408b6bc"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MahjongRepository%2Fmahjong","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MahjongRepository%2Fmahjong/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MahjongRepository%2Fmahjong/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MahjongRepository%2Fmahjong/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MahjongRepository","download_url":"https://codeload.github.com/MahjongRepository/mahjong/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224551225,"owners_count":17330103,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["game-development","japanese","mahjong","riichi","riichi-mahjong"],"created_at":"2024-08-02T23:01:57.114Z","updated_at":"2024-11-14T01:31:00.773Z","avatar_url":"https://github.com/MahjongRepository.png","language":"Python","funding_links":[],"categories":["Python","Uncategorized"],"sub_categories":["Uncategorized"],"readme":"[![Mahjong lib](https://github.com/MahjongRepository/mahjong/actions/workflows/lint_and_test.yml/badge.svg)](https://github.com/MahjongRepository/mahjong/actions/workflows/lint_and_test.yml)\n\nThis library can calculate hand cost (han, fu with details, yaku, and scores) for riichi mahjong (Japanese version).\n\nAlso calculating of shanten is supported.\n\nThe code was validated on tenhou.net phoenix replays in total on **11,120,125 hands**.\n\nSo, we can say that our hand calculator works the same way that tenhou.net hand calculation.\n\n# How to install\n\n```bash\npip install mahjong\n```\n\n# Supported rules and usage examples\n\nYou can find usage examples and information about all supported rules variations in the [wiki](https://github.com/MahjongRepository/mahjong/wiki)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMahjongRepository%2Fmahjong","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMahjongRepository%2Fmahjong","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMahjongRepository%2Fmahjong/lists"}