Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A wrapper for the Poker Sleuth Scriptable Equity Calculator

Project Description

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]
Release History

Release History

This version
History Node

2.1.0.47

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
PokerSleuth-2.1.0.47.tar.gz (8.2 kB) Copy SHA256 Checksum SHA256 Source Jun 24, 2010

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting