Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Webframework using bottle, asyncio, websockets, jquery and jquery-mobile

Project description

This is a startproject for web-projects using python3, bottle, jquerymobile, asyncio,
websockets and worker-threads.

* Web-templates should be placed in views-folder.
* Database-modules should be placed in models-folder.
* Modules for bottle and worker-threads should be placed in controllers-folder.
* Static webfiles should be placed in static-folder
* Run project with All modules in controllers-folder is imported
automatically, all worker-threads is started and bottle webserver is started.

Have a look at the examples included in controllers, models and views or
delete them if you don't need them.

shared workerthreads:
Have a look at controllers/ and controllers/


To change host or port you can create a new python-file:

: touch

Then paste following text into the python-file:
---- START ----
#!/usr/bin/env python3
import serve
if __name__ == '__main__':
----- STOP ----


To start pym automatically at system startup you should create a new upstart conf-file:
: sudo touch /etc/init/pym.conf

Then paste following text into the conf-file:
---- START ----
# start pym

description "pym"

start on (local-filesystems
and started dbus
and static-network-up)
stop on stopping dbus

exec python3 /path/to/pym/
----- STOP ----

Project details

Download files

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

Files for pymobile, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size pymobile-0.1.0.tar.gz (458.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page