Skip to content
 
 

Latest commit

 

History

111 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hydra-client-python

Hydra Platform client libraries for Python

Installation

pip install hydra-client-python

Usage:

The hydra client can interact with both hydra-base and hydra-server. Here we give an example of each, requesting a network from its ID.

Hydra Base


import hydra_client as hc

hb_conn = hc.JSONConnection()

hb_conn.login(username='root', password='')

hb_conn.get_network(2)

Hydra Server


First, start hydra server:

hydra-server run

import hydra_client as hc

hb_conn = hc.RemoteJSONConnection(url='http://localhost:8080/json')

hb_conn.login(username='root', password='')

hb_conn.get_network({'network_id':1})

About

Hydra Platform client libraries for Python

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages