Logging tenhou paifu into excel or html file with some key information.
Project description
Tenhou Paifu Logger
Logging tenhou paifu into excel, csv or html file with some key information.
If you like this project, please leave a star. It will be a great encouragement for me. And if you have any suggestions, please feel free to create an issue.
Requirements
- Python 3.10 or later
Since CLI-0.3.8, the project is only compatible with Python 3.10 or later. For Python 3.9 or earlier users, please use CLI-0.3.7.1 which is the last version that supports Python 3.9 or earlier. Or download from pypi with the following command.
pip install PaifuLogger==0.3.7.1
Usage
- Download the project.
a. Download from github.
i. Clone the repository or download the latest release.
git clone https://github.com/Jim137/Tenhou-Paifu-Logger.git
ii. Copy the paifu URL from tenhou.net to clipboard.
iii. Open
runlog-user.bat
.b. Download from pypi.
i. Open command line and type
pip install PaifuLogger
ii. Copy the paifu URL from tenhou.net to clipboard. And type
plog -l [language] -o [output directory] [paifu URLs]
- Once appears, paste the paifu URL and press Enter.
Note: In the latest version, you can input multiple URLs at once, separated by whatever you like. If you are lazy, you can just paste w/o anything. - After appears, the paifu is successfully logged.
- When appears again, you can paste the next the URL.
Features
- Support multiple URLs at once.
- Log paifu into excel, csv or html file with some key information. (-f, --format)
- Support logging to multiple formats at once. (e.g.: -f csv -f html; -a, --all-formats)
- Distinguish Sanma(3p) and Yonma(4p) and log into separate sheets.
- Skip duplicated paifu
- Remake the paifu with URL already logged (-r, --remake). It will be useful when we updated the logging information in future.
- Customized output directory (-o, --output)
- Support mjai format paifu output (--mjai). You have to run
git pull --recurse-submodules
first. - Localization support (-l, --language)
- English: en
- Traditional Chinese: zh_tw
- Simplified Chinese: zh
- Japanese (ChatGPT): ja
Information logged
- Game time
- Placing
- URL (for future use)
- Rate before the game
Future features
- Add match replay for every round in html file
- The change of Rate
- Agari analysis
- Support Majsoul paifu
- GUI
Contribute
We welcome all kinds of contributions, including but not limited to bug reports, pull requests, feature requests, documentation improvements, localizations...etc.
See CONTRIBUTING.md for more details.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for PaifuLogger-0.3.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b28f66c3a87c61c89e6ef5bc85c5f443e43353bc551279742842338994e7c7fe |
|
MD5 | 5802ea9dbde4ea379f39061770c32704 |
|
BLAKE2b-256 | 3d6155d87534c8923212433e2329dbe4d719a7933a3b9f093ecb5f4da6469df1 |