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:

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