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
Contributing
Release files for dupgee 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dupgee-0.3.tar.gz | 224.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dupgee-0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 235.0 kB
Release files / dupgee-0.3.tar.gz
| Download URL | dupgee-0.3.tar.gz |
|---|---|
| Size | 224.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9534f8c0773adf45b9f7749f1211824df7a68eac9fd29ed30963267922f647d2
|
|
BLAKE2b-256 checksum How to use checksums |
e6b290dfc653308d8e7e6a123f15d4a5679941e570a81211a5495e1fe5c63c96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.9
|
Release files / dupgee-0.3-py3-none-any.whl
| Download URL | dupgee-0.3-py3-none-any.whl |
|---|---|
| Size | 10.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a02cd1a4001220b800d18263e0b05ab92f892dd5fbad67ff5ea98f1435f0a092
|
|
BLAKE2b-256 checksum How to use checksums |
015c1db17b944ab95d5873254dc27b6543f81d0cde80d09418cf85a276765ef4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.9
|