# DHX PyTincture Widgetset
## Overview
The **DHX PyTincture Widgetset** is a Python-based library that integrates the [DHTMLX JavaScript UI components](https://dhtmlx.com/) with the [pyTincture framework](https://github.com/schapman1974/pyTincture). Leveraging Pyodide, this widgetset enables developers to create rich, interactive web-based user interfaces using Python. It simplifies the process of building cross-platform GUI applications by combining DHTMLX's powerful UI components with pyTincture's seamless Pyodide integration.
## Features
- **DHTMLX Integration**: Utilize DHTMLX's extensive suite of UI components (e.g., grids, charts, forms, and schedulers) within Python applications.
- **Pyodide-Powered**: Run Python code in the browser with Pyodide, enabling dynamic frontend development without leaving the Python ecosystem.
- **Cross-Platform**: Build applications that work across various platforms where Pyodide is supported.
- **Customizable Widgets**: Easily create and manage reusable UI components tailored to your application's needs.
- **Event-Driven**: Support for event handling to create responsive and interactive user experiences.
## Installation
### Prerequisites
- Python 3.13+
### API Documenataion
https://pytincture.com/dhxpyt.html
### Steps
1. **Clone the Repository**:
```bash
git clone https://github.com/pytincture/dhx_pytincture_widgetset.git
cd dhx_pytincture_widgetset
Install Dependencies: Install the required Python packages and Pyodide dependencies:
bash
pip install -r requirements.txt
or from pypi
pip install dhxpyt
## QuickStart
## Windows
#### Install UV / pytincture / dhxpyt on Powershell
```
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
$env:Path += ";$env:USERPROFILE\.cargo\bin"
[Environment]::SetEnvironmentVariable("Path", $env:Path, [System.EnvironmentVariableTarget]::User)
$env:Path = [System.Environment]::GetEnvironmentVariable("Path", [System.EnvironmentVariableTarget]::User)
New-Item -ItemType Directory -Name dhxpyt_quickstart; Set-Location dhxpyt_quickstart
uv venv --python 3.13; .\.venv\Scripts\Activate.ps1
uv pip install dhxpyt pyodide-py js pytincture itsdangerous
Invoke-WebRequest -Uri https://pytincture.com/quickstart.py -OutFile quickstart.py
$env:PYTHONUTF8 = "1"
uv run quickstart.py
```
## Linux / MacOS
#### Install UV / pytincture / dhxpyt on Bash
```
curl -LsSf https://astral.sh/uv/install.sh | sh
echo 'export PATH="$HOME/.cargo/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
uv --version
mkdir dhxpyt_quickstart;cd dhxpyt_quickstart
uv venv --python 3.13 && source .venv/bin/activate
uv pip install dhxpyt pyodide-py js pytincture itsdangerous
curl -O https://pytincture.com/quickstart.py
uv run quickstart.py
```
Open in Browser:
http://localhost:8070/quickstart
Raw data
{
"_id": null,
"home_page": null,
"name": "dhxpyt",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.12",
"maintainer_email": null,
"keywords": "DHTMLX, widgetset",
"author": null,
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/29/58/72d70893edc2d8232ae5a290afcbe61489c1b8202296f420a8e691e18d2f/dhxpyt-0.8.5.tar.gz",
"platform": null,
"description": "# DHX PyTincture Widgetset\n\n## Overview\nThe **DHX PyTincture Widgetset** is a Python-based library that integrates the [DHTMLX JavaScript UI components](https://dhtmlx.com/) with the [pyTincture framework](https://github.com/schapman1974/pyTincture). Leveraging Pyodide, this widgetset enables developers to create rich, interactive web-based user interfaces using Python. It simplifies the process of building cross-platform GUI applications by combining DHTMLX's powerful UI components with pyTincture's seamless Pyodide integration.\n\n## Features\n- **DHTMLX Integration**: Utilize DHTMLX's extensive suite of UI components (e.g., grids, charts, forms, and schedulers) within Python applications.\n- **Pyodide-Powered**: Run Python code in the browser with Pyodide, enabling dynamic frontend development without leaving the Python ecosystem.\n- **Cross-Platform**: Build applications that work across various platforms where Pyodide is supported.\n- **Customizable Widgets**: Easily create and manage reusable UI components tailored to your application's needs.\n- **Event-Driven**: Support for event handling to create responsive and interactive user experiences.\n\n## Installation\n### Prerequisites\n- Python 3.13+\n\n### API Documenataion\nhttps://pytincture.com/dhxpyt.html\n\n### Steps\n1. **Clone the Repository**:\n ```bash\n git clone https://github.com/pytincture/dhx_pytincture_widgetset.git\n cd dhx_pytincture_widgetset\nInstall Dependencies: Install the required Python packages and Pyodide dependencies:\nbash\n\npip install -r requirements.txt\n\nor from pypi\n\npip install dhxpyt\n\n\n## QuickStart\n\n## Windows\n#### Install UV / pytincture / dhxpyt on Powershell\n```\npowershell -c \"irm https://astral.sh/uv/install.ps1 | iex\"\n$env:Path += \";$env:USERPROFILE\\.cargo\\bin\"\n[Environment]::SetEnvironmentVariable(\"Path\", $env:Path, [System.EnvironmentVariableTarget]::User)\n$env:Path = [System.Environment]::GetEnvironmentVariable(\"Path\", [System.EnvironmentVariableTarget]::User)\nNew-Item -ItemType Directory -Name dhxpyt_quickstart; Set-Location dhxpyt_quickstart\nuv venv --python 3.13; .\\.venv\\Scripts\\Activate.ps1\nuv pip install dhxpyt pyodide-py js pytincture itsdangerous\nInvoke-WebRequest -Uri https://pytincture.com/quickstart.py -OutFile quickstart.py\n$env:PYTHONUTF8 = \"1\"\nuv run quickstart.py\n```\n\n## Linux / MacOS\n#### Install UV / pytincture / dhxpyt on Bash\n```\ncurl -LsSf https://astral.sh/uv/install.sh | sh\necho 'export PATH=\"$HOME/.cargo/bin:$PATH\"' >> ~/.bashrc\nsource ~/.bashrc\nuv --version\nmkdir dhxpyt_quickstart;cd dhxpyt_quickstart\nuv venv --python 3.13 && source .venv/bin/activate\nuv pip install dhxpyt pyodide-py js pytincture itsdangerous\ncurl -O https://pytincture.com/quickstart.py\nuv run quickstart.py\n```\n\nOpen in Browser:\nhttp://localhost:8070/quickstart\n",
"bugtrack_url": null,
"license": "GNU General Public License v2",
"summary": "Python wrapper for DHTMLX widgets",
"version": "0.8.5",
"project_urls": {
"homepage": "https://github.com/pytincture/dhx_pytincture_widgetset"
},
"split_keywords": [
"dhtmlx",
" widgetset"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "ebb60104d5f00fecda11a13c921f7bbb52e5756e0ff7c13822ee870bc332ea53",
"md5": "d5dfe0739d8120b2b134af91d94c3e03",
"sha256": "a8312d2f7bae1579143867001917f6d1258495769dde216950f6103c582739ae"
},
"downloads": -1,
"filename": "dhxpyt-0.8.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d5dfe0739d8120b2b134af91d94c3e03",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.12",
"size": 986155,
"upload_time": "2025-08-26T20:28:05",
"upload_time_iso_8601": "2025-08-26T20:28:05.296803Z",
"url": "https://files.pythonhosted.org/packages/eb/b6/0104d5f00fecda11a13c921f7bbb52e5756e0ff7c13822ee870bc332ea53/dhxpyt-0.8.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "295872d70893edc2d8232ae5a290afcbe61489c1b8202296f420a8e691e18d2f",
"md5": "398b81f3dc5a434dd4671e3970101be4",
"sha256": "9b7b90fced3234af2cc0fe22f422b87db3cd7eca0d569c8cb60bc5a9aaa045be"
},
"downloads": -1,
"filename": "dhxpyt-0.8.5.tar.gz",
"has_sig": false,
"md5_digest": "398b81f3dc5a434dd4671e3970101be4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.12",
"size": 906296,
"upload_time": "2025-08-26T20:28:06",
"upload_time_iso_8601": "2025-08-26T20:28:06.506960Z",
"url": "https://files.pythonhosted.org/packages/29/58/72d70893edc2d8232ae5a290afcbe61489c1b8202296f420a8e691e18d2f/dhxpyt-0.8.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-26 20:28:06",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "pytincture",
"github_project": "dhx_pytincture_widgetset",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "dhxpyt"
}