Metadata-Version: 2.1
Name: pkrfilesorter
Version: 1.2.0
Summary: A package to sort poker files in adapted directories
Home-page: https://github.com/manggy94/PokerFileSorter
Author: Alexandre MANGWA
Author-email: alex.mangwa@gmail.com
License: UNKNOWN
Project-URL: Bug Tracker, https://github.com/manggy94//issues
Project-URL: Documentation, https://pkrfilesorter.readthedocs.io/en/latest/
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE.txt

# PokerFileSorter


[![Documentation Status](https://readthedocs.org/projects/pkrfilesorter/badge/?version=latest)](https://pkrfilesorter.readthedocs.io/en/latest/?badge=latest)
[![PyPI version](https://badge.fury.io/py/pkrfilesorter.svg)](https://badge.fury.io/py/pkrfilesorter)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

## Description
A package to sort poker files in adapted directories

PokerFileSorter is a simple tool to sort poker files in adapted directories.

## Table of Contents

- [Description](#description)
- [Getting Started](#getting-started)
- [Usage](#usage)
- [Documentation](#documentation)
- [License](#license)

## Getting Started

To install the package, use the following command:

```sh
pip install pkrfilesorter
```

If you want to download the source code, you can do so by cloning the repository:

```sh
git clone https://github.com/Manggy94/PokerFileSorter.git
```

## Usage

### Base Examples

Here are some simple examples of using PokerFileSorter:

Sort a poker file to a directory with custom directories:

```python
from pkrfilesorter.file_sorter import FileSorter

sorter = FileSorter("path/to/poker/history/dir", "path/to/sorted/dir")
sorter.copy_files()
```

Setting source directories and destination directories from a .env file:

.env:
```env
SOURCE_DIR="path/to/poker/history/dir"
DESTINATION_DIR="path/to/sorted/dir"
```

Then, in the command line:
```sh
python -m pkrfilesorter.main
```

## Documentation

Read the doc on [ReadTheDocs](https://pkrfilesorter.readthedocs.io/en/latest/)

## License

This project is licensed under the *MIT* license. See the [LICENSE](LICENSE.txt) file for more details.

