File tree Expand file tree Collapse file tree 1 file changed +23
-14
lines changed Expand file tree Collapse file tree 1 file changed +23
-14
lines changed Original file line number Diff line number Diff line change 1
1
# Super Fast HTTP2 Framework for Progressive Web Application
2
2
3
-
4
- # Dependency
5
- Python3.5+
6
- Future version might only support Python3.6+ since ` curio ` might only support 3.6+ in the future.
7
- ``` bash
8
- pip install h2
9
- pip install curio
3
+ # Installation
4
+ Clone this project to your local directory. In this directory,
5
+ ```
6
+ python setup.py
10
7
```
11
- I will make it available on pip once I have the first release.
8
+ This will automatically install ` hyper2web ` to the associated Python as a site-package.
9
+
10
+ I will make it available on PyPi once I have the first release.
11
+
12
+ ## Python Version
13
+ Python3.5+
14
+
15
+ ## Dependency
16
+ This project uses ` h2 ` and ` curio ` .
12
17
13
- This project is at its very early stage. I still need to learn a lot about h2, curio, HTTP and Web.
14
18
[ h2 Github] ( https://github.com/python-hyper/hyper-h2 ) [ doc] ( https://python-hyper.org/h2/en/stable/ )
15
19
[ curio Github] ( https://github.com/dabeaz/curio ) [ doc] ( https://curio.readthedocs.io/en/latest/ )
16
20
17
21
# How to
18
- First clone this repo to your disk.
19
-
20
- Under this repo, create a dir ` public ` or whatever names, put your frontend code there.
21
-
22
- Then create an ` app.py ` or whatever names.
22
+ Assuming you have a directory structure like
23
+ ```
24
+ your project/
25
+ --public/
26
+ --index.html
27
+ --index.js
28
+ ...
29
+ --app.py
30
+ ```
31
+ Your ` app.py ` looks like
23
32
``` python
24
33
from hyper2web import app
25
34
You can’t perform that action at this time.
0 commit comments