Skip to content

taipy.core package

The Taipy core package provides powerful, customized, data-driven back-end functionalities. It provides the tools to help data scientists and Python developers transform their algorithms into a complete back-end application. In particular, it helps with:

  • Data Integration
  • Task Orchestration
  • What-if Analysis
  • Version management

More details on the Core functionalities are available in the user manual.

To use such functionalities, the first step consists of setting up the Taipy configuration to design your application's characteristics and behaviors. Use the Config singleton class (from taipy.common.config) to configure your application. Please refer to the data nodes, tasks, and scenarios pages.

Once your application is configured, import module import taipy as tp so you can use any function described in the following section on Function. In particular, the most used functions are tp.create_scenario(), tp.get_scenarios(), tp.get_data_nodes(), tp.submit(), used to get, create, and submit entities.

Note

Taipy provides a runnable service, Orchestrator that runs as a service in a dedicated thread. The purpose is to have a dedicated thread responsible for dispatching the submitted jobs to an available executor for their execution.

In particular, this Orchestrator service is automatically run when used with Taipy REST or Taipy GUI. See the running services page of the user manual for more details.

Types

  • CycleId: Type that holds a Cycle identifier.
  • DataNodeId: Type that holds a DataNode identifier.
  • JobId: Type that holds a Job identifier.
  • ScenarioId: Type that holds a Scenario identifier.
  • SequenceId: Type that holds a Sequence identifier.
  • SubmissionId: Type that holds a Submission identifier.
  • TaskId: Type that holds a Task identifier.
  • Edit: Type that holds a DataNode edit information.

Functions

Classes