A blazingly-fast Rust/Python library for parsing poker hand histories
Project description
poker-log-parser
poker-log-parser
is a blazingly-fast Rust/Python library for parsing poker hand histories.
Parsing hand histories is a common task in most 3rd party poker projects, however it has many edge cases, formats and is very tedious. This library was written to take poker hand history text files and parse all relevant hand information as quickly as possible without having to deal with all the headaches.
Features
- Generic poker hand data format
- Parsing speed (parse multiple GB/s on modern CPUs)
- Binary serialization/deserialization
- Compressed binary serialization/deserialization on disk
- JSON serialization/deserialization into:
- Custom compact JSON format
- OpenHandHistory format for interfacing with other tools
Supported websites
- Poker Stars (.com / .fr / .it / .es)
- On Game (.com / .fr / .it)
- Pluribus (subset of Poker Stars format generated from Pluribus AI match logs)
Supported game types
- No Limit Hold'em
Future website support
- Absolute
- EverLeaf
- Bet Online
- Full Tilt Poker
- Pacific Poker (now called 888Poker)
- Poker Tracker
- Party Poker
- GG Poker
- Winamax
- Kings Club
- Bovada
- Enet
- Cake
- Pkr
- Winning Poker
Future game type support
- Fixed Limit Hold'em
- Pot Limit Hold'em
- Fixed Limit Omaha
- Pot Limit Omaha
- Fixed Limit OmahaHiLo
- Pot Limit OmahaHiLo
Getting started
Python
Installation:
pip install poker-log-parser
Basic usage:
import poker_log_parser as pklp
hands = pklp.parse_path("path/to/my_hand_history.txt") # must be a string
print(str(hands))
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
poker_log_parser-0.1.3.tar.gz
(401.8 kB
view details)
Built Distribution
File details
Details for the file poker_log_parser-0.1.3.tar.gz
.
File metadata
- Download URL: poker_log_parser-0.1.3.tar.gz
- Upload date:
- Size: 401.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83193f20901cb19c10d9a6c38041d9d823cc1ba05cacd57c46a006618ce43b3c |
|
MD5 | d43159870903f614efadbe11b04cf17c |
|
BLAKE2b-256 | ab7c2eddb02f40be05da711e66ecf5125a2492c4280c51b6a22c9e69502614a1 |
File details
Details for the file poker_log_parser-0.1.3-cp39-none-win_amd64.whl
.
File metadata
- Download URL: poker_log_parser-0.1.3-cp39-none-win_amd64.whl
- Upload date:
- Size: 286.2 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e71ea349ed771c87ea7bc643e13ac0d49eb548132d6a0d21500c0c53541bd0ce |
|
MD5 | 0e8d4f52fc9030347c7a28091f7c3469 |
|
BLAKE2b-256 | 51b7a1d6ab2fe20feceb2ef932c1c2c1d59a7c8fb23b03b1f47837a377108718 |