Python
108 posts
Bankroll Management with Keeks: Drawdown-Adjusted Kelly
Drawdown-Adjusted Kelly dynamically reduces bet sizes during losing streaks to protect your bankroll. See how to implement it with Keeks.
Managing Bandit False Positives Without Breaking Security
How to handle false positives in Bandit without accidentally silencing the real vulnerabilities hiding among them. A practical guide.
Bankroll Management with Keeks: Fractional Kelly
Fractional Kelly betting trades some theoretical growth for reduced volatility. Learn how to implement Half Kelly and Quarter Kelly with Keeks.
PyGeoHash 2025: A Year of Transformation
Looking back at a transformative year for PyGeoHash - from complete rewrites to MIT licensing, type hints to automated publishing, and the community impact of a decade-old library reborn.
Native Structured Outputs: When to Skip the Framework
OpenAI and Anthropic now offer built-in structured output support. Here's when to use native APIs versus validation frameworks.
Comparing Python Libraries for Structured LLM Extraction
A practical comparison of instructor, outlines, and pydantic-ai for getting structured data from LLMs based on production experience.
From Theory to Practice: Building Real Decision Models with Petersburg
A practical guide to modeling complex decisions with Monte Carlo simulation using petersburg, featuring real case studies from startups and drug development.
Keeks 0.3.0: Introducing the Merton Share Strategy
Keeks 0.3.0 adds the Merton Share strategy with configurable risk aversion and maximum entry price calculations for one-time gambles.
SQL Injection Detection with Bandit Rule B608: Beyond the Basics
Learn how Bandit's B608 rule detects SQL injection vulnerabilities in Python. Understand common patterns, secure alternatives, and defense strategies.
Advanced Bandit Configuration: Custom Rules and Team Workflows
Master advanced Bandit features including custom rules, baseline configurations, and team-wide security policies for enterprise Python development.