ai-agent

WagerBrain: Calculate Betting Odds

Get essential math for sports betting with WagerBrain, a Python package for founders in the gaming niche.
309 stars43 forksPythonGuide quality 8/10Updated 5/2/2020100% free · open source
What it does

WagerBrain provides the essential math required for sports betting and gambling, helping founders make informed decisions and calculate risks.

When to use it
  • You're building a sports betting platform and need to calculate odds and probabilities.
  • You're creating a gambling-related tool and require mathematical models for decision-making.
  • You need to analyze and optimize your sports betting strategy using data-driven insights.
Ready-to-paste prompt
Calculate the return on investment for a $100 bet with 2:1 odds: `return_on_investment = wager.calculate_return(100, 2)`
Heads up: Ensure you have Python 3.8 or later installed, as WagerBrain is not compatible with earlier versions, and verify that the package is installed correctly by checking the import statement: `from wagerbrain import *`
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

✅ Light setup

Installs with a command or two; your AI agent can do it for you.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/wagerbrain && curl -fsSL https://workflowstacks.com/api/skills/wagerbrain/claude-skill -o ~/.claude/skills/wagerbrain/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How WagerBrain: Calculate Betting Odds works
Codeflow
Free to inspect

WagerBrain: Calculate Betting Odds is a small Python project (~600 lines across 9 code files, plus 4 test files). Setup is light: installs like a normal app. Reading the code is optional. Last commit 77 months ago, MIT license, has a test suite.

Size
Small codebase
~600 lines · 9 code files · 5 min skim
Setup
One-command install
Installs like a normal app. Reading the code is optional.
Runs on
Python
No API keys detected
Python 100%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    WagerBrain/__init__.py
    Inside WagerBrain/ — the main logic begins here
What's in each folder
WagerBrain/Core code — the actual logic20 files
.idea/Editor / agent settings7 files
.github/CI / automation (GitHub Actions)2 files
READMEHas testsDocumentedNo CIMIT licenseLast update 77 mo ago
Quick Actions
Details
Creator
sedemmler
Language
Python
Category
ai-agent
Published
3/26/2020

Are you the creator of this tool? Claim your listing → and earn 85% of every sale.