Did I find the right examples for you? yes no

All Samples(12)  |  Call(0)  |  Derive(0)  |  Import(12)

src/n/a/Nano-HEAD/examples/fileserver.py   Nano(Download)
 
if __name__ == '__main__':
    import bjoern
    bjoern.run(app, '0.0.0.0', 8080)
 

src/p/y/pyload-HEAD/module/web/ServerThread.py   pyload(Download)
        elif self.server == "lightweight":
            try:
                import bjoern
            except Exception, e:
                log.error(_("Error importing lightweight server: %s") % e)

src/o/p/openshift_web2py-HEAD/wsgi/web2py/anyserver.py   openshift_web2py(Download)
    def bjoern(app, address, **options):
        import bjoern
        bjoern.run(app, *address)
 
    @staticmethod

src/a/c/acid-HEAD/demo/cheeseboard/app.py   acid(Download)
    bottle.run(host='0.0.0.0', port=8000, debug=True)
else:
    import bjoern
    bjoern.run(bottle.default_app(), '0.0.0.0', 8000)
 

src/r/e/restq-0.1.2/restq/__main__.py   restq(Download)
    # bjoern requires libev-dev to be installed for it to build
    # pip install bjoern 
    import bjoern
    server="bjoern"
except ImportError:

src/l/e/le-n-x-HEAD/apache/b.py   le-n-x(Download)
import bjoern
import os, sys
import django.core.handlers.wsgi
sys.path.append(os.path.dirname(__file__)+'/..') 
 

src/w/e/web2cms-HEAD/web2py/anyserver.py   web2cms(Download)
    def bjoern(app,address, **options):
        import bjoern
        bjoern.run(app, *address)
 
    @staticmethod

src/t/e/termite-data-server-HEAD/web2py/anyserver.py   termite-data-server(Download)
    def bjoern(app, address, **options):
        import bjoern
        bjoern.run(app, *address)
 
    @staticmethod

src/t/e/termite-visualizations-HEAD/web2py/anyserver.py   termite-visualizations(Download)
    def bjoern(app, address, **options):
        import bjoern
        bjoern.run(app, *address)
 
    @staticmethod

src/w/e/web2py-HEAD/anyserver.py   web2py(Download)
    def bjoern(app, address, **options):
        import bjoern
        bjoern.run(app, *address)
 
    @staticmethod

  1 | 2  Next