Category Archives: Python

Python Packaging Talk

I gave a talk at PDX Python last night on Python Packaging. It’s just an overview and introduction completely lacking in any practical examples. Python Packaging slides (ODP) Python Packaging slides (PDF) Let me know if the ODP source is … Continue reading

Posted in Open Source, Python, Technology | Tagged , , , , , , , | Leave a comment

Switched tc-rest to webob

Small update on my toy tc-rest project: I switched to using WebOb for creating HTTP Request and Response objects. Cleaned up the code a bit, but a real dispatcher is what’s needed to really remove the cruft. I’m anxious to … Continue reading

Posted in Open Source, Python, Technology | Tagged , , , , | 2 Comments

TokyoCabinet + fapws3 = tc-rest

Have you ever wondered how hard it would be to tack a RESTful HTTP interface on top of a fast key/value database like TokyoCabinet? Probably not, but I did: tc-rest.tar.gz Components: TokyoCabinet – my favorite persistent key/value database pytc – … Continue reading

Posted in Open Source, Python, Technology | Tagged , , , | Leave a comment

I Love Python: ZipFile Edition

For a client web project I needed to create a zip file containing a number of generated XML files. This isn’t something I need to do very often, so I briefly considered just writing the XML files to disk and … Continue reading

Posted in Open Source, Python, Technology | Tagged , | 2 Comments

Handy Python Progress for JSON module

I’ve been spending a good deal of time the past couple of days processing large JSON files to try and fix some corrupted data (long story, short version: my fault). While JSON is a fast file format to work with, … Continue reading

Posted in Open Source, Python, Technology | Tagged | 2 Comments

BitBucket Project for Python FusionCharts Code

After my last post on FusionCharts, someone was nice enough to e-mail me some a Django snippet for exporting FusionCharts as images, so I decided I might as well put the code in a public repository. While I prefer Bazaar … Continue reading

Posted in Open Source, Python, Technology | Tagged , , , , | Leave a comment