150 Python Snippets. 20 Topics. Nice!




I just wanted to share something I am rather proud of. Python Snippets, the project I put together to gather an archive of simple Python examples that can be viewed with Acire on your desktop.

Well, today I merged in our 150th snippet, contributed by Andy Breiner. For the curious, the record-breaking snippet demonstrates how to delete a record from a CouchDB database with DesktopCouch.

We now have 150 simple Python examples that span 20 different areas:

  • Application Indicator – application indicator examples.
  • Apport – the apport crash handling framework.
  • bzrlib – bazaar source control system Python module.
  • Clutter – clutter toolkit examples.
  • dbus – dbus messaging system
  • DesktopCouch – desktopcouch examples.
  • feedparser – parsing RSS feeds.
  • Gstreamer – python-gstreamer examples.
  • Gwibber – gwibber microblogging tool
  • Notify OSD – notify OSD examples.
  • PyGTK – pygtk widget and framework examples.
  • PyGTKSourceView – pygtksourceview widget and framework examples.
  • Python Core – examples that demonstrate core features in the Python language.
  • Python VTE – snippets using the VTE widget for GTK.
  • PyKDE4 – KDE Python bindings.
  • PyQt4 – Qt widget examples
  • Patterns – design pattern examples.
  • launchpadlib – examples using launchpadlib.
  • WebKit examples uing the webkit browser widget.
  • Zeitgeist – examples on how to use Zeitgeist.

I am really pleased how Acire and Python Snippets are becoming a constantly growing resource that is actively helping developers get to grips with different modules. Thanks to everyone who has contributed snippets to the library!

Of course, we want more snippets, so if you want to add some, go and read this guide to explain how!