Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Risk Python Packages

Python packages with the GitHub topic risk. Sorted by monthly downloads, with stars and forks.
bashtage
arch

ARCH models in Python

1.1M 2K 329
gem
openquake-engine

OpenQuake Engine: a software for Seismic Hazard and Risk Analysis

44K 473 332
OasisLMF
oasislmf

Loss modelling framework.

25K 174 78
sigmafieldlabs
finalytics

SigmaField Portfolio Library

17K 79 14
attack68
rateslib

A fixed income library for pricing bonds and bond futures, and derivatives such as interest rate swaps (IRS), cross-currency swaps (XCS) and FX swaps. Contains tools for full curveset construction with market standard optimisers and automatic differentiation (AD) and risk sensitivity calculations including delta and cross-gamma.

17K 372 73
domokane
financepy

A Python Finance Library that focuses on the pricing and risk-management of Financial Derivatives, including fixed-income, equity, FX and credit derivatives.

13K 3K 475
sriram1983007-dev
sra-riskgate-mcp

MCP server that checks stablecoin and x402 payments before an AI agent pays

10K 1 0
mynl
aggregate

Tools for creating and working with aggregate probability distributions.

4K 73 17
hengshu-credit
hscredit

hscredit是为金融风控策略和模型人员提供的工具包,包含从数据探索、特征工程、分箱、编码、筛选到建模和报告生成的全流程解决方案。鉴真伪,斟信用,衡风险,枢定策 —— 衡枢真信,智能风控,一站掌控

3K 24 9
cvxgrp
cvxrisk

Simple riskengine for portfolio optimization

3K 33 4
bbcho
risktools

Python implementation of the R package RTL

1K 43 6
d5v7
hallx

Lightweight, model-agnostic hallucination risk Analysis Library for LLM outputs

723 4 0
fortitudo-tech
pcrm-book

Portfolio Construction and Risk Management book's Python code.

697 216 59
ChenTaHung
mobpy

Monotonic Optimal Binning algorithm is a statistical approach to transform continuous variables into optimal and monotonic categorical variables.

471 23 2
Neurobyteio
agentriskm2m

Pre-trade token risk scoring and honeypot detection for Base Network, paid via x402

360 0 0
hanxixuana
flowrisk

A Python Implementation of Measures for Order Flow Risk, e.g. VPIN

343 100 36
sr-murthy
oedtools

File validation and data sampling toolkit for the Simplitium Open Exposure Data (OED) (re)insurance exposure data format

338 3 2
kindrat86
sanctions-mcp

OFAC sanctions screen, KYA, and transaction risk for AI agents — MCP + HTTP + CLI. Real OFAC data, no API key. (package: agentmail)

325 2 0
AIFDR
python-safe

Spatial Analysis Functional Engine

316 285 131
zaironjacobs
stock-position-calc

A simple program to calculate the right amount of shares to buy while limiting risk.

251 2 0
prettygoodcapital
finance-risk

Standard financial risk tools

157 1 0
davidbailey
rail

Risk Assessment Library

149 8 0
alcrene
emdcmp

Original implementation of the EMD (empirical model discrepancy) model comparison criterion

104 0 0
HexQuant
rsdb

Object–relational mapping for RiskSpectrum PSA model database

100 0 2
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology