Spotfire Service for Python
The Spotfire Service for Python provides Spotfire clients with the ability to execute Python code, using the available Python interpreter, on the Python service node.
Spotfire Service for Python is required to execute data functions in Spotfire files from Spotfire Automation Services and Spotfire Web Player, because those services do not have Python interpreters.
The Spotfire Service for Python itself is running the service as the same user account as is running the node manager on which the service runs. See Node Manager.
By default, Python scripts executed by the Spotfire Service for Python on behalf of its users are executed in a different execution context, as explained here.
Python service component | Default | Description |
---|---|---|
Service account | NT Authority\System or
spotfire (Linux)
|
Default:
NT Authority\System or
root (Linux)
|
Log files | <node manager
installation>/logs
See the topic Spotfire Service for Python Logs in the Spotfire® Service for Python Installation and Administration guide for more information. |
Name | Default Port and Protocol | Function Description | Secure/Encrypted |
---|---|---|---|
Communication port | Next available general purpose
950<x>/tcp . (For example,
9502/tcp, or 9503/tcp, and so on, depending on the other data function services
installed.)
|
For secure (HTTPS) internal communication. Cannot be accessed directly. | Yes |
Python engine ports |
62001/tcp ->
63000/tcp
|
Host-internal communication between Spotfire Service for Python and the Python interpreter. | No |
- Settings and Configuration Tasks for Spotfire Service for Python
You can use these settings to limit the capabilities of running Python data functions. - Script Security for Python
The following mechanisms control security of Spotfire Service for Python and to prevent users from running malicious scripts on the server.
- Settings and Configuration Tasks for Spotfire Service for Python
You can use these settings to limit the capabilities of running Python data functions. - Script Security for Python
The following mechanisms control security of Spotfire Service for Python and to prevent users from running malicious scripts on the server.