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=path/to/source/dir
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.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4bcbc387ac121648ce9405a15ede348e4df95c36b0b45ffa06503b95d959ca4 |
|
MD5 | 20902bbb6ca588cc7ae3278d825d91d8 |
|
BLAKE2b-256 | 8bdcb23f7db5c75aa8b2834f7d624683f6d74a599a2499054e7a5cb44f304f65 |