https://github.com/ahmetkotan/dupgee
Mini Web Framework on MicroPython (Esp8266)
https://github.com/ahmetkotan/dupgee
esp8266 framework micropython micropython-esp8266 web
Last synced: 17 days ago
JSON representation
Mini Web Framework on MicroPython (Esp8266)
- Host: GitHub
- URL: https://github.com/ahmetkotan/dupgee
- Owner: ahmetkotan
- License: mit
- Created: 2021-12-25T22:07:55.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-12-26T00:40:01.000Z (over 3 years ago)
- Last Synced: 2025-03-24T08:12:10.406Z (about 1 month ago)
- Topics: esp8266, framework, micropython, micropython-esp8266, web
- Language: Python
- Homepage:
- Size: 214 KB
- Stars: 37
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dupgee
Dupgee is a mini web framework developed for micro-python(Tested on esp8266).## Installation
```shell
pip install dupgee
```## Create Project
```shell
dupgee create newproject
```Let's code in `pages.py` and add view to `urls.py`.
When project has created, example views and urls already exists.
Edit `WIFI_SSID` and `WIFI_PASSWORD` variables in `newproject/runner.py` file.## Run
This operation needs `adafruit-ampy` package. See also [https://learn.adafruit.com/micropython-basics-load-files-and-run-code/install-ampy](https://learn.adafruit.com/micropython-basics-load-files-and-run-code/install-ampy) installation and other details.* Move files
```shell
ampy --port /dev/ put newproject/
```* Run
In host machine
```shell
ampy --port /dev/ run newproject/runner.py# or another port
ampy --port /dev/ run newproject/runner.py 8000
```In serial connected python interpreter
```python
exec(open("./newproject/runner.py").read(), globals())
```## Test


# Contributing
See; [https://github.com/ahmetkotan/dupgee](https://github.com/ahmetkotan/dupgee)