2.30 is now slowly being picked up by all the major distributions and we sure hope to get some breeze of feedback. Tell us what you think of the new version of Project Hamster through your weblogs!
But the life goes on and there already are new things in the git master.
We’ve split hamster into client and back-end. All the communication is done via dbus.
The client part has a wrapper around all the dbus calls, so if anybody would like to access data from hamster in Python, in git master it is now as simple as
import hamster.client storage = hamster.client.Storage() storage.get_todays_facts() # or any other function for that matter
As all the communication goes through d-bus, that means that your script can do everything that the applet or the standalone can. I’ve made sure that the module has proper docstrings, so running
help(hamster.client) will give you all the details. Read the code here
This now allows to have an external script generate something like this in almost 100 lines:
Ok, this one was a bug actually, but looks interesting, here are others
But the one below is something more realistic – it shows data from four years, colors representing categories, bands representing years. Click on image to read notes in flickr.
This is not even close to being final version of course, just a capture of work in progress. Colours will be replaced with better ones, interaction will come, and if it works out, it will get into hamster.
And this is where you come:
First – i’d like to see screenshots of your data in this visualisation. For that you will need hamster from git master. After that just clone hamster experiments and run “hamster-sun.py” script in root folder.
Second – I want your brain.
Now in git master data retrieval and manipulation for an external script has become a matter of few lines, and one does not have to change hamster to get things working, as the d-bus allows the separation.
I would like to set 2.32 target to be trend-finding – visualisations that expose trends of your habbits. How one project runs out out and the next is started, how you exercise more in January and work less in summer – those kind of things.
I bet you have some ideas. Let us know – be visual, make drawings, or even do some coding. Hamster experiments will lend you a hand with graphics.