If you currently use Deployment Manager, please migrate to Infrastructure Manager or an alternative deployment technology.
For more information on the deprecation and shutdown, see Deployment Manager deprecation.
Importing Python Libraries
Stay organized with collections
Save and categorize content based on your preferences.
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:
base64collectionsencodingsencodings.utf_8encodings.utf_16hashlibjsonmathrandomiosysstringtimeyamlzipfile
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.