pcp
[Top] [All Lists]

Re: [pcp] Using python to generate PCP archives

To: Max Matveev <makc@xxxxxxxxx>
Subject: Re: [pcp] Using python to generate PCP archives
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu, 4 Sep 2014 01:42:11 -0400 (EDT)
Cc: PCP <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <21511.64035.299260.970956@xxxxxxxxxxxx>
References: <21511.64035.299260.970956@xxxxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: r2biYHz8DADXldS3C3nwzJpIuicXrQ==
Thread-topic: Using python to generate PCP archives
Hi Max,

----- Original Message -----
> 
> Dear all,
> 
> is there a way to generate pcp archives using python? Preferably pure
> python, but I'll settle for C wrapped in python if it was done already.
> 
> Alternatively, what's the best library to wrap - libpcp_import like it
> was done for Perl?

Yes, there's a Python pmi module - see qa/src/test_pmi.python for an
example use case (and his little friend qa/708).

cheers.

--
Nathan

<Prev in Thread] Current Thread [Next in Thread>