Is there a python module for boinccmd ?

Message boards : API : Is there a python module for boinccmd ?
Message board moderation

To post messages, you must log in.

AuthorMessage
Laurent Claessens

Send message
Joined: 24 May 09
Posts: 3
Belgium
Message 25029 - Posted: 24 May 2009, 17:03:00 UTC

Hi all


I would like to write some scripts in python in order to manage my boinc computations.

All that I need can be obtained by the boinccmd command.

Up to now, I'm doing thinks like
os.system("boinccmd --result ............")
or
commands.getoutput(" /usr/bin/boinccmd --get_results")
then, I'm fighting in string manipulations in order to extract the information I'm searching for.

Thus my question is : is there a module for python that implements all the possibilities of the bash command boinccmd ?

I found that :
http://boinc.berkeley.edu/trac/wiki/PythonFramework
but I don't understand where to download the files ?


Any advice is most appreciated :)
Have a good afternoon
Laurent

If of any importance, I'm running Ubuntu (Jaunty)
ID: 25029 · Report as offensive
Eric Myers
Avatar

Send message
Joined: 12 Feb 06
Posts: 232
United States
Message 25045 - Posted: 26 May 2009, 1:45:56 UTC - in response to Message 25029.  

If you check out the BOINC source code from SVN (see the SourceCode page) then you will find a subdirectory called "py" and under that "py/Boinc" containing the various files of the PythonFramework.
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats
ID: 25045 · Report as offensive
Laurent Claessens

Send message
Joined: 24 May 09
Posts: 3
Belgium
Message 25078 - Posted: 27 May 2009, 8:10:38 UTC - in response to Message 25045.  

Thanks for the address. I'm taking a look.
It is somewhat a pity that it is no more advertised : typing "python" in the reseach bar of the homepage do not provide any valuable results.

Laurent
ID: 25078 · Report as offensive
Nicolas

Send message
Joined: 19 Jan 07
Posts: 1179
Argentina
Message 25095 - Posted: 28 May 2009, 18:50:34 UTC - in response to Message 25045.  

If you check out the BOINC source code from SVN (see the SourceCode page) then you will find a subdirectory called "py" and under that "py/Boinc" containing the various files of the PythonFramework.

That's all server components.
ID: 25095 · Report as offensive
Laurent Claessens

Send message
Joined: 24 May 09
Posts: 3
Belgium
Message 25107 - Posted: 29 May 2009, 9:13:19 UTC - in response to Message 25095.  

Well... I'm writing a python module with defines classes Project, Result, and so on, with some useful methods.
My way is actually to use boinccmd and then perform some string manipulations in order to extract the informations.

Under what conditions could it be published by boinc ?
I suppose some trivial conditions like : documentation, exampe and written in English. Is there any other conditions (style, license, usability, ...) ?

I think that it could be useful for others.

Thanks
Laurent
ID: 25107 · Report as offensive

Message boards : API : Is there a python module for boinccmd ?

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.