Python Graphbin - A place to share graphs
21 November 2009
A week ago I found out some strange stuff was going on when I searched for "aaaaaaaaaaa". So I made a python script
http://pastebin.com/f35806f8f for gathering the search results and wanted to plot a nice graph. The problem was I couldn't find a nice place to show and store the data. So I made a pastebin esque graphbin at
http://graphbin.appspot.com and you can see the google search results:
http://graphbin.appspot.com/g/bedequP4
I used "Paste-It" (
http://paste-it.appspot.com/) as the base for graphbin so I got a bit familiar with the "Paste"
(
http://pythonpaste.org) framework. Sadly, this wasn't a pleasant journey. A lot of the connected things are just scattered all over the place and yet seem heavily entangled (ie main.py uses
page/pasties/add.py which outputs the relevant template page in line 125 out of 342 after a flow that was no fun to follow). I'm not sure if this is a problem with "Paste" or a problem with the "Paste-It" implementation, but it got a bit ugly. Not to mention some bad naming (the "paste" folder holds the "web" framework folder and all the models, why not name the folder "models" and move the framework out? Why are pages "pasties"?).
Maybe some paste-lover can dazzle me with some info on how paste compares/differs to/from django. Drop a comment.