Skip to main content

A poker package to parse Hand histories into json objects

Project description

PokerHistoryParser

Description

A poker package to parse Hand histories into json objects

PokerHistoryParser is a powerful tool for analyzing and extracting data from poker hand histories.
This project is designed to help poker players and analysts better understand their performance by providing detailed analyses of hands played.

Table of Contents

Introduction

Welcome to the PokerHistoryParser documentation.
This tool allows you to analyze poker hand histories.
It is designed to be easy to use and integrate into your projects.
It returns data as a dictionary or JSON file for easy use in your programs.

Installation

To install the package, use the following command:

pip install pkrhistoryparser

Usage

Base Examples

Here are some simple examples of using PokerHistoryParser:

Parse a poker hand history to a dict to be used in a program:

from pkrhistoryparser.parser import HandHistoryParser

parser = HandHistoryParser()
hand_text = parser.get_raw_text("path/to/hand/history.txt")
hand_info = parser.parse_hand(hand_text)

Parse a poker hand history to a JSON file:

from pkrhistoryparser.parser import HandHistoryParser

parser = HandHistoryParser()
parser.parse_to_json('path/to/hand/history.txt', 'path/to/save/json/file.json')

For more details on usage, please refer to the documentation.

Supported Poker Sites

Currently, PokerHistoryParser supports the following poker sites:

  • Winamax

Upcoming Features

Here are some features we plan to add in future versions:

  • Analysis of tournament summary files
  • Analysis of CashGame files
  • Support for more poker sites

Contributing

All contributions are welcome! To contribute, please follow these steps:

  1. Fork the repository
  2. Create a branch for your feature (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

This project is licensed under the MIT license. See the LICENSE file for more details.

Authors

Associated Projects


For any questions or issues, feel free to open an issue in the repository or contact us directly.

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

pkrhistoryparser-3.0.3.tar.gz (16.4 kB view details)

Uploaded Source

Built Distribution

pkrhistoryparser-3.0.3-py3-none-any.whl (20.9 kB view details)

Uploaded Python 3

File details

Details for the file pkrhistoryparser-3.0.3.tar.gz.

File metadata

  • Download URL: pkrhistoryparser-3.0.3.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.12

File hashes

Hashes for pkrhistoryparser-3.0.3.tar.gz
Algorithm Hash digest
SHA256 3e6c1eccd91c1cdb87de6a644b63a1a5d706ba33121c7237c56895bbfabfe284
MD5 419c9384acc7be9e52113f6cc780ed58
BLAKE2b-256 4f04ecce94e519c3bea1a034ad85e0312b6dffb708f7f7c5849db0b150304035

See more details on using hashes here.

File details

Details for the file pkrhistoryparser-3.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for pkrhistoryparser-3.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 881c87ac5caf6fd50ca4b64a84647ed03a5b724de411639ea78599dbe5e9bf60
MD5 a6ddd12ac51e2d714e5957467ec8cb41
BLAKE2b-256 6c782655a1d0ad09a8675d3c217e8e0769a3d35b486d40a8e8454ccfd85b51a1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page