https://github.com/boyninja1555/tkreact
Broken as sh*t React port for Python (uses Tkinter for help). Don't expect TkReact to work well with commercial usage.
https://github.com/boyninja1555/tkreact
port python python-port react react-port react-python-port tkinter tkreact
Last synced: 2 months ago
JSON representation
Broken as sh*t React port for Python (uses Tkinter for help). Don't expect TkReact to work well with commercial usage.
- Host: GitHub
- URL: https://github.com/boyninja1555/tkreact
- Owner: boyninja1555
- License: mit
- Created: 2025-01-10T23:09:23.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-01-11T00:03:36.000Z (4 months ago)
- Last Synced: 2025-01-11T00:21:55.749Z (4 months ago)
- Topics: port, python, python-port, react, react-port, react-python-port, tkinter, tkreact
- Language: Python
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# TkReact
Broken as sh*t React port for Python (uses Tkinter for help). Don't expect TkReact to work well with commercial usage.
Replace `App.py` with your TkReact application entry file.
The folder `tkreact` is the actual package used in `App.py`.## Features
- **Basic React-like UI rendering** with Python's Tkinter
- **Simple state management** using hooks, similar to React's `useState`
- **Custom components** for creating dynamic UIs in Python
- **Supports button and label components** with inline styles## Installation
Clone this repository or download the project files:
```shell
git clone https://github.com/boyninja1555/TkReact.git
cd TkReact
```Ensure you have the required dependencies:
```shell
pip install -r requirements.txt
```## Usage
To run the application, simply run the Python script:
```shell
python App.py
```
You can customize the `App.py` file to build your own simple UI.
## Contributing
Feel free to submit bug reports, feature requests, or pull requests. Be warned, however, that this project is a **work in progress** and may break at any time.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE.md) file for details.