BOISON [Get text output from 'boinccmd' and convert it to JSON]

Message boards : Number crunching : BOISON [Get text output from 'boinccmd' and convert it to JSON]
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile etrusci.org
Avatar

Send message
Joined: 29 Dec 15
Posts: 6
Credit: 613,894
RAC: 0
Message 1757300 - Posted: 18 Jan 2016, 10:53:35 UTC

Hi there again

It's done, version 1.0 is stable and i thought i'd share it here now. Hope it's useful for somebody. Let me know if you have any ideas for it.

What the script does, in a nutshell: Get text output from 'boinccmd' and convert it to JSON, then print it back to the command line or write it directly to files.
This replaces st2j.py....

-------------------------------------------------------------------------------

Requirements
I wrote and tested this app on Debian 8 with Python 2.7.

The boinc-manager package which includes boinccmd:
sudo apt-get install boinc-manager

if you want to only use boinccmd but not run the boinc-client on this machine:
sudo service boinc-client stop
sudo update-rc.d boinc-client remove


-------------------------------------------------------------------------------

Get it
1.0 Source: http://bitserver.ourspace.ch/git/python/boison.git/1.0
1.0 ZIP: http://bitserver.ourspace.ch/git/python/boison.git/zipball/1.0

There is a README file with more info on how to use it + examples in the /doc folder.

If you want the latest bleeding edge version (may be buggy sometimes) just select the "master" branch from the dropdown there.

-------------------------------------------------------------------------------

Vibes,
arT2
etrusci.org
ID: 1757300 · Report as offensive
Profile etrusci.org
Avatar

Send message
Joined: 29 Dec 15
Posts: 6
Credit: 613,894
RAC: 0
Message 1770991 - Posted: 11 Mar 2016, 15:15:45 UTC - in response to Message 1757300.  
Last modified: 11 Mar 2016, 15:18:57 UTC

small update to 1.1, not really necessary to update, but it will be the last update for a while as i consider it done for now.

http://bitserver.ourspace.ch/git/python/boison.git/1.1/
http://bitserver.ourspace.ch/git/python/boison.git/zipball/1.1

example for what i use boison: http://bitserver.ourspace.ch/static/seti/


vibes & enjoy,
arT2
etrusci.org
ID: 1770991 · Report as offensive
Profile ML1
Volunteer moderator
Volunteer tester

Send message
Joined: 25 Nov 01
Posts: 20147
Credit: 7,508,002
RAC: 20
United Kingdom
Message 1771158 - Posted: 12 Mar 2016, 13:36:59 UTC

Very good and very neat. Even I can follow your output/json :-)

And a very good tool to make a webpage alternative to the boincmgr.

Thanks.


Keep searchin,
Martin
See new freedom: Mageia Linux
Take a look for yourself: Linux Format
The Future is what We all make IT (GPLv3)
ID: 1771158 · Report as offensive
Profile etrusci.org
Avatar

Send message
Joined: 29 Dec 15
Posts: 6
Credit: 613,894
RAC: 0
Message 1775908 - Posted: 3 Apr 2016, 7:14:20 UTC - in response to Message 1771158.  

Thank you for the flowers ;)
etrusci.org
ID: 1775908 · Report as offensive
Profile etrusci.org
Avatar

Send message
Joined: 29 Dec 15
Posts: 6
Credit: 613,894
RAC: 0
Message 1779353 - Posted: 15 Apr 2016, 18:02:37 UTC - in response to Message 1757300.  

My Server crashed and i changed some things, thus the address leading to the code has changed.

New: http://git.ourspace.ch/?p=python/boison.git

Click the 'snapshots' links behind the log entries to download specific version. Latest is on top.

Direct Link to the currently latest version 1.1: http://git.ourspace.ch/?p=python/boison.git;a=snapshot;h=fd5dfa9391c93617ed4492be4edc2630321df6cd;sf=tgz
etrusci.org
ID: 1779353 · Report as offensive

Message boards : Number crunching : BOISON [Get text output from 'boinccmd' and convert it to JSON]


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.