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.splitters.abstract import AbstractFileSplitter
splitter = AbstractFileSplitter(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.splitters.abstract import AbstractFileSplitter
splitter = AbstractFileSplitter(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.1.tar.gz
.
File metadata
- Download URL: pkrsplitter-1.1.1.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd04a8603b152cc05b8e29d9a284bdaff95e4ca0efde71ef065503d1862423bd |
|
MD5 | f9759ad6c40cde9962cecb6f4cb4abc3 |
|
BLAKE2b-256 | a231cd58cb507062923e715b0575f016449405cdbf248b856a8ab8036308b444 |
File details
Details for the file pkrsplitter-1.1.1-py3-none-any.whl
.
File metadata
- Download URL: pkrsplitter-1.1.1-py3-none-any.whl
- Upload date:
- Size: 10.8 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 | 84bbcadae1dc6c68bc23a19818426ab613f4d0980c3e570ad0fbfe5b0729b541 |
|
MD5 | 4a75ac9a70040d27a1e53e542e613622 |
|
BLAKE2b-256 | f9b08266ab87dee019374bf22b13ccdefd8a3089ce4444e0df054768d1df9115 |