Message boards : API : Is there a python module for boinccmd ?
Message board moderation
Author | Message |
---|---|
Send message Joined: 24 May 09 Posts: 3 |
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) |
Send message Joined: 12 Feb 06 Posts: 232 |
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 |
Send message Joined: 24 May 09 Posts: 3 |
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 |
Send message Joined: 19 Jan 07 Posts: 1179 |
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. |
Send message Joined: 24 May 09 Posts: 3 |
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 |
Copyright © 2025 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.