FICO Xpress - Insight Python package
The 'xpressinsight' Python package can be used to develop Python® based web applications for Xpress Insight.
v 1.11.0 (Insight 5.11.0)
AppInterface.user_id
for reading the ID of the user executing the scenario.exec_resource_groups
) to application configuration (AppConfig
).
exec_resource_group_name
attribute on the ExecMode
, ExecModeLoad
and ExecModeRun
decorators.threads
attribute on the ExecMode
, ExecModeLoad
and ExecModeRun
decorators is deprecated, new apps should
use an execution resource group instead.AppConfig.partial_populate
to turn off automatic population of input entities.AppInterface.populate
to specify a subset of the input entities to populate.AppInterface.capture
to specify a subset of the entities to capture at the end of the execution mode.AppBase.initialize_entities
, column entities may be specified using the
syntax <data_frame_name>.<column_name>
as an alternative to the entity name.v 1.10.0 (Insight 5.10.0)
xi.Scalar
instead of xi.types.Scalar
) cannot be used when running
with Python 3.12.PolarsIndex
and PolarsDataFrame
.update_keep_result_data
to entity definitions, to allow result data to be retained when
input entity edited by a view.xi.types.Column
class now supports an entity_name
attribute, allowing column entities to be given names
that are not based on the name of the parent DataFrame.real
will now raise an error, where previously it was silently ignored by
the Insight server.IndexBase
and DataFrameBase
as superclasses of Index
and DataFrame
. The types of DataFrame.index
and
Series.index
have changed from Tuple[Index, ...]
to Tuple[IndexBase, ...]
.get_attach_rules
function.platform_token
and platform_token_expiry
to InsightDmpContext
for authorizing requests for platform
resources under the authority of a platform client id.v 1.9.0 (Insight 5.9.0)
AppBase.initialize_entities
for initializing selected app entities to their default values.attach_status
property now holds the status of the last attachment operation invoked from the current thread;
previously it referred to the last attachment operation from any thread.attach_status
property is no longer read-only.xpressinsight
instead of insight
.work_dir
within the application folder.xpressinsight
work folder is now created as a sub-folder of the execution mode work folder..properties
.v 1.8.0 (Insight 5.8.0)
get_scenario_data
allows reading entities from other apps and scenarios.xi.types.Column
class which can be used in place of xi.Column
in app definitions. There is currently no
plan to remove xi.Column
.sys.exit
called).v 1.7.1 (Insight 5.7.0)
get_solution_database
returns the location and credentials of the DMP solution's database.get_app_attach
, get_scen_attach
and put_scen_attach
to write/read the attachment to/from a
folder other than the work directory or a local filename different from attachment name.get_attach_by_tag
, get_attachs_by_tag
and get_attach_filenames_by_tag
to write the
attachments to a folder other than the work directory.InsightDmpContext.solution_token_expiry_time
value in non-UTC timezones.v 1.6.0 (Insight 5.6.0)
default
to the xi.Column
class.xi.Scalar
instead of xi.types.Scalar
) will cause a warning
message when the app is built or executed in Python 3.11. This syntax has been deprecated and will not be usable
at all in Python 3.12+.get_insight_context
returns information about the Insight server and the DMP solution.v 1.5.0 (Insight 5.5.0)
Distance: xi.types.Series(index=['City', 'City'], dtype=xi.real)
.multiprocessing
package.v 1.4.1 (Insight 4.59.6 and 4.60.0)
v 1.4.0 (Insight 5.4.0 and 4.59.2)
xi.types.Scalar
/Param
/Index
/Series
/DataFrame
instead
of xi.Scalar
/Param
/Index
/Series
/DataFrame
.
from __future__ import annotations
).v 1.3.0 (Insight 5.3.0 and 4.59.0)
send_progress_update
, get_messages
and put_messages
to Insight application interface
(AppInterface
).send_progress
attribute the ExecMode
, ExecModeLoad
, and ExecModeRun
decorators.update_progress
attribute to the entity type annotations.default
Anaconda channel does not have all the dependencies required by the
xpressinsight
package for this Python version. We recommend conda users to stick with Python 3.9, or use a
different distribution of Python 3.10 until this is resolved.v 1.2.3 (Insight 5.2.1 and 4.58.0)
threads
attribute to the ExecMode
, ExecModeLoad
, and ExecModeRun
decorators.v 1.2.2
v 1.2.1
add_item_info
and clear_item_infos
to Insight application interface.scenario_parent_path
to Insight application interface.RepositoryPath
class for building and parsing of repository paths.v 1.2.0
scen_types
) to application configuration (AppConfig
).get_item_info
and get_item_infos
to Insight application interface (AppInterface
).v 1.1.3
v 1.1.2
v 1.1.1
v 1.1.0
create_app
initializes and configures standard test environment.v 1.0.2
update
and reset_progress
have been added to the Insight Python interface.The Xpress software is governed by the
Xpress Shrinkwrap License Agreement.
When downloading or using the package, you accept the license terms. After installation, a copy of the Xpress Shrinkwrap
License will be stored in the LICENSE.txt
file in the site-packages/xpressinsight-*.dist-info
directory.
In Anaconda, a copy of the license file will be stored in the pkgs/xpressinsight-*/info/licenses
directory.
"Python" is a registered trademark of the Python Software Foundation. "FICO" is a registered trademark of Fair Isaac Corporation in the United States and may be a registered trademark of Fair Isaac Corporation in other countries. Other product and company names herein may be trademarks of their respective owners.
© Copyright 2012-2024 Fair Isaac Corporation. All rights reserved.