From 7bb7885f6eb19547b906513d2664e3730ef5b593 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Thu, 5 May 2022 17:47:36 +0200 Subject: Docs: Add API and building improvements --- docs/src/api/python/README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'docs/src/api/python/README.md') diff --git a/docs/src/api/python/README.md b/docs/src/api/python/README.md index 452b575..01a14a0 100644 --- a/docs/src/api/python/README.md +++ b/docs/src/api/python/README.md @@ -1 +1,10 @@ -# Go +# Python +As the Go library is build as a *shared* library, it can be loaded by other languages. We have created wrapper code for Python to use this library. We define the functions and then give a similar example to the Go example. + +The functions that we will discuss are all part of the `EduVPN` class defined in eduvpncommon.main. You can import it like so: + +```python +import eduvpncommon.main as eduvpn + +# Then use eduvpn.EduVPN +``` -- cgit v1.2.3