A package to split poker history files
Project description
Poker Splitter
A package to split poker history files
Table of Contents
Description
A package to split poker history files Currently only supports Winamax history files
Installation
From PyPi:
pip install pkrsplitter
From source:
git clone https://github.com/manggy94/PokerSplitter.git
cd PokerSplitter
Add a .env file in the root directory with the following content:
SOURCE_DIR=C:/Users/mangg/ManggyTracker/data
You can also directly set the environment variable in your system.
Usage
Basic Usage from the command line:
python -m pkrsplitter.main
Usage in a script:
from pkrsplitter.splitter import FileSplitter
splitter = FileSplitter(raw_histories_directory='path/to/raw/dir', split_histories_directory='path/to/split/dir')
splitter.split_files()
You can use the check_exists parameter to check if the files have already been split:
from pkrsplitter.splitter import FileSplitter
splitter = FileSplitter(raw_histories_directory='path/to/raw/dir', split_histories_directory='path/to/split/dir')
splitter.split_files(check_exists=True)
This will result in overwriting the files if they already exist in the split directory.
License
This project is licensed under the MIT License - You can check out the full license here
##Documentation
The documentation can be found here
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pkrsplitter-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c99e9cbfc78e543fa6496f68f42e6e9e80ab418776ab3408307b0b4bb3256e55 |
|
MD5 | c6b6863179537e0044570aa1e3f778d6 |
|
BLAKE2b-256 | 84492240e1aff6af24970b91f2108e3dc79e35c3f7e4dfad6e1b9286912e3c79 |