Skip to main content

Create web applications easily by defining them in JSON format.

Project description

Easy Web App (for Python)

Create web applications easily.

This is a PyPI package for the rest-web-gui framework.

Focus is on web applications (not simple web pages). A lot of plug-ins are available to get a portal it quickly configured:

  • Forms

  • Tables / lists

  • Content: via MediaWiki API, plain HTML views, or help dialogs

  • I/O: control switches/drawer, gauges, graphs, LEDs, displays, …

  • i18n: switch language

  • Maps: POIs, routes, traffic, …

  • Page to page navigation with navigation tabs, menus, links and session data

  • Source code display

  • Security: HTTP Basic authentication or OAuth

This is how it may look like:

https://raw.githubusercontent.com/ma-ha/easy-web-app/master/examples/demo-screen.png

Check out the online demos.

Remark: It is also available as Node.js API package.

Getting started

Prepare:

  1. Create a web application project folder, e.g. mkdir ~/myapp

  2. Create a virtual Python environment for this folder: virtualenv ~/myapp

  3. Change into the project folder and activate the virtual environment: cd ~/myapp; source bin\activate

  4. Install this package: _TBD_

Create first web app with Python:

Create a file, e.g. firstapp.py

# Copyright (c) 2016 ma-ha, The MIT License (MIT)
import webapp

# initialize portal
portal = Portal( 8000, { 'title':'Test' } )

# define a custom web service
portal.addURL( '/greet', 'greet' )
class greet:
    def GET( self ):
        return 'Hello World!'

# start the web server
portal.run()

TODOs

  • [x] First working rest-web-ui integration

  • [x] PyPI package

  • [ ] portal.getPage( name )

  • [ ] portal.getPages()

  • [ ] page.addView( def [, config] )

  • [ ] page.addColumnsRow( id, width )

  • [ ] row.addView( def [, config] )

  • [ ] row.addColumnsRow ( id, height )

  • [ ] column.addView ( def [, config] )

  • [ ] column.addRowsColumn ( id, width )

  • [ ] portal.addPage( pageId [, title] [, viewDef] [, viewConfig] ) incl automatic navigation tabs

  • [ ] I/O server and API

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

easy-web-app-0.1.3.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

easy_web_app-0.1.3-py2-none-any.whl (6.0 kB view details)

Uploaded Python 2

File details

Details for the file easy-web-app-0.1.3.tar.gz.

File metadata

  • Download URL: easy-web-app-0.1.3.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for easy-web-app-0.1.3.tar.gz
Algorithm Hash digest
SHA256 94d3bc6d9c1231d2c8e5914fb00ad358266f6022e190d728fe3a4843aa0a70e8
MD5 20d83a5b366558fa4eefa815b97ee41b
BLAKE2b-256 25808c2c4ada8a16c65a56e8827673d7de9af7d5d93808d3a049c921e143579a

See more details on using hashes here.

File details

Details for the file easy_web_app-0.1.3-py2-none-any.whl.

File metadata

File hashes

Hashes for easy_web_app-0.1.3-py2-none-any.whl
Algorithm Hash digest
SHA256 c85be2a3ab06045be705cf56dcff4ab7bb4cbfb1b99bd873f38a7231af0d8ce3
MD5 ec0ae082b5099b0d034498777a31114c
BLAKE2b-256 c310d38b7969288b83a383f4bcbe9372dff0af1f3d2230c4bd30bc6efb116e56

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page