Code

Open-source computer programming packages and projects

Python

  • altair • Declarative statistical visualization library for Python
  • altair-column-sort-example • An example of how to sort the columns in a bar chart created by the Altair data visualization library
  • archiveis • A simple Python wrapper for the archive.is capturing service
  • atcf-data-parser • Parser for the a-deck data posted online by the Automated Tropical Cyclone Forecasting System
  • censusbatchgeocoder • A simple Python wrapper for U.S. Census Geocoding Services API batch service
  • climate-data-example • An example of how to use the European weather agency's gridded climate data
  • copyboy • The Los Angeles Times Data Desk's fork of GitHub's Campfire bot, hubot
  • cpi • Quickly adjust U.S. dollars for inflation using the Consumer Price Index (CPI)
  • datasette • A Datasette instance hosting public records gathered by palewi.re
  • datawrapper • A light-weight wrapper for the Datawrapper API
  • django-anss-archive • Archive real-time earthquake notifications from the USGS's Advanced National Seismic System
  • django-bakery • A set of helpers for baking your Django site out as flat files
  • django-bigbuild • The open-source engine that powers the Los Angeles Times Data Desk's system for publishing standalone pages
  • django-calaccess-downloads-website • An open-source archive of campaign finance and lobbying disclosure data from the California Secretary of State’s CAL-ACCESS database
  • django-calaccess-processed-data • A Django app to transform and refine campaign-finance data from the California Secretary of State’s CAL-ACCESS database
  • django-calaccess-raw-data • A Django app to download, extract and load campaign finance and lobbying activity data from the California Secretary of State's CAL-ACCESS database
  • django-greeking • Django template tools for printing filler, a technique from the days of hot type known as greeking
  • django-postgres-copy • Quickly import and export delimited data with Django support for PostgreSQL's COPY command
  • first-athena-query • How to analyze millions of records in seconds with Amazon Web Services and SQL
  • first-django-admin • A step-by-step guide to creating a simple web application that empowers reporters in data entry and refinement
  • first-github-scraper • An introduction to free, automated web scraping with GitHub's Actions framework
  • git-scraper-example • A example of a git scraper that download, lints, commits and archives a data set
  • isobands • An easy way to make filled contour maps with Python
  • metar-weather-bot • A Twitter bot that posts the latest METAR and EPA weather report for LAX airport
  • mlbcolors • Easy access to the official colors of every team in Major League Baseball
  • muckrockbot • A Fediverse robot account that posts the latest public records requests filed and completed at muckrock.com
  • nws-aurora • Download forecast data for Aurora Borealis and Aurora Australis from the National Weather Service
  • nws-wwa • Download watch, warning and advisory data from the National Weather Service
  • old-la-photos • A bot that posts photographs from the Los Angeles Public Library's digital collection
  • palewi.re • The code that powers this website
  • pandas-squarify-example • How to use the squarify extension to matplotlib to visualize a pandas DataFrame as a treemap
  • prefect-flow-template • A template repository with all the fundamentals needed to develop and deploy a Python data-processing routine for Prefect pipelines.
  • random-tract • A Python hack to respond to a Twitter challenge to "select a random geographic point in the US, with the probability weighted by population."
  • reuters-style • A Python library format dates, numbers and text to conform with the Reuters Style Guide, the standards that guide the world's largest independent newsroom
  • sanbornmaps • A bot that posts random images from the Library of Congress collection of Sanborn Fire Insurance Company maps
  • savepagenow • A simple Python wrapper for archive.org's "Save Page Now" capturing service
  • storysniffer • Inspect a URL and estimate if it links to news story
  • studs-terkel-podcast • Selections from the WFMT collection of Terkel’s radio interviews, delivered each Friday
  • uptime-grove • An Uptime plugin that sends notifications to the Grove.io IRC service

JavaScript

Data

Other

  • cummings.ee • A collection of the work of Edward Estlin Cummings, as it enters the public domain
  • cuny-jour-73361-coding-the-news • The syllabus for "JOUR 73361: Coding the News," a course taught at the City University of New York's Craig Newmark Graduate School of Journalism
  • ebook-exports • Export the e.e. cummings free poetry archive to a variety of ebook formats
  • elgar-ringtones • Ringtone and notification clips cut from Elgar's Cello Concerto
  • first-pull-request • How to propose changes to open-source software using GitHub pull requests
  • ire-archive-slide-deck • A presentation marking the release of archive.ire.org at the NICAR 26 conference in Indianapolis
  • is-5 • Page scans of E.E. Cummings’ 1926 book of verse
  • trmnl-jazz-lineup • A TRMNL recipe that brings JazzLineup.com’s New York City jazz listings to an e-ink display

Inactive

  • altair-latimes • A Los Angeles Times theme for Python's Altair statistical visualization library
  • appengine-template • Bootstrap a Google App Engine project with Django and other goodies
  • calculate • Some simple math we use to do journalism
  • django-a-matter • An app for authoring background biographical matter on newsworthy people
  • django-calaccess-campaign-browser • A Django app to refine, review and republish campaign finance data drawn from the California Secretary of State’s CAL-ACCESS database
  • django-calaccess-cookbook • A Chef cookbook and Fabfile for deploying the California Civic Data Coalition's applications for analyzing the California Secretary of State’s CAL-ACCESS database on Amazon Web Services
  • django-calaccess-docker • A standalone Docker stack serving the California Civic Data Coalition's applications for analyzing the California Secretary of State’s CAL-ACCESS database
  • django-calaccess-project-template • A custom template for initializing a new Django project with the California Civic Data Coalition's applications for analyzing the California Secretary of State’s CAL-ACCESS database
  • django-correx • A set of models and template tags for pulling in lists of content changes across applications
  • django-memento-framework • A set for helpers for Django web sites to enable the Memento framework for time-based access
  • django-rapture • An archive of the Rapture Index at raptureready.com
  • django-swineflu • A quick and dirty data dump of the H1N1 flu vaccine locations that LA County public health currently buries in a PDF
  • everytractcount • Statistics about every U.S. Census tract mapped by @everytract
  • ire2010 • Class materials for the Django bootcamp at the IRE 2010 conference in Las Vegas
  • lametro-api • A simple Python wrapper for the L.A. Metro’s API for bus stops, routes and vehicles
  • mappingla • A Python wrapper for accessing the Mapping L.A. Boundaries API
  • mlb-postseason-bot • Twitter bot that posts daily updates on a team's chance to make the Major League Baseball postseason
  • nicar2010 • Materials from the Django bootcamp at NICAR 2010
  • nicar2011 • An example Django app for a class at the NICAR 2011 conference
  • nyc-open-data-monitor • Automated monitoring of new and updated datasets posted to New York City's data portal
  • osm-quiet-la • A street-centric base layer for overlaying point data about Southern California
  • osm-silent-la • A template for a black base layer about Southern California
  • pastpages2gif • Create an animated GIF from the PastPages news homepage archive
  • pluggablemaps • A pluggable GeoDjango app with the boundaries of all states in the United States of America. Geography, loosely coupled
  • python-calaccess-notebooks • Python notebooks analyzing campaign finance and lobbying activity data from California Secretary of State’s CAL-ACCESS database
  • python-elections • A Python wrapper for the Associated Press' U.S. election data service
  • qiklog • A simplified wrapper for Python's logging module
  • questionheds • A feed of headlines with question marks in them
  • random-pigeon-gpt • A bot that posts AI-generated images of New York City pigeons
  • reuters-jobs • A bot that posts the latest open jobs at Reuters
  • Save My News • A personal, permanent clipping service for journalists
  • scrapy-calaccess-crawler • A Scrapy app to scrape campaign-finance data from the California Secretary of State’s CAL-ACCESS website
  • sopr-activity • A quick and dirty script for pulling down lobby disclosure docs filed with the Senate Office of Public Records
  • sopr-contribs • Scripts for processing and analyzing federal lobbyist disclosure data reporting contributions to political campaigns
  • statestyle • A Python library that standardizes the names of U.S. states
  • storytracker • Tools for tracking stories on news homepages
  • twitter-mistadobalina • A script that posts raps by Del Tha Funkee Homosapien to @mistadobalina on Twitter
  • webcitation • A simple Python wrapper for the webcitation.org capturing service