Installation¶
vmt-util is a stand-alone Python module, and not provided as a PyPi package.
The module can be placed in the same folder as your calling script and imported
locally, or it can be placed in a folder included in the PYTHONPATH.
Requirements¶
In order to use vmt-util you will need to be running a supported version of Python.
- Python – one of the following:
- CPython >= 2.7 or >= 3.3
Importing¶
In the most basic case, you need to import the module, either from a local source
file or from a location in your PYTHONPATH.
import vmtutil
However, you may find it more useful to alias the import
import vmtutil as vu
Alternatively, you can manually update the internal import search path within your script to import vmt-connect from another location. For instance, if you created a folder in your project directory for local modules called modules, you could add the relative path for importing:
import os
import sys
sys.path.insert(0, os.path.abspath('./modules'))
import vmtutil
GitHub Source¶
The source code for vmt-util is provided via a read-only GitHub repository.
Individual release archives may be found here.