semvec/pypi-packages huggingface dataset:
PyDiamond 1.0.0a0.dev1
pygame-based game engine
Requires Python: >=3.10

# PyDiamond
PyDiamond engine is a game engine intended to game developers in Python language.

The framework uses the popular [pygame library](https://github.com/pygame/pygame/).

## Usage
Example with the minimal requirements:
```py
from py_diamond.window.display import Window

def main() -> int:
    w: Window = Window(title="my window", size=(800, 600))
    with w.open():
        while w.looping():
            for event in w.process_events():
                # do some stuff
                pass
            # draw your objects
            w.refresh()
    return 0

if __name__ == "__main__":
    exit(main())
```
This code will open a small window.

### Documentation
Coming soon. :)

## Dependencies
```sh
python3 -m pip install -r requirements.txt
```
PyDiamond is dependent of pygame and Python (obviously). Some features of pygame needed in PyDiamond are available with a specific version of the SDL.

Dependency version:
- CPython >= 3.10
- pygame == 2.1.2
- SDL >= 2.0.16
- SDL_image >= 2.0.0
- SDL_mixer >= 2.0.0
- Other python dependencies referred by `requirements.txt`

## Credits
- Gradient module by DR0ID
- [OrderedSet](https://github.com/rspeer/ordered-set) collection by rspeer

## License
This project is licensed under the terms of the [GNU General Public License v3.0](./LICENSE).
poker-log-parser 0.1.3
A blazingly-fast Rust/Python library for parsing poker hand histories
Requires Python: >=3.7
Keywords: poker,hand history,hand histories,poker parser,PokerStars,Pluribus,OnGame

# poker-log-parser
`poker-log-parser` is a blazingly-fast Rust/Python library for parsing poker hand histories. 

Parsing hand histories is a common task in most 3rd party poker projects, however it has many edge cases, formats and is very tedious.  This library was written to take poker hand history text files and parse all relevant hand information as quickly as possible without having to deal with all the headaches.

# Features
- Generic poker hand data format
- Parsing speed (parse multiple GB/s on modern CPUs)
- Binary serialization/deserialization
- Compressed binary serialization/deserialization on disk
- JSON serialization/deserialization into:
  - Custom compact JSON format
  - <a href="https://hh-specs.handhistory.org/">OpenHandHistory format</a> for interfacing with other tools


# Supported websites
- Poker Stars (.com / .fr / .it / .es)
- On Game (.com / .fr / .it)
- Pluribus (subset of Poker Stars format generated from Pluribus AI match logs)


# Supported game types
- No Limit Hold'em

# Future website support
- Absolute
- EverLeaf
- Bet Online
- Full Tilt Poker
- Pacific Poker (now called 888Poker)
- Poker Tracker
- Party Poker
- GG Poker
- Winamax
- Kings Club
- Bovada
- Enet
- Cake
- Pkr
- Winning Poker

# Future game type support
- Fixed Limit Hold'em
- Pot Limit Hold'em
- Fixed Limit Omaha
- Pot Limit Omaha
- Fixed Limit OmahaHiLo
- Pot Limit OmahaHiLo

# Getting started

## Python

Installation:
```shell
pip install poker-log-parser
```

Basic usage:
```python
import poker_log_parser as pklp

hands = pklp.parse_path("path/to/my_hand_history.txt") # must be a string

print(str(hands))
```