<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        color:black;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='color:black'>I am in a similar situation, and strongly
prefer rrdtool direct port API into Python since that is then portable; but it
does not seem to be available for Windows, only Linux.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:black'>Odd to me, Windows is 20x the Linux
market, and Python is the best scripting language around (! </span><span
style='font-family:Wingdings;color:black'>J</span><span style='color:black'> ),
but little rrd penetration there in this overlap. Perl has a good Windows
binding, lots of dusty old threads of the Python one, but I couldn&#8217;t find
anything working.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";
color:black'>-------------------------------------------<br>
Gregory Guthrie<br>
-------------------------------------------</span><span style='font-size:11.0pt;
font-family:"Calibri","sans-serif";color:black'> <o:p></o:p></span></p>

<p class=MsoNormal><span style='color:black'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
rrd-users-bounces+guthrie=mum.edu@lists.oetiker.ch
[mailto:rrd-users-bounces+guthrie=mum.edu@lists.oetiker.ch] <b>On Behalf Of </b>K.D.
Lucas<br>
<b>Sent:</b> Thursday, April 22, 2010 1:02 PM<br>
<b>To:</b> rrd-users@lists.oetiker.ch<br>
<b>Subject:</b> [rrd-users] Python and RRDTool<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>I'm currently working on a Python application that will
eventually use RRDTool to draw some graphs based on some statistics that I
collect.<o:p></o:p></p>

<div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

<div>

<p class=MsoNormal>I'm wondering if people on this list would recommend using
any of the existing python libraries for RRDTool (it looks like to two most
robust ones are pyrrd and rrdfile):<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

<div>

<p class=MsoNormal><a href="http://code.google.com/p/pyrrd/">http://code.google.com/p/pyrrd/</a><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><a href="http://code.google.com/p/rrdfile/">http://code.google.com/p/rrdfile/</a><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

<div>

<p class=MsoNormal>But I see many comments about rrdfile leaking memory, so I'm
hesitant to use that one. pyrrd looks ok, but I'm not sure if it would be
easier to use that library or just write my own class with a few methods for
creating and updating my RRDTool files and graphs.<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

<div>

<p class=MsoNormal>I'd really appreciate anyone's comments about your
experience and recommendations. It seems like there would be a more mature
solution for python at this point, but I'm rather hesitant to use them after
having a brief look at the code.<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

<div>

<p class=MsoNormal>Regards,<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

<div>

<p class=MsoNormal>Kelly<br clear=all>
<br>
-- <br>
K.D. Lucas<br>
<a href="mailto:kdlucas@gmail.com">kdlucas@gmail.com</a><o:p></o:p></p>

</div>

</div>

</div>

</body>

</html>