File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 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.
6363You can install the latest stable release of python-gvm from the Python Package
6464Index using [ pip] ( https://pip.pypa.io/ ) :
6565
66- python3 -m pip install --user python-gvm
66+ ``` shell
67+ python3 -m pip install --user python-gvm
68+ ```
6769
6870## Example
6971
7072``` python3
7173from gvm.connections import UnixSocketConnection
72- from gvm.protocols.gmp import Gmp
74+ from gvm.protocols.gmp import GMP
7375from gvm.transforms import EtreeTransform
7476from gvm.xml import pretty_print
7577
7678connection = UnixSocketConnection()
7779transform = EtreeTransform()
7880
79- with Gmp (connection, transform = transform) as gmp:
81+ with GMP (connection, transform = transform) as gmp:
8082 # Retrieve GMP version supported by the remote daemon
8183 version = gmp.get_version()
8284
You can’t perform that action at this time.
0 commit comments