Included Packages
Your installation of Spotfire includes version of Python and several packages it needs to run under Spotfire.
If you create and distribute an SPK containing a different Python interpreter, and the interpreter specifies different packages or package versions than those listed here, your data functions could fail to work as expected. Python package authors strive for backward compatibility, but if you encounter such an issue, Spotfire Support can help you.
To help protect against this sort of issue, your distribution of
Spotfire Service for Python includes the PIP constraints file
interpreter-contraints.txt. If you create an SPK
for distribution that contains a different version of the Python interpreter,
specify the
--constraints
option. Any dependency on an included
package is "constrained" and the included version is used instead.
See Creating a Spotfire Package for an Alternative Python Interpreter (for Windows) for an example of using the constraints file.
Package name | Version | Description | More information |
---|---|---|---|
numpy | 1.25.2 | Provides the following.
Note: numpy version 1.19.4 has known incompatibilities when it is
run on certain more recent versions of Windows 10. These compatibilities can
cause Python to fail when it is used with Spotfire. If you build custom
packages SPK on Windows, ensure the SPK does not include numpy version 1.19.4.
|
https://pypi.org/project/numpy/1.25.2/ |
pandas | 2.1.0 | Provides data structures and data analysis tools for dealing with tabular data, ordered and unordered time series data, matrix data, and other types of data sets. | https://pypi.org/project/pandas/2.1.0 |
pip | 23.2.1 | Provides support for installing packages. | https://pypi.org/project/pip/23.2.1 |
python-dateutil | 2.8.2 | Provides extensions to the datetime module in Python. | https://pypi.org/project/python-dateutil/2.8.2 |
pytz | 2022.6 | Provides a platform for cross-platform time zone calculations. | https://pypi.org/project/pytz/2022.6/ |
setuptools | 68.1.2 | Provides tools for building, installing, upgrading, and uninstalling Python packages. | https://pypi.org/project/setuptools/68.1.2/ |
spotfire | 2.1.1 | Provides functions for integrating Python with Spotfire. | https://pypi.org/project/spotfire/2.1.0 |
six | 1.16.0 | Provides utility functions for smoothing over the differences between the Python versions 2 and 3. | https://pypi.org/project/six/1.16.0/ |
wheel | 0.41.2 | The reference implementation of the Python wheel packaging standard, as defined in PEP 427. | https://pypi.org/project/wheel/0.41.2/ |