File tree Expand file tree Collapse file tree 1 file changed +15
-10
lines changed
Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Original file line number Diff line number Diff line change 11Kappy
22-----
33
4- Do::
5- >>> import kappy
6- >>> client = kappy.KappaRest("http://url_of/the_server","project_name")
4+ Do
5+
6+ >>> import kappy
7+ >>> client = kappy.KappaRest(" http\://url_of/the_server" ," project_name" )
8+
79to get a kappa client that uses the REST API hosted by
810*http://url_of/the_server * and deals with project *project_name *.
911
10- Do::
11- >>> import kappy
12- >>> client = kappy.KappaStd("KaSimAgent")
13- to get a kappa client that uses a kappa agent installed locally. Replace
14- *KaSimAgent * by *path/to/KaSimAgent * if the executable is not in your path.
12+ Do
13+
14+ >>> import kappy
15+ >>> client = kappy.KappaStd()
16+
17+ to get a kappa client that uses a kappa agent installed locally. Add a
18+ string argument specifing the *path/to/KaSimAgent * to use a specific agent.
1519
1620A kappa agent can be obtained thanks to the *opam * package manager through::
21+
1722 $ opam install atdgen lwt
1823 $ opam pin add --dev KaSim
1924
20- The methods of *client * can be infered by looking at ** kappa_rest .py **
21- file in the source distribution but have still to get documented properly.. .
25+ The methods of *client * is described in the ** kappa_common .py **
26+ file in the source distribution.
You can’t perform that action at this time.
0 commit comments