Skip to main content

Low-code library to create graphical user interfaces on the Web for your Python applications.

Project description

Taipy GUI

License

Copyright 2021-2024 Avaiga Private Limited

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

What is Taipy GUI

Taipy is a Python library for creating Business Applications. More information on our website. Taipy is split into multiple packages including taipy-gui to let users install the minimum they need.

Taipy GUI provides Python classes that make it easy to create powerful web apps in minutes.

Installation

There are different ways to install Taipy GUI, depending on how you plan to use it:

Taipy GUI needs your system to have Python 3.9 or above installed.

Installing the latest release

The easiest way to install Taipy GUI is using pip

Run the command:

pip install taipy-gui

Installing the development version

The development version of Taipy GUI is updated daily with changes from the Taipy R&D and external contributors that we praise for their input.

You should also install this version if you want to contribute to the development of Taipy GUI. Here are the steps to follow:

1 - Clone the Taipy repository

Clone the Taipy repository using the following command:

git clone https://github.com/Avaiga/taipy.git

This creates the 'taipy' directory holding all the package's source code, and the 'taipy-gui' source code is in the 'taipy/gui' directory.

2 - Install Node.js

Taipy GUI has some code dealing with the client side of the web applications. This code is written in TypeScript, relies on React components, and is packaged into a JavaScript bundle that is sent to browsers when they connect to all Taipy GUI applications.

This bundle needs to be built before being usable by Taipy GUI.

First you need to install Node.js on your system.

Select the "Recommended For Most Users" version, and follow the instructions for your system.

Select "Automatically install the necessary tools" when asked.

3 - Build the JavaScript bundle

Open a new terminal and run the following commands:

  • Install the DOM dependencies
cd gui
cd dom
npm i
  • Install the web app dependencies
cd ..
npm i
  • Build the web app
npm run build

After a few minutes, this creates the directory taipy/gui/webapp in the root directory of the repository where the front-end code for Taipy GUI is split into a set of JavaScript bundles.

4 - Install the package as editable

In a terminal, at the root of the repository, run:

pip install -e . --user

This should install the dev version of Taipy GUI as editable. You are now ready to use it.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

taipy_gui-4.1.1.tar.gz (3.0 MB view details)

Uploaded Source

File details

Details for the file taipy_gui-4.1.1.tar.gz.

File metadata

  • Download URL: taipy_gui-4.1.1.tar.gz
  • Upload date:
  • Size: 3.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for taipy_gui-4.1.1.tar.gz
Algorithm Hash digest
SHA256 0b51d348e0a0fb56dd4629deb3f093daa95774077d82e543748ecdef60ff1607
MD5 acb37b8de813f01bbc2aeac6b0bad4dc
BLAKE2b-256 89a11f74d178832955180e42d29a72ecf8e0c4dd35fb7c28af76656eaa9b61ad

See more details on using hashes here.

Provenance

The following attestation bundles were made for taipy_gui-4.1.1.tar.gz:

Publisher: publish.yml on Avaiga/taipy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page