An extended add-on for pre-flop card evaluation.
Project description
Installation
To install XtreysPF, open your terminal and run:
pip install git+https://github.com/bingchiliingsacker-dot/XtreysPF.git
Note: If you run into any issues installing or using XtreysPF, feel free to open a ticket on the Issues tab!
Usage
XtreysPF has one goal only, and its to rank the strength of the hole cards. Cards are ranked from 1 to 91 with 'A-A' or pocket Ace's being the strongest and a '2-7' being the weakest pair
Here is a quick test to see if xtreyspf is working:
from treys import Deck
import xtreyspf as pf
d = Deck()
cards = d.draw(2)
rank = pf.preflop_eval(cards)
print(f"Pre-flop hand rank: {rank}")
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xtreyspf-0.1.2.tar.gz.
File metadata
- Download URL: xtreyspf-0.1.2.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1e7529453a068c9e2949c56dd74688ad18038517fca0bea0776626f6a58d601
|
|
| MD5 |
25353a60e063ba1a405adf7afecad0f4
|
|
| BLAKE2b-256 |
a257beba2997ab4f5cf5e9e6a139de4e46506ab6c4c03850b2ef79a246eccb02
|
Provenance
The following attestation bundles were made for xtreyspf-0.1.2.tar.gz:
Publisher:
python-publish.yml on bingchiliingsacker-dot/XtreysPF
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xtreyspf-0.1.2.tar.gz -
Subject digest:
c1e7529453a068c9e2949c56dd74688ad18038517fca0bea0776626f6a58d601 - Sigstore transparency entry: 2255411852
- Sigstore integration time:
-
Permalink:
bingchiliingsacker-dot/XtreysPF@aac4686660256fafe942a6d6a2e036ef3cc4b9fd -
Branch / Tag:
refs/tags/0.1.2 - Owner: https://github.com/bingchiliingsacker-dot
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@aac4686660256fafe942a6d6a2e036ef3cc4b9fd -
Trigger Event:
release
-
Statement type:
File details
Details for the file xtreyspf-0.1.2-py3-none-any.whl.
File metadata
- Download URL: xtreyspf-0.1.2-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c842d26b667531e6505a05ffd46d7bbd38e1ed5f43d5dfc4218c361e0f31ff5
|
|
| MD5 |
610de5385ce3035d5f3d461d2d3ae24e
|
|
| BLAKE2b-256 |
1ba9eda0557d4ae993fc8c57357b91f3be86368921f74b9ac9772110f51d01ab
|
Provenance
The following attestation bundles were made for xtreyspf-0.1.2-py3-none-any.whl:
Publisher:
python-publish.yml on bingchiliingsacker-dot/XtreysPF
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xtreyspf-0.1.2-py3-none-any.whl -
Subject digest:
2c842d26b667531e6505a05ffd46d7bbd38e1ed5f43d5dfc4218c361e0f31ff5 - Sigstore transparency entry: 2255411861
- Sigstore integration time:
-
Permalink:
bingchiliingsacker-dot/XtreysPF@aac4686660256fafe942a6d6a2e036ef3cc4b9fd -
Branch / Tag:
refs/tags/0.1.2 - Owner: https://github.com/bingchiliingsacker-dot
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@aac4686660256fafe942a6d6a2e036ef3cc4b9fd -
Trigger Event:
release
-
Statement type: