File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -63,20 +63,22 @@ Python 3.9 and later is supported.
63
63
You can install the latest stable release of python-gvm from the Python Package
64
64
Index using [ pip] ( https://pip.pypa.io/ ) :
65
65
66
- python3 -m pip install --user python-gvm
66
+ ``` shell
67
+ python3 -m pip install --user python-gvm
68
+ ```
67
69
68
70
## Example
69
71
70
72
``` python3
71
73
from gvm.connections import UnixSocketConnection
72
- from gvm.protocols.gmp import Gmp
74
+ from gvm.protocols.gmp import GMP
73
75
from gvm.transforms import EtreeTransform
74
76
from gvm.xml import pretty_print
75
77
76
78
connection = UnixSocketConnection()
77
79
transform = EtreeTransform()
78
80
79
- with Gmp (connection, transform = transform) as gmp:
81
+ with GMP (connection, transform = transform) as gmp:
80
82
# Retrieve GMP version supported by the remote daemon
81
83
version = gmp.get_version()
82
84
You can’t perform that action at this time.
0 commit comments