Skip to main content

DESCRIPTION: htmlserver - google appengine for python3.1

Project description

DESCRIPTION: htmlserver - google appengine for python3.1

REQUIRES: LINUX OS AND PYTHON3.1

QUICK TEST: $ python3.1 setup.py build dev --quicktest

SUMMARY:
1 contains py3to2 script converter - converts python3.1 scripts to python2.5 by reverse compiling the ast
2 runs on top of google appengine
3 is file-less by design
webpages are dynamically served by tree-based objects in memory instead of physical files on disk
other than png/jpg/media files, htmlserver maintains a website with just two files:
1 main.py - python3.1 script containing url request handlers
2 index.html - html code repository
4 example site: http://kai-zhu.appspot.com

RECENT CHANGELOG:
20100206 - added htmlserver
20100121 - added ast2src
20091231 - added <<<< and >>>> sugar
20091224 - added pseudomethod interactive console - revamped pseudomethod import hook
20091224 - modularized package - fix install issues - added sdist check
20091209 - improved documentation
20091205 - moved source code to c++
20091116 - package integrated

DEMO USAGE:

PseudoSugar - adding hook <htmlserver.PseudoSugar object at 0x8a40a6c> to sys.meta_path

$ python3.1 setup.py htmlserver --name=htmlserver
PseudoSugar - adding hook <htmlserver.PseudoSugar object at 0x8f1ab2c> to sys.meta_path

running htmlserver
Python 2.5.2
INFO 2010-02-08 16:50:59,019 appengine_rpc.py:157] Server: appengine.google.com
INFO 2010-02-08 16:50:59,026 appcfg.py:348] Checking for updates to the SDK.
INFO 2010-02-08 16:50:59,281 appcfg.py:362] The SDK is up to date.
INFO 2010-02-08 16:50:59,381 dev_appserver_main.py:399] Running application htmlserver on port 8080: http://localhost:8080
INFO 2010-02-08 16:50:59,615 dev_appserver_main.py:404] Server interrupted by user, terminating
touch index2.html

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
htmlserver-2010.02.07.appengine.tar.gz (98.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page