pokercraft-local


Namepokercraft-local JSON
Version 1.7.2 PyPI version JSON
download
home_pageNone
SummaryLocal analysis tool for Pokercraft in GGNetwork
upload_time2025-01-01 15:40:50
maintainerNone
docs_urlNone
authorNone
requires_python>=3.12
licenseCopyright 2024 McDic Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords poker pokercraft ggpoker
VCS
bugtrack_url
requirements pandas plotly statsmodels markdown forex-python requests pokercraft-local-bankroll
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Pokercraft Local

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

Here is working [demo](https://blog.mcdic.net/assets/raw_html/damavaco_performance.html).

## 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`.

```bash
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](https://github.com/McDic/pokercraft-local/releases).
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](./images/pokercraft_download.png)

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](./images/gui_screen.png)

#### 3A. When you cloned this whole repo

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

```bash
python run_cli.py --help
```

Or alternatively, you can run `run_gui.py` instead.

```bash
python run_gui.py
```

#### 3B. When you installed libraries via `pip`

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

```python
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

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pokercraft-local",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.12",
    "maintainer_email": null,
    "keywords": "poker, pokercraft, ggpoker",
    "author": null,
    "author_email": "Minsung Kim <spongbob9876@naver.com>",
    "download_url": "https://files.pythonhosted.org/packages/f1/a6/67675cd28eb41cf0630fdcbb6df4427408897701d79e3a4f4f033160edfd/pokercraft_local-1.7.2.tar.gz",
    "platform": null,
    "description": "# Pokercraft Local\n\nThis is a customized visualization tool using downloaded data from Pokercraft in GGNetwork.\n\nHere is working [demo](https://blog.mcdic.net/assets/raw_html/damavaco_performance.html).\n\n## Dependencies\n\n- Python 3.12 (for libraries, check `requirements.txt`.)\n\n## How to run\n\n### 1. Installation\n\nClone this git repo and install dependencies with `pip install -r requirements.txt`, optionally on virtual environment.\nIf you want the library files only, you can download from PyPI. Run `pip install pokercraft-local`.\n\n```bash\npip install -r requirements.txt  # When you cloned the whole repo\npip install pokercraft-local  # When you install library only via pip\n```\n\nOr alternatively, you can just download compiled binaries from [Releases page](https://github.com/McDic/pokercraft-local/releases).\nThis is the best decision when you don't know programming.\n\n### 2. Collect your data files from Pokercraft\n\nDownload *\"Game summaries\"* file by pressing green button on your pokercraft tournament section.\nIf there are too many tournament records on your account, GGNetwork will prevent you from bulk downloading,\ntherefore you may have to download separately monthly or weekly records.\n\n![pokercraft_download](./images/pokercraft_download.png)\n\nAfter you downloaded, just put all `.zip` files in single folder.\nThe unzipping is not necessary anymore from `v1.7.0`.\nThe library finds all `GG(blabla).txt` files from both directory and `.zip` files recursively by default.\n\n### 3. Running a program\n\nFor GUI, if you successfully run the program, you will be able to view something like following image.\n\n![gui_screen](./images/gui_screen.png)\n\n#### 3A. When you cloned this whole repo\n\nRun `run_cli.py` with some arguments.\nMake sure you installed all dependencies before running.\n\n```bash\npython run_cli.py --help\n```\n\nOr alternatively, you can run `run_gui.py` instead.\n\n```bash\npython run_gui.py\n```\n\n#### 3B. When you installed libraries via `pip`\n\nRun following Python code to start GUI, and you are good to go.\n\n```python\nfrom pokercraft_local.gui import PokerCraftLocalGUI\n\nif __name__ == \"__main__\":\n    PokerCraftLocalGUI().run_gui()\n```\n\nTo do something programatic, check `run_cli.py` for example references.\n\n#### 3C. When you directly downloaded releases\n\nExecute `run_gui-(YOUR_OS)/run_gui/run_gui.exe` from downloaded zip file on your local machine.\n\n### 4. Check results\n\nGo to your output folder and open generated `.html` file.\nNote that plotly javascripts are included by CDN, so you need working internet connection to properly view it.\n\n## Features\n\nEach plots are now providing documentations in `.html`,\nso please read when you generated a file.\nThere are following sections;\n\n1. Historical Performances\n2. RRE Heatmaps\n3. Bankroll Analysis with Monte-Carlo simulation\n4. Your Prizes\n5. RR by Rank Percentiles\n",
    "bugtrack_url": null,
    "license": "Copyright 2024 McDic  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \u201cSoftware\u201d), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \u201cAS IS\u201d, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "Local analysis tool for Pokercraft in GGNetwork",
    "version": "1.7.2",
    "project_urls": {
        "Homepage": "https://github.com/McDic/pokercraft-local"
    },
    "split_keywords": [
        "poker",
        " pokercraft",
        " ggpoker"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e280b01cd4dea7dba7839478910719ed2dd27a2bb3455a6091cd7d8b69152c7a",
                "md5": "e91fbe833ae760e18bd36e79d5f694e0",
                "sha256": "98a622b95dc375c08ccc299f4bdf9f10ed8d9546e7e7c117ff29ebf4c20a2df4"
            },
            "downloads": -1,
            "filename": "pokercraft_local-1.7.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e91fbe833ae760e18bd36e79d5f694e0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.12",
            "size": 26961,
            "upload_time": "2025-01-01T15:40:48",
            "upload_time_iso_8601": "2025-01-01T15:40:48.452606Z",
            "url": "https://files.pythonhosted.org/packages/e2/80/b01cd4dea7dba7839478910719ed2dd27a2bb3455a6091cd7d8b69152c7a/pokercraft_local-1.7.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f1a667675cd28eb41cf0630fdcbb6df4427408897701d79e3a4f4f033160edfd",
                "md5": "a9ad22277e64e8e665e9a195e3bac66d",
                "sha256": "60df257db572803a42165810d0178f0272a746bdf02fa18dad1227d5471049f1"
            },
            "downloads": -1,
            "filename": "pokercraft_local-1.7.2.tar.gz",
            "has_sig": false,
            "md5_digest": "a9ad22277e64e8e665e9a195e3bac66d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.12",
            "size": 25499,
            "upload_time": "2025-01-01T15:40:50",
            "upload_time_iso_8601": "2025-01-01T15:40:50.826461Z",
            "url": "https://files.pythonhosted.org/packages/f1/a6/67675cd28eb41cf0630fdcbb6df4427408897701d79e3a4f4f033160edfd/pokercraft_local-1.7.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-01 15:40:50",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "McDic",
    "github_project": "pokercraft-local",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "pandas",
            "specs": []
        },
        {
            "name": "plotly",
            "specs": []
        },
        {
            "name": "statsmodels",
            "specs": [
                [
                    "==",
                    "0.14.*"
                ]
            ]
        },
        {
            "name": "markdown",
            "specs": []
        },
        {
            "name": "forex-python",
            "specs": [
                [
                    "==",
                    "1.8.*"
                ]
            ]
        },
        {
            "name": "requests",
            "specs": []
        },
        {
            "name": "pokercraft-local-bankroll",
            "specs": [
                [
                    "==",
                    "0.4.*"
                ]
            ]
        }
    ],
    "lcname": "pokercraft-local"
}
        
Elapsed time: 0.65268s