The Scoop

  • Home
  • Projects
  • About The Scoop
  • Fixing Journalism
  • Departments
    • Apple
    • Asides
    • Broadcast
    • Campaign Finance
    • Car Tools
    • Data
    • DIY
    • django
    • Fed Data
    • FOIA
    • General
    • IRE
    • Journalism
    • Local Data
    • Mapping
    • Miscellany
    • NonGov Data
    • Online
    • Paper Trail
    • Presentations
    • Public Records
    • Python
    • Rails
    • SLA
    • Social Network Analysis
    • Sports
    • State Data
    • Teaching
    • Work
    • XML
  • Subscribe via RSS

Python

« Previous Entries

FEC News Script Returns from Oblivion

May 20th, 2008  |  by Derek  |  published in Campaign Finance, Python

Ages ago I released a simple Python script to generate an RSS feed from the Federal Election Commission’s press releases. Well, it’s 2008 and there’s still no official RSS feed, so I’m updating the script and using it as a launchpad for a suite of Python utilities for working with FEC data. In the future [...]

Django, iCal and vObject

July 31st, 2007  |  by Derek  |  published in Python, django

For one of our Django applications at work we received a request to add iCal feeds to accompany the RSS feeds available for each candidate’s page (example here). I first thought about doing this using a hard-coded template, the way described in March on boomby.com. So I did and it worked - the directions are [...]

Python and Penalties

November 27th, 2006  |  by Derek  |  published in Python

While watching the Florida-Florida State football game on Saturday, it occurred to me that the Gators seem to get quite a few delay of game penalties, maybe more than other teams. But how to check that theory? Try Python and ESPN’s site, which provides detailed play-by-play logs for games in a nicely consistent syntax. I [...]

FEC Electronic Filings Feed

June 28th, 2005  |  by Derek  |  published in Python, XML

Thanks to the magic of Python and MySQL I’ve put together an RSS 2.0 feed of today’s Federal Election Commission electronic filings. It’s updated hourly between 8 a.m. and 11 p.m. via a cron job, and you can find the script on my FEC Electronic Filings page. Subscribers are welcomed. Other RSS feeds may be [...]

XML Parsing with Python

April 29th, 2005  |  by Derek  |  published in Python, XML

Let’s face it, relational database types don’t like XML files. They’re structured, sure, but not in quite the way we’re used to. So pulling them apart is a chore for which there are many tools but few that seem to fit easily into the CAR mindset. Enter Python and the Amara toolkit. Amara builds on [...]

« Previous Entries

Recent Comments

  • Derek on Ramsey County Judicial Election
  • John Guzik on Ramsey County Judicial Election
  • John Zhu on On Bomb-Throwing
  • Benj. on Caspio’s Lessons
  • palewire / Permalinks, low-rent data viz and other stupid Caspio tricks. on Trial By Caspio

Recent Posts

  • The Birth of Quadruplets, or Understanding the Process
  • DjangoCon
  • Caspio’s Lessons
  • The Future of News Libraries
  • SLA Wrap-Up


©2008 The Scoop
Powered by WordPress using the Gridline Lite theme by Graph Paper Press.