{ "info": { "author": "Sidnei da Silva and the Zope Community", "author_email": "zope-dev@zope.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: Zope Public License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development" ], "description": "zope.paste - Zope 3 and PasteDeploy\n===================================\n\nzope.paste allows you to deploy the Zope 3 application server on any\nWSGI-capable webserver using PasteDeploy_.\n\n.. _PasteDeploy: http://pythonpaste.org/deploy/\n\nzope.paste allows you to run Zope 3 on any WSGI-capable webserver\nsoftware using PasteDeploy_. For this you will no longer need a Zope\n3 instance (though you can still have one), you won't configure Zope 3\nthrough ``zope.conf`` and won't start it using ``runzope`` or\n``zopectl``.\n\nConfiguring the application\n---------------------------\n\nzope.paste provides a PasteDeploy_-compatible factory for Zope 3's\nWSGI publisher application and registers it in an entry point. We can\ntherefore create a very simple Zope 3 application in a PasteDeploy_\nconfiguration file (e.g. ``paste.ini``)::\n\n [app:main]\n use = egg:zope.paste\n site_definition = /path/to/site.zcml\n file_storage = /path/to/Data.fs\n devmode = on\n\nIn this case, ``/path/to/site.zcml`` refers to a ``site.zcml`` as\nknown from a Zope 3 instance. You can, for example, put ``paste.ini``\ninto an existing Zope 3 instance, next to ``site.zcml``.\n\nConfiguring the ZODB database\n-----------------------------\n\nInstead of referring to a ZODB FileStorage using the ``file_storage``\nsetting, you can also configure multiple or other ZODB database\nbackends in a ZConfig-style configuration file (much like\n``zope.conf``), e.g. the following configures a ZEO client::\n\n \n \n server localhost:8100\n storage 1\n cache-size 20MB\n \n \n\nRefer to this file from ``paste.ini`` this way (and delete the\n``file_storage`` setting)::\n\n db_definition = db.conf\n\nConfiguring the server\n----------------------\n\nIn order to be able to use our Zope application, we only need to add a\nserver definition. We can use the one that comes with Paste or\nPasteScript_, rather::\n\n [server:main]\n use = egg:PasteScript#wsgiutils\n host = 127.0.0.1\n port = 8080\n\n.. _PasteScript: http://pythonpaste.org/script/\n\nNow we can start the application using the ``paster`` command that\ncomes with PasteScript_::\n\n $ paster serve paste.ini\n\nWSGI middlewares can be configured like described above or on the\nPasteDeploy_ website.\n\n\nMultiple WSGI applications within Zope 3\n----------------------------------------\n\nIf you wanted to host *more* than one WSGI application there are a\ncouple ways of doing it:\n\n1. Using a *composite application* as described in PasteDeploy_.\n\n2. Setting up extra `IServerType` utilities.\n\nI'm going to show you how to do the latter now.\n\nThe trick here is that you have the option to use both the `zserver`\nand the `twisted` WSGI servers. `zope.paste` is just glue code, so we\ndefined a `IServerType` utility for each, and the only thing special\nis that the utility name is passed on to the WSGI application factory.\n\nHere's an excerpt from the `configure.zcml` as found on this package::\n\n \n \n \n\n \n \n \n\nDepending on which server is available, the right `IServerType`\nutility is registered. You are encouraged to use the same pattern when\ndefining yours.\n\nSo suppose you want to have a second WSGI application. Here's how you\ncould do it.\n\n1. Create a new `IServerType` utility. This excerpt could be added to\n a `configure.zcml` in your own package, or to a standalone file in\n `etc/package_includes`::\n\n \n \n \n\n \n \n \n\n2. Change your `zope.conf` file to define a new server, using the\n newly-created `Paste.Another` utility::\n\n \n type Paste.Main\n address 8080\n \n\n \n type Paste.Another\n address 8180\n \n\n3. Define a WSGI application `Paste.Another` in `paste.ini`::\n\n [pipeline:Paste.Main]\n pipeline = xslt main\n\n [app:main]\n paste.app_factory = zope.paste.application:zope_publisher_app_factory\n\n [filter:xslt]\n paste.filter_factory = xslfilter:filter_factory\n\n [app:Paste.Another]\n paste.app_factory = zope.paste.application:zope_publisher_app_factory\n\n\nChange History\n--------------\n\n1.0.0 (2017-01-04)\n~~~~~~~~~~~~~~~~~~\n\n- Changed support from Python 3.3 to 3.5.\n\n- Dropped Python 2.6 support.\n\n\n1.0.0a1 (2013-02-27)\n~~~~~~~~~~~~~~~~~~~~\n\n- Added support for Python 3.3.\n\n- Dropped support for Python 2.4 and 2.5.\n\n- Removed support for employing WSGI middlewares inside a Zope 3\n application. Only the script-based server startup is now supported.\n\n- Added a new console script to run a paste-configured WSGI server and\n application.\n\n- Conform to standard ZF project layout.\n\n- Added license and copyright file. Also fixed copyright statement in file\n headers.\n\n- Added ``MANIFEST.in`` and ``tox.ini``.\n\n\n0.4 (2012-08-21)\n~~~~~~~~~~~~~~~~\n\n- Add this changelog, reconstructed from svn logs and release dates on\n PyPI.\n\n- Support a 'features' config option in the PasteDeploy INI file, which\n can contain a space-separated list of feature names. These can be\n tested for in ZCML files with the <*directive*\n zcml:condition=\"have *featurename*\"> syntax.\n\n Previously the only feature that could be enabled was 'devmode' and\n it had its own option. For backwards compatibility, ``devmode = on``\n adds a 'devmode' feature to the feature list.\n\n\n0.3 (2007-06-02)\n~~~~~~~~~~~~~~~~\n\n- Release as an egg with explicit dependencies for zope.app packages.\n\n- Buildoutify the source tree.\n\n\n0.2 (2007-05-29)\n~~~~~~~~~~~~~~~~\n\n- Extended documentation.\n\n- Added a real PasteDeploy application factory. This allows you to run\n Zope 3 on any WSGI capable server, without integration code.\n\n- Support for devmode.\n\n- Support multiple databases through a config file (specify db_definition\n instead of file_storage).\n\n- Accept filenames relative to the location of the PasteDeploy INI file.\n\n\n0.1 (2006-01-25)\n~~~~~~~~~~~~~~~~\n\n- Initial release.\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/zope.paste", "keywords": "web wsgi application server paste", "license": "ZPL 2.1", "maintainer": "", "maintainer_email": "", "name": "zope.paste", "package_url": "https://pypi.org/project/zope.paste/", "platform": "", "project_url": "https://pypi.org/project/zope.paste/", "project_urls": { "Homepage": "http://pypi.python.org/pypi/zope.paste" }, "release_url": "https://pypi.org/project/zope.paste/1.0.0/", "requires_dist": null, "requires_python": "", "summary": "Zope 3 and PasteDeploy", "version": "1.0.0" }, "last_serial": 2554870, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "a83e8c186372642a548a2273de44c229", "sha256": "b08780ed4dad46093cf57780564aca6bce69fe3526a9dbe7d0f90ed0343e9493" }, "downloads": -1, "filename": "zope.paste-0.1.tar.gz", "has_sig": false, "md5_digest": "a83e8c186372642a548a2273de44c229", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3955, "upload_time": "2006-01-25T18:00:27", "url": "https://files.pythonhosted.org/packages/6b/2a/2275bcfe465994db2aa8979e61510574746cc44fc57f8de9dabed0019416/zope.paste-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "473b704250515db57391c8871d3ec9c7", "sha256": "aa6a7e7ebebfc853b6b5d1f847838209d574277159a75592b3e80637a7aede5a" }, "downloads": -1, "filename": "zope.paste-0.2-py2.4.egg", "has_sig": false, "md5_digest": "473b704250515db57391c8871d3ec9c7", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 15255, "upload_time": "2007-05-29T05:10:32", "url": "https://files.pythonhosted.org/packages/8e/4f/85419ec31da273a843a22a189426531f1a0513e3cbd84bfd96a69547625c/zope.paste-0.2-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "444a28296cb5e1da20e6476b4267548a", "sha256": "268d8cdf97cc9479bb5ef544fe429feccffb0b7db880b568c7be29624bd7e257" }, "downloads": -1, "filename": "zope.paste-0.2.tar.gz", "has_sig": false, "md5_digest": "444a28296cb5e1da20e6476b4267548a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9904, "upload_time": "2007-05-29T05:10:31", "url": "https://files.pythonhosted.org/packages/ad/23/895028234ae98714320051188b5aa31f8be41ce690e509914e606a68c1a9/zope.paste-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "dcf57cdaf018fe9eee6c0256e007ada4", "sha256": "a37e36c4a9e9bc3bf163dec732dda590c9cb0fa912ae937ca7448210211f1638" }, "downloads": -1, "filename": "zope.paste-0.3-py2.4.egg", "has_sig": false, "md5_digest": "dcf57cdaf018fe9eee6c0256e007ada4", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 15320, "upload_time": "2007-06-02T12:50:29", "url": "https://files.pythonhosted.org/packages/b5/80/f577763337c3df25c22b20f9e5b4303c0dd2d497140ac83f65a7d52f12d1/zope.paste-0.3-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "1454cddeff42d3462bc653ce7dbb047e", "sha256": "32de9a5b503a5b228bbf4c4eef8cae9363191e0a9c7b49d29d3103cb5cf25de9" }, "downloads": -1, "filename": "zope.paste-0.3.tar.gz", "has_sig": false, "md5_digest": "1454cddeff42d3462bc653ce7dbb047e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11186, "upload_time": "2007-06-02T12:50:29", "url": "https://files.pythonhosted.org/packages/b4/6e/b6a25110662ac7ab166358a1926836503dc5478bc7a03f6bf98c9ba70b90/zope.paste-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "b1b062e92e034ebb3431f0b4c74d6f9b", "sha256": "0be4fd04d5b5c6a6ae435136bd20cf223eab4127845f5ca104e4d15b957af39e" }, "downloads": -1, "filename": "zope.paste-0.4.zip", "has_sig": false, "md5_digest": "b1b062e92e034ebb3431f0b4c74d6f9b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25050, "upload_time": "2012-08-21T07:21:35", "url": "https://files.pythonhosted.org/packages/1c/c7/f15ee11837f46c2897420c9decf591478bb4f7dc3772757d5ac644ee9f42/zope.paste-0.4.zip" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "0d5f8d8a8e2bbf9b66fb1ff59b2f88c0", "sha256": "d3b43aaf79b9bd4f19c4c2d81258d48100d9b51f59cafb927e57d390a728448f" }, "downloads": -1, "filename": "zope.paste-1.0.0.tar.gz", "has_sig": false, "md5_digest": "0d5f8d8a8e2bbf9b66fb1ff59b2f88c0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13682, "upload_time": "2017-01-05T01:32:44", "url": "https://files.pythonhosted.org/packages/d6/56/c09b67d15cd6312ef467229ee168778ffd93a459b0635f7f4da51f5d2645/zope.paste-1.0.0.tar.gz" } ], "1.0.0a1": [ { "comment_text": "", "digests": { "md5": "4f50bf8d0a9d45c5f517dba7481a3287", "sha256": "7558e1934fe649eabe3267b98a619b539f14ab222aea87eb4a100985170fa7fc" }, "downloads": -1, "filename": "zope.paste-1.0.0a1.tar.gz", "has_sig": false, "md5_digest": "4f50bf8d0a9d45c5f517dba7481a3287", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15520, "upload_time": "2013-02-27T07:08:11", "url": "https://files.pythonhosted.org/packages/c0/3e/7f4969c560feeb28f43badd3d8d69afcf6fa066c96923d04e7faba24ef75/zope.paste-1.0.0a1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0d5f8d8a8e2bbf9b66fb1ff59b2f88c0", "sha256": "d3b43aaf79b9bd4f19c4c2d81258d48100d9b51f59cafb927e57d390a728448f" }, "downloads": -1, "filename": "zope.paste-1.0.0.tar.gz", "has_sig": false, "md5_digest": "0d5f8d8a8e2bbf9b66fb1ff59b2f88c0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13682, "upload_time": "2017-01-05T01:32:44", "url": "https://files.pythonhosted.org/packages/d6/56/c09b67d15cd6312ef467229ee168778ffd93a459b0635f7f4da51f5d2645/zope.paste-1.0.0.tar.gz" } ] }