PokerSleuth 2.1.0.47
A 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]
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| PokerSleuth-2.1.0.47.tar.gz (md5, pgp) | Source | 2010-06-24 | 7KB | 577 | |
- Author: Stutzbach Enterprises, LLC
- Home Page: http://pokersleuth.com/programmable-poker-calculator.shtml
- Keywords: poker equity calculator odds
- License: BSD
- Provides pokersleuth
-
Categories
- Development Status :: 5 - Production/Stable
- Environment :: Win32 (MS Windows)
- Intended Audience :: Developers
- License :: OSI Approved :: BSD License
- Operating System :: Microsoft :: Windows
- Programming Language :: Python :: 2
- Programming Language :: Python :: 2.5
- Programming Language :: Python :: 2.6
- Programming Language :: Python :: 2.7
- Programming Language :: Python :: 3
- Programming Language :: Python :: 3.1
- Programming Language :: Python :: 3.2
- Topic :: Games/Entertainment
- Topic :: Scientific/Engineering :: Mathematics
- Topic :: Software Development :: Libraries :: Python Modules
- Package Index Owner: stutzbach
- DOAP record: PokerSleuth-2.1.0.47.xml
