Description: PyFusion is an open-source Python framework designed for the seamless development of both web and desktop applications. Combining the power of Python, Tkinter for desktop GUI, and web technologies for web interfaces, PyFusion aims to simplify the creation of cross-platform applications. In the future, it envisions becoming a comprehensive framework for developing various types of applications.
- HTML Integration: PyFusion seamlessly integrates HTML content within Python applications, offering a flexible approach to web development.
- Tkinter GUI: Leveraging Python's standard GUI library, PyFusion enables the creation of rich and responsive desktop applications.
- Web Server: The framework includes a built-in web server, allowing developers to host web applications directly from their Python environment.
- Responsive Design: PyFusion supports responsive design principles, ensuring a consistent user experience across different devices.
- Cross-Platform Vision: With a future goal of becoming a cross-platform framework, PyFusion aims to support the development of applications for multiple platforms.
pyfusion/
|-- assets/
| |-- images/
| |-- home.png
| |-- settings.png
|-- fusionlib/
| |-- gui_framework.py
| |-- ui_components.py
| |-- web_server.py
|-- screens/
| |-- settings_page.py
|-- web/
| |-- index.html
| |-- styles.css
|-- webapp.py
|-- desktop_app.pyFollow these steps to set up a virtual environment and install project dependencies.
- Python (version 3.x recommended)
-
Clone the repository:
git clone https://github.com/kondwani0099/pyfusion-framework.git
-
Navigate to the project directory:
cd pyfusion-framework -
Create a virtual environment:
python -m venv venv
If you're using Python 3.3 or newer, you can use the
pythoncommand. If you're using Python 3.6 or newer,venvis included by default.python3 -m venv venv
-
Activate the virtual environment:
-
On Windows:
source venv/Scripts/activate -
On macOS and Linux:
source venv/bin/activate
After activation, your terminal prompt should change to indicate that you are now working within the virtual environment.
-
-
Install project dependencies:
pip install -r requirements.txt
To build and run your Docker image, use the following commands in the terminal:
docker build -t your-image-name
docker run -p 5000:5000 your-image-nameReplace your-image-name with a name for your Docker image. Make sure Docker is installed on your system before running these commands.
Developers can use PyFusion to build applications with a unified codebase for both desktop and web interfaces. The framework facilitates the creation of interactive forms, dynamic content, and seamless navigation between pages, laying the foundation for a versatile application development experience.
PyFusion is an open-source project, and contributions from the community are highly encouraged. Developers can contribute by reporting issues, suggesting improvements, or submitting pull requests. The project follows the MIT License, allowing for free use, modification, and distribution.
This project is licensed under the MIT License.
.png)