Archives

Using RRD with Python: short introduction

On 22.09.2011, in python, supportex.net-blog, by Oleksii Tykhonov
0

RRDtool is a great facility which aims to replace MRTG and was written by Tobias Oetiker. RRDtool provides powerful features for collecting and visualizing various system metrics like network traffic, MySQL counters or whatever you want. It’s always good idea to know what is going on under the hood of your server. Managing servers we [...]

Python: sorting dict by value

On 18.08.2011, in supportex.net-blog, by Oleksii Tykhonov
0

Probably one of the most often task while working with dictionaries in Python is sorting by value.  That is how it can be done: Didn’t find the answer to your question? Ask it our administrators to reply we will publish on website.

Python: uploading file via HTTP with pyCurl and Requests

On 12.08.2011, in python, by Oleksii Tykhonov
0

Here is a simple way to upload file in Python. You should have PyCurl installed. Upd. File upload with Requests by Kenneth Reitz: 

Python: distribution systems world

On 05.08.2011, in python, by Oleksii Tykhonov
0

At the very beginning Python packaging world may seem too confusing. But only at first sight. There are a lot of different packages package formats, libraries and tools for distributing and  packages management in Python world. There is also PyPI – the Python Package Index is a repository of software for the Python. Most often [...]

RPM: Bulding Python package for Redis

On 28.07.2011, in python, by Oleksii Tykhonov
2

To build RPM package for Python library is really easy task if developer has kindly included setup.py file in it. Let’s build RPM for redis-py package by Andy Mccurdy. First of all we need archive with last version of redis-py. Unpack it. Change name of package to ’python-redis’ since default value is ‘redis’ (and that is [...]