Python wrapper for the Poker Sleuth Scriptable Equity Calculator
This module provides a Python interface to the Poker Sleuth scriptable Texas Hold’em Equity Calculator. Tell it what hands your opponents may have, and it calculates your odds of winning at the showdown if no one folds.
For example, to compute the odds of winning when you have a pair of Jacks, your opponent has the Ace and 5 of diamonds, and the board cards are the 3 of diamonds, 5 of clubs, and 9 of diamonds:
>>> import pokersleuth
>>> pokersleuth.calculate_equity('3d5c9d', ('JJ', 'Ad5d')
[0.48225, 0.51775]
The module can also be used directly from the command line:
C:\>python -m pokersleuth 3d5c9d JJ Ad5d [0.48225, 0.51775]
Metadata
Release files for PokerSleuth 2.1.0.47
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| PokerSleuth-2.1.0.47.tar.gz | 8.2 kB | Without provenance | Details for PokerSleuth-2.1.0.47.tar.gz |
Release files / PokerSleuth-2.1.0.47.tar.gz
| Download URL | PokerSleuth-2.1.0.47.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
47157903385ebfb36a6bd5ded913aa80a0888a6c03a73972c0a7aadbf389dd87
|
|
BLAKE2b-256 checksum How to use checksums |
05634291a5f960369d0a53351f98138506e67819b4eadb98b9f831abc0622d10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for PokerSleuth 2.1.0.47
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.