waitress Documentation v1.1.0There’s an entry point for PasteDeploy (egg:waitress#main) that lets you use Waitress’s WSGI gateway from a configuration file, e.g.: [server:main] use = egg:waitress#main listen = 127.0.0.1:8080 Using 0.1 port = 8080 The PasteDeploy syntax for UNIX domain sockets is analagous: [server:main] use = egg:waitress#main unix_socket = /path/to/unix.sock You can find more settings to tweak (arguments to waitress configuration: [app:myapp] use = egg:mypackage#myapp [filter:paste_prefix] use = egg:PasteDeploy#prefix [pipeline:main] pipeline = paste_prefix myapp [server:main] use = egg:waitress#main listen = 1270 码力 | 36 页 | 41.63 KB | 1 年前3
Scrapy 0.16 Documentationcom/trac/wiki/Downloads zope.interface: download the egg from zope.interface pypi page [http://pypi.python.org/pypi/zope.interface] and install it by running easy_install file.egg lxml: http://pypi.python.org/pypi/lxml/ Deploying your project into a Scrapyd server typically involves two steps: 1. building a Python egg [http://peak.telecommunity.com/DevCenter/PythonEggs] of your project. This is called “eggifying” your this. See Egg caveats below. 2. uploading the egg to the Scrapyd server The simplest way to deploy your project is by using the deploy command, which automates the process of building the egg uploading0 码力 | 272 页 | 522.10 KB | 1 年前3
waitress Documentation v1.4.0There's an entry point for PasteDeploy (egg:waitress#main) that lets you use Waitress's WSGI gateway from a configuration file, e.g.: [server:main] use = egg:waitress#main listen = 127.0.0.1:8080 Using 0.1 port = 8080 The PasteDeploy syntax for UNIX domain sockets is analagous: [server:main] use = egg:waitress#main unix_socket = /path/to/unix.sock You can find more settings to tweak (arguments to waitress you have this: [app:wsgiapp] use = egg:mypackage#wsgiapp [server:main] use = egg:waitress#main host = 127.0.0.1 port = 8080 Add this: [filter:translogger] use = egg:Paste#translogger setup_console_handler0 码力 | 48 页 | 54.34 KB | 1 年前3
Scrapy 0.14 DocumentationDeploying your project into a Scrapyd server typically involves two steps: 1. building a Python egg [http://peak.telecommunity.com/DevCenter/PythonEggs] of your project. This is called “eggifying” your this. See Egg caveats below. 2. uploading the egg to the Scrapyd server The simplest way to deploy your project is by using the deploy command, which automates the process of building the egg uploading spiders/ ... Egg caveats There are some things to keep in mind when building eggs of your Scrapy project: make sure no local development settings are included in the egg when you build it. The0 码力 | 235 页 | 490.23 KB | 1 年前3
Scrapy 0.12 DocumentationDeploying your project into a Scrapyd server typically involves two steps: 1. building a Python egg [http://peak.telecommunity.com/DevCenter/PythonEggs] of your project. This is called “eggifying” your this. See Egg caveats below. 2. uploading the egg to the Scrapyd server The simplest way to deploy your project is by using the deploy command, which automates the process of building the egg uploading spiders/ ... Egg caveats There are some things to keep in mind when building eggs of your Scrapy project: make sure no local development settings are included in the egg when you build it. The0 码力 | 228 页 | 462.54 KB | 1 年前3
waitress Documentation v2.1.1There's an entry point for PasteDeploy (egg:waitress#main) that lets you use Waitress's WSGI gateway from a configuration file, e.g.: [server:main] use = egg:waitress#main listen = 127.0.0.1:8080 Using 0.1 port = 8080 The PasteDeploy syntax for UNIX domain sockets is analagous: [server:main] use = egg:waitress#main unix_socket = /path/to/unix.sock You can find more settings to tweak (arguments to waitress you have this: [app:wsgiapp] use = egg:mypackage#wsgiapp [server:main] use = egg:waitress#main host = 127.0.0.1 port = 8080 Add this: [filter:translogger] use = egg:Paste#translogger setup_console_handler0 码力 | 53 页 | 58.27 KB | 1 年前3
waitress Documentation v2.1.0There's an entry point for PasteDeploy (egg:waitress#main) that lets you use Waitress's WSGI gateway from a configuration file, e.g.: [server:main] use = egg:waitress#main listen = 127.0.0.1:8080 Using 0.1 port = 8080 The PasteDeploy syntax for UNIX domain sockets is analagous: [server:main] use = egg:waitress#main unix_socket = /path/to/unix.sock You can find more settings to tweak (arguments to waitress you have this: [app:wsgiapp] use = egg:mypackage#wsgiapp [server:main] use = egg:waitress#main host = 127.0.0.1 port = 8080 Add this: [filter:translogger] use = egg:Paste#translogger setup_console_handler0 码力 | 52 页 | 57.95 KB | 1 年前3
waitress Documentation v3.0.1
There's an entry point for PasteDeploy (egg:waitress#main) that lets you use Waitress's WSGI gateway from a configuration file, e.g.: [server:main] use = egg:waitress#main listen = 127.0.0.1:8080 Using 1 port = 8080 The PasteDeploy syntax for UNIX domain sockets is analogous: [server:main] use = egg:waitress#main unix_socket = /path/to/unix.sock You can find more settings to tweak (arguments to waitress you have this: [app:wsgiapp] use = egg:mypackage#wsgiapp [server:main] use = egg:waitress#main host = 127.0.0.1 port = 8080 Add this: [filter:translogger] use = egg:Paste#translogger setup_console_handler0 码力 | 55 页 | 56.36 KB | 1 年前3
gevent-socketio Documentation
Release 0.3.1other features. For paster, you just have to define the configuration like this: [server:main] use = egg:gunicorn#main host = 0.0.0.0 port = 6543 workers = 4 worker_class = socketio.sgunicorn.GeventSocketIOWorker gevent integration is the simplest and has no dependencies. In your .ini file: [server:main] use = egg:gevent-socketio#paster host = 0.0.0.0 port = 6543 resource = socket.io transports = websocket, xhr-polling here, resource defaults to socket.io. So you can have a slimmed-down version: [server:main] use = egg:gevent-socketio#paster host = 0.0.0.0 port = 6543 django runserver You can either define a wsgi app0 码力 | 91 页 | 118.05 KB | 1 年前3
Flask Documentation (1.1.x)gitignore venv/ *.pyc __pycache__/ instance/ .pytest_cache/ .coverage htmlcov/ dist/ build/ *.egg-info/ Continue to Application Setup. Application Setup A Flask application is an instance of the development builds. Add a setup.cfg file to configure these options. [egg_info] tag_build = .dev tag_date = 1 [aliases] release = egg_info -Db '' Running python setup.py sdist will create a development '/home/docs/checkouts/readthedocs.org/user_builds/flask/envs/1.1.x/lib/python3.7/ site-packages/Flask-1.1.4-py3.7.egg/flask/json/__init__.py'> list_storage_class alias of werkzeug.datastructures.ImmutableList [https://werkzeug0 码力 | 428 页 | 895.98 KB | 1 年前3
共 135 条
- 1
- 2
- 3
- 4
- 5
- 6
- 14













