Skip to main content

Local analysis tool for Pokercraft in GGNetwork

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

Pokercraft Local

This is a customized visualization tool using downloaded data from Pokercraft in GGNetwork.

Here is working demo.

Dependencies

  • Python 3.12 (for libraries, check requirements.txt.)

How to run

1. Installation

Clone this git repo and install dependencies with pip install -r requirements.txt, optionally on virtual environment. If you want the library files only, you can download from PyPI. Run pip install pokercraft-local.

pip install -r requirements.txt  # When you cloned the whole repo
pip install pokercraft-local  # When you install library only via pip

Or alternatively, you can just download compiled binaries from Releases page. This is the best decision when you don't know programming.

2. Collect your data files from Pokercraft

Download "Game summaries" file by pressing green button on your pokercraft tournament section. If there are too many tournament records on your account, GGNetwork will prevent you from bulk downloading, therefore you may have to download separately monthly or weekly records.

pokercraft_download

After you downloaded, just put all .zip files in single folder. The unzipping is not necessary anymore from v1.7.0. The library finds all GG(blabla).txt files from both directory and .zip files recursively by default.

3. Running a program

For GUI, if you successfully run the program, you will be able to view something like following image.

gui_screen

3A. When you cloned this whole repo

Run run_cli.py with some arguments. Make sure you installed all dependencies before running.

python run_cli.py --help

Or alternatively, you can run run_gui.py instead.

python run_gui.py

3B. When you installed libraries via pip

Run following Python code to start GUI, and you are good to go.

from pokercraft_local.gui import PokerCraftLocalGUI

if __name__ == "__main__":
    PokerCraftLocalGUI().run_gui()

To do something programatic, check run_cli.py for example references.

3C. When you directly downloaded releases

Execute run_gui-(YOUR_OS)/run_gui/run_gui.exe from downloaded zip file on your local machine.

4. Check results

Go to your output folder and open generated .html file. Note that plotly javascripts are included by CDN, so you need working internet connection to properly view it.

Features

Each plots are now providing documentations in .html, so please read when you generated a file. There are following sections;

  1. Historical Performances
  2. RRE Heatmaps
  3. Bankroll Analysis with Monte-Carlo simulation
  4. Your Prizes
  5. RR by Rank Percentiles

Project details


Release history Release notifications | RSS feed

This version

1.8.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pokercraft_local-1.8.0.tar.gz (26.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pokercraft_local-1.8.0-py3-none-any.whl (27.7 kB view details)

Uploaded Python 3

File details

Details for the file pokercraft_local-1.8.0.tar.gz.

File metadata

  • Download URL: pokercraft_local-1.8.0.tar.gz
  • Upload date:
  • Size: 26.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for pokercraft_local-1.8.0.tar.gz
Algorithm Hash digest
SHA256 ab820d9d525468a3166f47527e182fb42387e2e26fc0d2c9dc830647626027e3
MD5 364d2c724e2a534c394635845ad08d5b
BLAKE2b-256 9e0939f03e3ca4d5bfeccd61300458bbc7202347a7c60198c6d1520269359d8b

See more details on using hashes here.

File details

Details for the file pokercraft_local-1.8.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pokercraft_local-1.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c87e6c8488c368705dc6cdaa55ac211677647f44ae54ee99c3bab63b8640e761
MD5 6d212a3cc8b341e71207ae5102442008
BLAKE2b-256 c7c6cdd940d487ba16e741630c78f53b235787cb1713722677c59faa404bdc04

See more details on using hashes here.

Supported by

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