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
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
File details
Details for the file pkrsplitter-1.1.0.tar.gz
.
File metadata
- Download URL: pkrsplitter-1.1.0.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5031736f71727563d854ba517695a55e5fd85ac1d5e72809f4942b02f3fa81c9 |
|
MD5 | 4f85a489a9900307c5cc59cdfd313b57 |
|
BLAKE2b-256 | ce798e9e9d438d6694d80432193ba9c5ade3e7cd598062b3fb0a293929b37da4 |
File details
Details for the file pkrsplitter-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: pkrsplitter-1.1.0-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d42fc996f9de9a51601c6a47e76782e66640803952af71d276ef0eb2a92feba |
|
MD5 | 4b8713a690033e7616a63af93507b571 |
|
BLAKE2b-256 | 25cd54fa8a433abef4cdc40b0e1e154160768bfcae0726f4ddff12eb0a04eb39 |