1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.
websockets and worker-threads.
Workflow:
* 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 serve.py. 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.
DOCUMENTATION:
python3: http://docs.python.org/3/library/index.html
bottle: http://bottlepy.org/docs/stable/
jquerymobile: http://view.jquerymobile.com/1.3.1/dist/demos/
shared workerthreads:
Have a look at controllers/livecounter.py and controllers/wol.py
TIPS:
To change host or port you can create a new python-file:
: touch run.py
Then paste following text into the python-file:
---- START ----
#!/usr/bin/env python3
import serve
if __name__ == '__main__':
serve.run(port=58580)
----- STOP ----
TIPS:
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/serve.py
----- STOP ----
Metadata
Release files for pymobile 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
File added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release files before installing.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pymobile-0.1.0.tar.gz | 458.2 kB | Details |
Release files / pymobile-0.1.0.tar.gz
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | pymobile-0.1.0.tar.gz |
|---|---|
| Size | 458.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a1af057fb283012af8c0a4205dccb447b9ae0760deb831193013a443719b1d44
|
|
BLAKE2b-256 checksum How to use checksums |
79f843a27d99228e0b66790190f8ed337430d9ce75d22606419dbeb26b78b285
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |