File: README.md

package info (click to toggle)
python-pywebview 3.3.5%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 29,536 kB
  • sloc: python: 5,703; javascript: 888; cs: 130; sh: 55; makefile: 3
file content (39 lines) | stat: -rw-r--r-- 1,211 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Examples

You can find examples demonstrating features of _pywebview_ in the sidebar.

Below there are a couple of non-trivial examples that demonstrate an application architecture.

## React Boilerplate

[React boilerplate](https://github.com/r0x0r/pywebview-react-boilerplate). A complete React-based boilerplate with installation, usage and building taken care of out of the box.


## Serverless application

[Serverless application](https://github.com/r0x0r/pywebview/tree/master/examples/todos)

A simple todo application that uses serverless architecture. Communication between frontend and backend is provided by built-in API.

<div class='gallery'>
  <div>
    <img src='/screenshots/todos-windows.png' alt='Windows' class='zoom'/>
    <h4>Windows</h4>
  </div>
  <div>
    <img src='/screenshots/todos-macos.png' alt='macOS' class='zoom'/>
    <h4>macOS</h4>
  </div>
  <div>
    <img src='/screenshots/todos-linux.png' alt='Linux' class='zoom'/>
    <h4>Linux</h4>
  </div>
</div>

## HTTP server application

[Flask-based application](https://github.com/r0x0r/pywebview/tree/master/examples/flask_app)

In this example communication between frontend and backend is facilitated by a Flask server.