breezedb 1.2.0 released

2014-01-03 13:52 +0100

As I said in a previous post, this release changes the way the library works drastically and is not compatible with previous versions.

Here's a rough changelog:

  • New license: GPLv2
  • New JSON structure
  • Database now consists of a single file
  • Improved special character support
  • Improved exception handling
  • Added several database operations

As always, report any bugs in the issue tracker.

Latest stable source code is available in the master branch of the Github repository and installed by running:

$ python setup.py install

Also installable via PyPI by using:

$ pip install breezedb

breezedb 1.1.0 released

2013-12-19 18:01 +0100

breezedb is my little file-based database experiment. It started as a way of storing data (not A LOT of data) by using XML file structure, although this is going to change in future versions of the library. Therefore, release 1.1.x is to be considered as legacy, as it will not be compatible with future versions.

This release includes some major changes:

  • New query parser
  • Operation fixes
  • Minor improvements

As well as some issues, available in the issue tracker.

Source code is available in the Github repository and is installable via that source or PyPI by using:

$ pip install breezedb


python setup.py install

Ao theme version 0.3 released

2013-11-30 13:32 +0100

Just published version 0.3 of my Ao theme for Nibbleblog (compatible with 3.7.x). It includes several changes such as:

  • Improved social buttons
  • Social buttons can now be hidden through config.bit
  • Improved and simplified how navigation bar works
  • Added a dropdown box for showing the tags

Note that this is a prerelease, so some things may change. Download in its GitHub repository. I've also written a small guide in the Nibbleblog forums so that the custom settings are easier to understand.

Bumblebee and kernel updates

2013-11-21 14:27 +0100

Just recently, my Debian machine updated the kernel to 3.11. I should note that I have an Optimus laptop, which means that I need Bumblebee to enable/disable the discrete graphics card and have power management.

This is more of a reminder to myself than anything, but don't forget that linux-headers must be installed in order to build the DKMS modules for the kernel, including the bbswitch module (used for power management) as well as the nvidia module itself (otherwise Bumblebee will not be able to load the driver). Installing the headers is as easy as doing:

# apt-get install linux-headers-`uname -r`

There's that.

Introduction to distutils (I)

2013-11-08 22:02 +0100

Hey there! Have you ever wondered how to build and distribute a python module or library you have written to the public? If you have (if you haven't, that's cool anyway), then this might be interesting for you. Starting with this post, I'll write a tutorial divided in three parts that will hopefully serve as a simple and easy to understand introduction to Python's distutils: from writing the build script to sharing your library with the world.

First of all, please take into account that I will be referring to Python 2.7 in this tutorial, but it may not be that different for Python 3.