Codeception

Musings & ramblings of a Pythonista

Multiple Index queries in Riak using Python

Riak Logo

Riak is a Amazon Dynamo inspired masterless Key-Value store written in Erlang. It is one of those NoSQL databases that is rock stable, production ready and promises zero downtime. I have been using Riak at work and was literally blown away by its simplicity (Setting up a three node cluster wouldn't even take ten minutes) and the kind of support the Riak Community provides. And it is amazingly fast ...

Read more...

Comments...


Voldemort: A Jinja2 powered static site generator

Voldemort is a blog-aware static site generator inspired by Jinja2. All these times this blog was generated using Jekyll and I always wanted to use something Pythonic. Hyde was there, but the awesomeness of Jinja2 forced me to write Voldemort on my own.

Voldemort

Voldemort has its own advantages. You can templatize your HTML pages using Jinja and write posts using Markdown. And if you like this website, then you've ...

Read more...

Comments...


Packaging Python Applications

A few days ago, I came across a situation where I needed to create Debian packages for some Python libraries on which our software was dependant on. All these time we were creating and distributing the application as Eggs built using setuptools setup.py script. Later on this became a problem since some other applications which we were using were not Python applications and were packaged as .deb packages. This ...

Read more...

Comments...


Developing scalable services with Python

Developing multi-threaded applications in python is a "Pain In The Ass". And the GIL (Global Interpreter Lock) takes away the advantage of utilizing multiple cores in a machine. It doesn't matter how many cores a CPU have, GIL prevents threads from running in multiple cores. So python programs would't get the maximum performance out of the CPU when they use threads in their services.

In many cases you ...

Read more...

Comments...


Custom Authentication for Google App Engine apps

Google App Engine

Google App Engine is a widely used and most popular PaaS solution provided by Google. App Engine provides the developer with a wide range of apis which can be used to develop web applications using any WSGI compliant Frameworks (Webapp, Tipfy, Django, Bottle, Tornado etc.). One of the apis App Engine provides is the users api, which most of the developers confuses for an api which provides user creation, authentication ...

Read more...

Comments...


Tag Cloud:

Tux Paint Java Debian NoSQL Flask GUI Destructor Magic Tool Emacs Service Mode Internet BORG Tips QProgressDialog Android Mindmaps regex Packaging GitHub LG Optimus One Parallels Borg Pattern Computer Python Org-mode Lion Scalability RegexMate Raspberry Pi Books Jinja2 Ubuntu IDE Firefox Blogging Projects C stdeb Qt Gaming Cricinfo Voldemort urllib2 Riak Shell HyperGAE Debug Teensy Preforking App Engine Multiprocessing Socket xargs Singleton Playstation 3 StringIO Custom Firmware Scratch Variables Mac OSX PyQt Hacks Hardware GAESessions Unix API UI setuptools Linux Hypertable System Calls Garbage Collection Design Pattern Memory Management