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

Stata Python Packages

Python packages with the GitHub topic stata. Sorted by monthly downloads, with stars and forks.
brycewang-stanford
statspai

StatsPAI is an Agent-native Python library for causal inference and applied econometrics — unified API, broad cross-method coverage, structured result objects, machine-readable schemas, Skills, an MCP server, and R/Stata parity validation.

18K 389 78
sepinetam
stata-mcp

Stata-MCP: A MCP server for integrating Stata into your agent loop with a safety-first design.

14K 285 36
tmonk
mcp-stata

A lightweight Model Context Protocol (MCP) server for Stata. Execute commands, inspect data, retrieve stored results (r()/e()), and view graphs in your chat interface. Built for economists who want to integrate LLM assistance into their Stata workflow.

11K 92 21
jrothbaum
polars-readstat

Polars IO plugin to read SAS (sas7bdat), Stata (dta), and SPSS (sav) files

9K 46 8
chrissoria
cat-llm

Classify, extract, and summarize open-ended text (survey responses, social media, academic papers, political text, web content) at scale with LLMs. Python, R, and Stata.

4K 11 0
TiesdeKok
ipystata

Enables the use of Stata together with Python via Jupyter (IPython) notebooks.

3K 199 67
brycewang-stanford
statspai-hdfe

StatsPAI is an Agent-native Python library for causal inference and applied econometrics — unified API, broad cross-method coverage, structured result objects, machine-readable schemas, Skills, an MCP server, and R/Stata parity validation.

3K 389 78
hugetim
nbstata

A Jupyter kernel for Stata built on pystata

2K 59 7
kylebarron
stata-kernel

A Jupyter kernel for Stata. Works with Windows, macOS, and Linux.

1K 276 56
brycewang-stanford
stata-code

Agent-native Stata bridge — one core, multiple frontends (MCP, Jupyter, VSCode)

1K 56 7
nppackages
scpi-pkg

Synthetic Control Methods

1K 45 11
jeffzyliu
dofile

Run Stata-syntax .do files without a Stata license: in your browser, on the command line, or from an AI agent over MCP. The browser editor needs no install and no account: the engine runs inside the page, on your own computer. Vendors OpenDTA, an open source reimplementation of Stata 14.

1K 0 0
husseinkh90
iraqdata

Python access to 82 Iraqi macroeconomic time series, with documented sources, quality flags, and reproducible data releases. | مكتبة بايثون تتيح الوصول إلى 82 سلسلة زمنية لبيانات الاقتصاد الكلي في العراق، مع مصادر موثّقة، ورموز توضّح حالة البيانات وجودتها، وإصدارات تتيح إعادة إنتاج النتائج.

627 1 0
ZhenHaoFu810
stataflow

Stata-aligned econometrics for Python, with field-level validation across the documented support surface.

520 171 2
keltokhy
jlink

Record linkage for economists: match rules in plain English, judged by TypeSafe's Jev model

454 8 1
sinaamiri9000-collab
pyquaidsce

A Python implementation of the censored Quadratic Almost Ideal Demand System (CQUAIDS) Compatible with Stata and R.

436 0 0
sepinetam
texiv

A machine learning–based method for transforming text into instrumental variables (IV).

422 7 0
sepinetam
iflow-mcp-stata-mcp

Stata-MCP: A MCP server for integrating Stata into your agent loop with a safety-first design.

350 285 37
tmonk
iflow-mcp-tmonk-mcp-stata

A lightweight Model Context Protocol (MCP) server for Stata. Execute commands, inspect data, retrieve stored results (r()/e()), and view graphs in your chat interface. Built for economists who want to integrate LLM assistance into their Stata workflow.

339 92 21
hugetim
jupyterlab-stata-highlight2

JupyterLab extension for Stata syntax highlighting similar to the Stata IDE's.

235 4 5
lutherbu
jupyterlab-stata-highlight3

Stata syntax highlighting for JupyterLab 4+.

218 2 1
amichuda
jupyter-doexport

A package to convert jupyter notebooks to Stata do-files

209 3 1
econcz
pydatau

Batch Statistical Data Utilities

174 1 0
srp33
shapeshifter

A tool for managing large datasets

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