You can use Python libraries in your Python templates. Deployment Manager uploads and runs the Python code in your templates in a secure environment.
You can use libraries that are supported by Deployment Manager, listed below. To use a different Python library, import the full library source in your template.
Supported libraries
Deployment Manager supports specific Python libraries that you can use in your templates. These libraries include:
base64
collections
encodings
encodings.utf_8
encodings.utf_16
hashlib
json
math
random
io
sys
string
time
yaml
zipfile
If you want to import libraries that are not explicitly supported, import the library using the filename. This is especially useful if you want to import your own helper methods. The same restrictions for system calls apply to custom libraries as well.