{"categories":[{"label":"Mathematics","url":"https://skillfed.io/packages/category/scientific-engineering-mathematics/3"}],"enrichment":{"capability":"Computes implied volatility from option prices using Peter Jaeckel's LetsBeRational algorithm, with optional Numba acceleration for speed.","skillfed_tags":["quantitative-finance","option-pricing","numerical-methods"],"use_cases":["Computing implied volatility from observed option market prices for Greeks and risk calculations.","Building implied volatility surfaces across strikes and maturities from option quotes.","Calibrating option pricing models by extracting market-implied volatility parameters.","Backtesting trading strategies that depend on fast, accurate volatility inference.","Constructing volatility indices or term structures for portfolio analysis."],"what_it_does":"py-lets-be-rational is a Python implementation of Peter Jaeckel's LetsBeRational algorithm for computing implied volatility from option prices. It solves the inverse problem of Black's model\u2014given an observed option price, it calculates the volatility that would produce that price\u2014using a highly efficient numerical method. The package provides a pure Python implementation that works out of the box, with an optional Numba dependency for JIT compilation and faster execution.\n\nThe package depends on numpy for numerical operations and maintains backward compatibility with the historical py_lets_be_rational import path. Installation is straightforward on modern Python (3.9\u20133.14), though users seeking Numba acceleration must handle OS-specific LLVM setup separately. It is actively maintained and carries a permissive MIT license.","worth_installing":"Yes. The package solves a well-defined, computationally intensive problem with a proven algorithm. It has low installation friction, active maintenance, MIT licensing, no known vulnerabilities, and broad Python version support (3.9\u20133.14). The pure Python fallback ensures it works immediately; optional Numba acceleration is available for users willing to handle system-level dependencies. Suitable for production use in option analytics workflows."},"id":"py-lets-be-rational","links":{"html":"https://skillfed.io/packages/py-lets-be-rational","md":"https://skillfed.io/packages/py-lets-be-rational.md","pypi":"https://pypi.org/project/py-lets-be-rational/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-30","license_spdx":null,"license_treatment":"permissive","name":"py-lets-be-rational","python_support":"supports_current","summary":"Pure python implementation of Peter Jaeckel's LetsBeRational."},"popularity":{"monthly_downloads":120919,"position":12004,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.1.2"}
