NerdyNick Blog | Some place on the Internet thats full of some random shit

PySQLPool Upcoming Release 0.3.6

For all of you who use PySQLPool or are thinking about using PySQLPool in the future. You will be happy to know in the coming weeks a new release will be on its way.

Now this release doesn’t so much focus on improvements but more on documentation and prep work for trying to clean up the coding style to becomes more pythonic. If you are currently using PySQLPool in one of you applications. You will not need to worry about these code changes impacting anything you do. All the old functions are still there. They will just be under the hood calling the new ones. These code changes are to start prepping for future goals for the 0.4 release that will be to try to get PySQLPool more in line with PEP8.

As for the documentation effort. I have been working hard at trying to get everything documented in the coolness that is Sphinx. As some of you will know Sphinx is the tool currently being used for the Python 2.6+ documentation efforts. It provides a great way to document your code in reStructuredText, and be able to generate from those RST files a beautiful HTML based documentation site with a Javascript powered search system. Along side with some improvements with PyPi. This has allowed me to host this documentation up on PyPi. Which you can view at http://packages.python.org/PySQLPool.

I hope with this documentation effort this will provided to you all some better ideas for what is going on in the background. Allowing you to do more actions with PySQLPool.

Keep an eye out for this release and the 0.4 release that will contain some much needed improvements. Like much better transaction support, and some slight speed performances.

Memcached Manager Updates to Core++

This is just a quick update on Memcached Manager. I have done a bit of work on the core classes and code base to make it a bit cleaner and easier to add new features. Their is still a bit I need to finish in the rework, but at least the bulk of the work has been completed.

I have also condensed the Add Server and Add Cluster dialogs into 1 central Dialog that will allow you do to both in one go. This should make adding your Clusters a whole lot faster. David has also started work on converting the save files to YAML vs the current Pickle approach. This should make it a bit easier for you to modify the raw save file on your own if you wish.

Their is also a new feature that allows you to modify the preferences of how Memcached Manager interacts with your servers or displays the data back to you. This should hopefully allow you to customize it how you see fit a bit easier.

I have also started a new feature to allow you to get keys back from the cluster so that you can inspect the data and/or if keys are being created during development. This feature will also feature a RegEx based key search. It is also worth noting on this RegEx search it can take some time to preform this search as a request for all keys on every server has to be preformed before the RegEx can be executed. I also plan to implement a toggle for support for Cluster being populated by the PHP Pecl package. This is due to some differences in how the library picks what server to place your key on vs how the Python Package choices.

Among these changes their where some small bugs fixed and a few starts on other areas of the app. I also do plan to get some updated screenshots of the new changes. So you can get a better feel of how the app looks. If you have any ideas for what else you would like to see or if you find any bugs please be sure to post your requests on the Launchpad page, and if your using the app please post your usage at the Ohloh Page.

Memcached Manager Updated

Managed to bust out a few features and updates to Memcached Manager over the last few nights. Feels great to get some work done again on a side project. Just hoping I can get to finishing the first version of this ting sometime. Still got a nice sized work load and it keeps growing as I talk to people, or wish I had the ability to do something one day.

New Features:

  • You can now double click a Cluster in the Tree List and make it active.
  • Server names in the Tree List now contain the IP and Port to make it easier to make sure you got the right cluster
  • Now when you delete a cluster and/or server it removes itself from the Tree List

Just need to some time do a code base clean up and a little reworking. Tends to happen when your learning QT and Python App creation for the first time.

As always the links for Memcached Manager are:

Memcached Manager

So as some of you may know I have been working on a Memcached Manager App. I decided to do this because I was tired of seeing Memcached as this little blackhole that you put stuff in and magicly got it back out quicker then a DB would. So really what better way to understand Memcached then by building something that interacts directly with every part of Memcached. So far everything is actually going real well with the whole project. I’m managing to bust out features like crazy and I’m hoping to have a 1st release before Christmas if not before Thanksgiving if I can.

Some Screenshots:

Memcached Manager Screenshots

Memcached Presentation @ Boulder BarCamp

So for all of you who managed to come see me give my Memcached Presentation. I figured I would provided to you all the links to the resources that I presented to you.