A previous release had provenance metadata, but this release does not. View details.
Description
Treys is a library made by someone from MIT. It is widely used to easily evaluate rounds of Texas Hold'em from the flop to the river. But one problem i came across using Treys is that it does not have an evaluator to evaluate pre-flop rounds. So i built XtreysPF to fix that problem, XtreysPF(Short for eXtended treys PreFlop) is an Add-on that evaluates hole cards and hole cards only. Unlike the Treys which uses a 5-card, 6-card, or 7-card basis, XtreysPF relies on a 2-card basis where it converts unreadable integers into ranks from 1-91.
Installation
To install XtreysPF, install treys using:
pip install treys
Then, open your terminal and run:
pip install git+https://github.com/bingchiliingsacker-dot/XtreysPF.git
or:
pip install xtreyspf
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}")
Metadata
Release files for xtreyspf 0.1.31
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Loss of provenance
These files do not have provenance metadata, despite files in a prior release including this data.
We recommend further investigation before installing these files. View details.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| xtreyspf-0.1.31.tar.gz | 2.8 kB | Without provenance | Details for xtreyspf-0.1.31.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| xtreyspf-0.1.31-py3-none-any.whl | Python 3 | none | any | Details for xtreyspf-0.1.31-py3-none-any.whl |
Total release size: 5.9 kB
Release files / xtreyspf-0.1.31.tar.gz
Loss of provenance
This file belongs to a release without provenance metadata, despite a prior release including this data.
We recommend further investigation before installing this file. View details.
| Download URL | xtreyspf-0.1.31.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b4db67922fc30d12f72c6d047190f834b4f76483e55f89c3a127595a8f2433b4
|
|
BLAKE2b-256 checksum How to use checksums |
b6b8ac2c3c908c4c30aeb00579cfeb1a7de45b9abf81eacda2b85158352262ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.7
|
Release files / xtreyspf-0.1.31-py3-none-any.whl
Loss of provenance
This file belongs to a release without provenance metadata, despite a prior release including this data.
We recommend further investigation before installing this file. View details.
| Download URL | xtreyspf-0.1.31-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eccfab2f397f73cf04da7fe2471741e8342b5cfbb6244dbaaf7d6697a977b9d2
|
|
BLAKE2b-256 checksum How to use checksums |
db1a299a9d11e6650638cc878302ce9596d2e0978c5c93c7ee3ddeab93e563f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.7
|
Security for xtreyspf 0.1.31
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Loss of provenance
A previous release of these files had provenance metadata, but this release does not.
While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.
Release comparison
- Removed 0.1.3 2 files With provenance
- Added 0.1.31 2 files Without provenance
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.