Giter Site home page Giter Site logo

sabbakix / pywebview-react Goto Github PK

View Code? Open in Web Editor NEW

This project forked from r0x0r/pywebview-react-boilerplate

0.0 0.0 0.0 1.26 MB

Build GUI applications with Python and React. A simple boilerplate based on pywebview.

Home Page: https://pywebview.flowrl.com/

License: BSD 3-Clause "New" or "Revised" License

Python 45.72% TypeScript 19.50% HTML 3.00% JavaScript 4.70% SCSS 27.09%

pywebview-react's Introduction

pywebview-react-boilerplate

This is a simple boilerplate to help you start with pywebview and React. It sets up the development environment, install dependencies, as well as provides scripts for building an executable. Stack is based on pywebview, React, SASS, Parcel bundler, pyinstaller (Windows/Linux) and py2app (macOS).

Requirements

  • Python 3
  • Node
  • virtualenv

Installation

npm run init

This will create a virtual environment, install pip and Node dependencies. Alternatively you can perform these steps manually.

npm install
pip install -r requirements.txt

On Linux systems installation system makes educated guesses. If you run KDE, QT dependencies are installed, otherwise GTK is chosen. apt is used for installing GTK dependencies. In case you are running a non apt-based system, you will have to install GTK dependencies manually. See installation for details.

Usage

To launch the application.

npm run start

To build an executable. The output binary will be produced in the dist directory.

npm run build

To start a development server (only for testing frontend code).

npm run dev

Bug reporting

Please report pywebview related bugs directly to pywebview's repository. This repository is only for the issues related to this boilerplate.

pywebview-react's People

Contributors

r0x0r avatar dependabot[bot] avatar kandarpajvalia avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.