May 18, 2009
April 17, 2009
Reverend is a general purpose Bayesian classifier, named after Rev. Thomas Bayes. Use the Reverend to quickly add Bayesian smarts to your app. To use it in your own application, you either subclass Bayes or pass it a tokenizing function. Bayesian fun has never been so quick and easy. Many thanks for Christophe Delord for his well written PopF. Orange also looks good. If you are looking for a spam filter take a look at SpamBayes? and POPFile.
Developing Django apps with zc.buildout: "Over the weekend I put together django-shorturls, the latest in a series of small plugable Django apps I’ve written. This time, though, I used zc.buildout and djangorecipe to build, test, package, and distribute the app, and (with the exception of a few annoyances) it’s an exceedingly civilized way to develop an app.
In the interest of helping improve Buildout’s still-nascent documentation, I documented my steps along the way. So, here’s how build, test, and distribute a reusable Django app using Buildout, with every step along the way explained in excruciating detail."
In the interest of helping improve Buildout’s still-nascent documentation, I documented my steps along the way. So, here’s how build, test, and distribute a reusable Django app using Buildout, with every step along the way explained in excruciating detail."
April 15, 2009
I've added Python to the colorful Regex in a Nutshell cheat sheet, which might come in handy for your daily work with regular expressions.
April 14, 2009
Writing a Package in Python:
# To shorten the time needed to set up everything before starting the real work, in other words the boiler-plate code
# To provide a standardized way to write packages
# To ease the use of a test-driven development approach
# To facilitate the releasing process
# To shorten the time needed to set up everything before starting the real work, in other words the boiler-plate code
# To provide a standardized way to write packages
# To ease the use of a test-driven development approach
# To facilitate the releasing process
April 10, 2009
Django Best Practices: "This is a living document of best practices in developing and deploying with the Django Web framework. These should not be seen as the right way or the only way to work with Django, but instead best practices we’ve honed after years of working with the framework."
March 17, 2009
IBM's Python driver is finally out of beta.
August 06, 2008
An awesome Python Cheat Sheet - all ready to print.
A Python vs C comparison in generating JPEG thumbnails. Okay, it's using a C-based library, but Python adds very little overhead to the process!
August 03, 2008
jsonpickle is a library that allows any Python object to be serialized into JSON. While simplejson only serializes primitive objects, jsonpickle handles most Python objects. jsonpickle recursively examines Python objects and collections (dictionaries, lists, tuples, and sets), and converts non primitive objects to a primitive version.
Sander Marechal shows how to write a simple UNIX / Linux daemon in Python. A useful base script to work from for your own stuff.
April 13, 2008
Introduction to Django by Jacob Kaplan-Moss is a great presentation (perfectly readable online in a very nice format) that introduces one to Django in a step-by-step fashion.
Orange is a data minding system / library for Python. It features Bayesian filtering, classification trees, majority classifiers, vectorm achines, logistic regression, rule-based classifiers, and pretty much anything you'd need for data mining and classification.
April 12, 2008
Learn how to read Excel spreadsheet files from Python. It's a lot simpler than you might think(!)
April 11, 2008
Idioms and Anti-Idioms in Python runs through a few Python techniques with the good and bad ways of achieving the same result. Whoever said there's only one way to do it?
April 10, 2008
Python By Example is a great resource for developers who learn languages best by looking at code. PBE provides a large collection of simple examples for most of the built-in Python functions, classes and methods.
A slightly old but incredibly in-depth tutorial demonstrating how to create GUI apps with Python and the Tkinter and wxPython libraries.
Neck Efford looks at how Python 3.0 changes the way Python can be taught from an educational point of view. A nice basic look at some Python 3.0 changes if nothing else.
PottyMouth is a library that sanitizes tainted / unsafe HTML. Ideal for Web apps, etc. As well as making HTML safer, it makes some formatting changes.. *bold* _italic_ and so on.
Someone needs some convincing to use Python. Or, as I'm finding, perhaps he just needs to dive in and see what happens.