Dylan Barlett

Main menu

Skip to content
  • About
  • Work

Category: Python

CaBi Hack Night V

April 28, 2016

Links for Transportation Techies CaBi Hack Night V Continue reading →

Posted in Python, Software, Uncategorized | Reply

Restoring Deleted S3 Objects in Bulk with boto

June 9, 2015

S3 bucket versioning can be a lifesaver. If you accidentally delete an object, you can restore it in the S3 Management Console by deleting the Delete Marker: But what if you’ve deleted more than a handful of objects? boto to … Continue reading →

Posted in Python, Software | Replies: 3

PDF Liberation Hackathon

January 20, 2014

Background Whenever I mention hackathons, the usual response is “Is that where you hack into websites?”. In short, no, not usually. In the 1960s at MIT, a hacker was a tinkerer, first with model railroads and later with computers. Thus … Continue reading →

Posted in Python, Selenium, Software | Reply

Sample Python Code for the D&B Direct 2.0 API

November 10, 2013

At the DC Tech Hackathon, I had access to the Dun & Bradstreet Direct 2.0 API. Their documentation isn’t great, so I wrote a quick Python example of authenticating and requesting data (also available as a Gist):

Posted in Python, Software | Replies: 1

Optimal Tours of KFC Locations

September 4, 2013

Inspired by a Hacker News comment, I wrote a Python script that queries the KFC website for store locations, finds the optimal tour with the Concorde cutting-plane-based exact TSP solver, and generates a KML file that can be plotted in … Continue reading →

Posted in Python, Software | Reply

Post navigation

← Older posts
Powered by WordPress and Foghorn