Skip to main content

A package to split poker history files

Project description

Poker Splitter

A package to split poker history files

Documentation Status PyPI version

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

pkrsplitter-1.0.1.tar.gz (6.9 kB view hashes)

Uploaded Source

Built Distribution

pkrsplitter-1.0.1-py3-none-any.whl (6.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page