Skip to content

ahmetkotan/dupgee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dupgee

Dupgee is a mini web framework developed for micro-python(Tested on esp8266).

Installation

pip install dupgee

Create Project

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 installation and other details.

  • Move files
ampy --port /dev/<your-serial-port> put newproject/
  • Run In host machine
ampy --port /dev/<your-serial-port> run newproject/runner.py

# or another port
ampy --port /dev/<your-serial-port> run newproject/runner.py 8000

In serial connected python interpreter

exec(open("./newproject/runner.py").read(), globals())

Test

Run dupgee Browser Curl request

Contributing

See; https://github.com/ahmetkotan/dupgee

Releases

No releases published

Packages

No packages published

Languages