PyRank
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About

Computational Social Science Python Packages

Python packages with the GitHub topic computational-social-science. Sorted by relevance, with stars and monthly downloads.
JasonKessler
scattertext

Beautiful visualizations of how language differs among document types.

16K 2K 285
jboynyc
textnets

Text analysis with networks.

5K 293 23
CornellNLP
convokit

ConvoKit is a toolkit for extracting conversational features and analyzing social phenomena in conversations. It includes several large conversational datasets along with scripts exemplifying the use of the toolkit on these datasets.

4K 634 137
cardiffnlp
tweetnlp

TweetNLP for all the NLP enthusiasts working on Twitter! The Python library tweetnlp provides a collection of useful tools to analyze/understand tweets such as sentiment analysis, emoji prediction, and named entity recognition, powered by state-of-the-art language models specialised on Twitter.

2K 386 37
sagnik-chakravarty
arcshiftwrap

Python client for the Arctic Shift API.

1K 1 0
sagnik-chakravarty
framescope

End-to-end pipeline for collecting, labeling, and analyzing metaphor framing and stance in Reddit and news discourse using LLMs.

684 1 0
rubingshen
augmentedsocialscientist

A package to easily train Bert-like models for text classification

524 19 2
rmovva
hypothesaes

Hypothesizing interpretable relationships in text datasets using sparse autoencoders.

436 84 24
ryanjgallagher
shifterator

Interpretable data visualizations for understanding how texts differ at the word level

380 288 32
zalkikar
mlm-bias

Measuring Biases in Masked Language Models for PyTorch Transformers. Support for multiple social biases and evaluation measures.

269 4 2
wbendinelli
dlvt

Python package implementing Dynamic Leadership Vitality Theory — a dynamical systems model of executive sustainability. Simulates vitality–capital dynamics, finds equilibria, classifies leadership regimes.

245 0 0
UWNETLAB
dcss

Utilities for the book Doing Computational Social Science

213 24 10
marcelomendoza
propaganda-pipeline

LLM-based pipeline for detecting 23 propaganda and persuasion techniques in text. Built on DSPy + OpenAI, with consistency voting, an LLM judge, and span-level visualizations.

192 1 0
ryanboyd
blamegame

A Python package for detecting internal/external (dispositional/situational) attributions in text, driven by a fine-tuned RoBERTa model.

181 0 0
Baron-Sun
socialscikit

Zero-code text analysis toolkit for social science researchers | 面向社会科学研究者的零代码文本分析工具包

164 0 0
unna97
twarc2sql

This package converts jsonl file generated by twarc2 to sql database in an opnionated way.

143 0 0
letiziaia
multiway-alignment

Quantifying multiway (higher-order) alignment with mutual information

111 2 0
MohammadForouhesh
tracking-policy-agendas

A Persian Twitter policy agenda tracking framework

70 7 1
    • Data from PyPI, GitHub, ClickHouse, and BigQuery