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))
Metadata
Release files for poker-log-parser 0.1.3
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 | |
|---|---|---|---|---|
| poker_log_parser-0.1.3.tar.gz | 401.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| poker_log_parser-0.1.3-cp39-none-win_amd64.whl | CPython 3.9 | none | Windows x86-64 | Details |
Total release size: 688.0 kB
Release files / poker_log_parser-0.1.3.tar.gz
| Download URL | poker_log_parser-0.1.3.tar.gz |
|---|---|
| Size | 401.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
83193f20901cb19c10d9a6c38041d9d823cc1ba05cacd57c46a006618ce43b3c
|
|
BLAKE2b-256 checksum How to use checksums |
ab7c2eddb02f40be05da711e66ecf5125a2492c4280c51b6a22c9e69502614a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.13.0
|
Release files / poker_log_parser-0.1.3-cp39-none-win_amd64.whl
| Download URL | poker_log_parser-0.1.3-cp39-none-win_amd64.whl |
|---|---|
| Size | 286.2 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
e71ea349ed771c87ea7bc643e13ac0d49eb548132d6a0d21500c0c53541bd0ce
|
|
BLAKE2b-256 checksum How to use checksums |
51b7a1d6ab2fe20feceb2ef932c1c2c1d59a7c8fb23b03b1f47837a377108718
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.13.0
|
Security for poker-log-parser 0.1.3
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.