Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xtreyspf-0.1.2.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xtreyspf-0.1.2-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

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

Hashes for xtreyspf-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c1e7529453a068c9e2949c56dd74688ad18038517fca0bea0776626f6a58d601
MD5 25353a60e063ba1a405adf7afecad0f4
BLAKE2b-256 a257beba2997ab4f5cf5e9e6a139de4e46506ab6c4c03850b2ef79a246eccb02

See more details on using hashes here.

Provenance

The following attestation bundles were made for xtreyspf-0.1.2.tar.gz:

Publisher: python-publish.yml on bingchiliingsacker-dot/XtreysPF

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for xtreyspf-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2c842d26b667531e6505a05ffd46d7bbd38e1ed5f43d5dfc4218c361e0f31ff5
MD5 610de5385ce3035d5f3d461d2d3ae24e
BLAKE2b-256 1ba9eda0557d4ae993fc8c57357b91f3be86368921f74b9ac9772110f51d01ab

See more details on using hashes here.

Provenance

The following attestation bundles were made for xtreyspf-0.1.2-py3-none-any.whl:

Publisher: python-publish.yml on bingchiliingsacker-dot/XtreysPF

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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