Home » Wiki » cliente para h-node.org » History » Differences
Differences between the revision of 12:43, 3 April 2011, created by Ark74, and the revision of 10:25, 9 March 2011
Notice: the text in red has been deleted from the previous revision, the text in green has been added in this revision and the text in gray has not been changed.
differences in the entry: the title
cliente para h-node.com
differences in the entry: the text of the wiki page
[p]Un cliente de h-node.com puede ser usado para acceder a la base de datos xml de h-node.com y automáticamente revisar la compatibilidad del hardware propio con software libre. Puede ser una simple biblioteca usada a través de la terminal o un programa completo con una interfaz de usuario agradable para navegar el hardware e interactuar con h-node.com. Posiblemente podría ser usado también para agregar nuevo hardware a h-node.com.[/p]

[p]Este trabajo podría [p]Una biblioteca de python para conectar a h-node.com y agregar nuevo hardware desde la terminal ha sido escrita (h-client). Tiene que ser un buen punto mejorada. También, el servidor ha sido mejorado de inicio: [b]http://www.h-node.com/source/ht/ismyhwok_25thSep2010-1.tar.gz[/b][/p] manera que de una mejor respuesta a peticiones hechas desde la terminal[/p]

[p]La primer meta es escribir una biblioteca para procesar la base [h1]Descargue y pruebe el cliente de datos xml y automáticamente revisar la compatibilidad del hardware con software libre. Puede ser escrito en Python o C/C++, o ambos. Algo como:[/p] h-node[/h1]

[p][b]Python[/b]:[/p] [p]Puede descargar el cliente al escribir la siguiente orden:[/p]

[code]browse = Client()
browse.set_database('http://www.h-node.com/download/all/en');
browse.parse()
browse.set_output_format('xml');
browse.set_output_file('result.xml');
browse.check_compatibility(); #done by also parsing the lspci and lsusb output[/code]
[code]svn co svn://svn.savannah.nongnu.org/h-source/trunk/h-client[/code]

[p]La biblioteca también debería de alertar al usuario si su hardware no esta presente dentro de la base de datos de h-node.com [p]Para poder probarlo solo escriba:[/p]

[code]python hclient.py[/code]

[p]Tiene que instalar pyGTK
y solicitar al usuario insertar el hardware faltante[/p] pycurl (ya deberían estar instalados).[/p]
[lang][[client for h-node.com|English]][/lang]
The contents of this page are in the Public Domain. (see the CC0 page for detailed information). Anyone is free to copy, modify, publish, use, sell, or distribute the text for any purpose, commercial or non-commercial, and by any means.
h-node.org is a hardware database project. It runs the h-source PHP software, commit cdeda15, available under the GNU General Public (GPLv3) License.
JavaScript license information