This package provides a WSGI publisher concept using zope components including
transactions, application error handling, traverser, pages views and offers
jsonrpc without a ZODB. The package offers a wsgi application which kicks in
the known zope publication concept. The publication concept can get used with
gevent or similar async frameworks. It's up to you how you store persistent
items. Probably the container, item and traversal pattern in m01.mongo is a
good choice for this.
=======
Changes
=======
1.0.5 (2025-08-29)
------------------
- bugfix; fix empty content type at error handling
1.0.4 (2025-08-26)
------------------
- bugfix; remove bad six.string_types patch
1.0.3 (2025-08-25)
------------------
- bugfix; fix globals in getZCMLLayer
1.0.2 (2025-08-20)
------------------
- bugfix; improve __slots__ for python 3
1.0.1 (2025-07-15)
------------------
- Fixed errors in headers (post/get) - wrong unicode x str types (APP-1818).
1.0.0 (2025-06-12)
------------------
- bugfix: fix string encoding issues. Python 3 is work in progress and requires
a pywsgi version which doesn't only require str.
0.9.3 (2025-06-04)
------------------
- python 2.7 migration
- removed z3c.jsonrpc dependency
- implemented Debugger concept
0.9.2 (2025-05-27)
------------------
- requirements update: zope.interface >= 5.5.2
0.9.1 (2021-12-04)
------------------
- bugfix: allow to use Basic Authentication header credentias in JSONRPC proxy.
- feature: Suport username and password in getJSONRPCTestProxy used for setup
Authentication Basic header.
- feature: Support Bearer token in getJSONRPCTestProxy used for Authentication
Bearer header.
0.9.0 (2017-09-18)
------------------
- feature: implemented ZODB support. Now it's possible to use p01.publisher
and use a ZODB not only a WSGI application.
- renamed p01.publisher.traversers to p01.publisher.traverser
- enable threadSiteSubscriber and clearThreadSiteSubscriber event subscriber
handler
0.8.0 (2017-01-24)
------------------
- bugfix: transaction >= 2.0.3 uses unicode for transaction note. See comment
in transaction CHANGES.txt. The user and description fields must now be set
with text (unicode) data. Previously, if bytes were provided, they’d be
decoded as ASCII. It was decided that this would lead to bugs that were hard
to test for.
0.7.0 (2016-09-19)
------------------
- feature: re-implemented json reader and writer concept. Use reader and writer
from p01.json.api
- bugfix: support PATH_INFO in JSONRPCTestTransport used by the test method
getJSONRPCTestProxy. This ensures that we traverse to the related context
for calling the json-rpc method.
- feature: use JSONRPCProxy from p01.json as json-rpc test proxy
- sort response header before return, except Status and X-Powered-By
0.6.0 (2015-03-17)
------------------
- feature: added application/json support. The new request json method returns
the json formated data given from a request with content type applicaton/json.
The raw content is stored in the request raw property if such json content
is given.
- added OPTIONS to allwed request methods. This allows to handle cross origin
request given from android phones during development. Note, you ned to
register a view for handle such requests. We just added the OPTIONS as a
general allowed request method.
- feature: use new testbrowser concept based on zope.testbrowser >= 5.0.0.
This new testbrowser concept uses a wsgi application and is based on webtest.
Currently we use p01.testbrowser which is a clone of zope.testbrowser because
there is no zope.testbrowser release yet.
- feature: implemented simple JSONRPCTestProxy based on wsgi app. This new
test json rpc proxy uses the wsgi application publisher for process a
request.
- backport zope.publisher publication factory lookup. Improve the publication
factory lookup by falling back to a more generic registration if the specific
factory chooses not to handle the request after all
0.5.0 (2014-03-24)
------------------
- initial release
Raw data
{
"_id": null,
"home_page": "http://pypi.python.org/pypi/p01.publisher",
"name": "p01.publisher",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "zope zope3 z3c ZODB",
"author": "Roger Ineichen, Projekt01 GmbH",
"author_email": "dev@projekt01.ch",
"download_url": "https://files.pythonhosted.org/packages/f5/66/ec9a85c5be3108eda0e75f423cc2528ecbb485f7cd18cf23ca8b7ba38e4a/p01.publisher-1.0.5.tar.gz",
"platform": null,
"description": "This package provides a WSGI publisher concept using zope components including\ntransactions, application error handling, traverser, pages views and offers\njsonrpc without a ZODB. The package offers a wsgi application which kicks in\nthe known zope publication concept. The publication concept can get used with\ngevent or similar async frameworks. It's up to you how you store persistent\nitems. Probably the container, item and traversal pattern in m01.mongo is a\ngood choice for this.\n\n\n=======\nChanges\n=======\n\n1.0.5 (2025-08-29)\n------------------\n\n- bugfix; fix empty content type at error handling\n\n\n1.0.4 (2025-08-26)\n------------------\n\n- bugfix; remove bad six.string_types patch\n\n\n1.0.3 (2025-08-25)\n------------------\n\n- bugfix; fix globals in getZCMLLayer\n\n\n1.0.2 (2025-08-20)\n------------------\n\n- bugfix; improve __slots__ for python 3\n\n\n1.0.1 (2025-07-15)\n------------------\n\n - Fixed errors in headers (post/get) - wrong unicode x str types (APP-1818).\n\n\n1.0.0 (2025-06-12)\n------------------\n\n- bugfix: fix string encoding issues. Python 3 is work in progress and requires\n a pywsgi version which doesn't only require str.\n\n\n0.9.3 (2025-06-04)\n------------------\n\n- python 2.7 migration\n\n- removed z3c.jsonrpc dependency\n\n- implemented Debugger concept\n\n\n0.9.2 (2025-05-27)\n------------------\n\n- requirements update: zope.interface >= 5.5.2\n\n\n0.9.1 (2021-12-04)\n------------------\n\n- bugfix: allow to use Basic Authentication header credentias in JSONRPC proxy.\n\n- feature: Suport username and password in getJSONRPCTestProxy used for setup\n Authentication Basic header.\n\n- feature: Support Bearer token in getJSONRPCTestProxy used for Authentication\n Bearer header.\n\n\n0.9.0 (2017-09-18)\n------------------\n\n- feature: implemented ZODB support. Now it's possible to use p01.publisher\n and use a ZODB not only a WSGI application.\n\n- renamed p01.publisher.traversers to p01.publisher.traverser\n\n- enable threadSiteSubscriber and clearThreadSiteSubscriber event subscriber\n handler\n\n\n0.8.0 (2017-01-24)\n------------------\n\n- bugfix: transaction >= 2.0.3 uses unicode for transaction note. See comment\n in transaction CHANGES.txt. The user and description fields must now be set\n with text (unicode) data. Previously, if bytes were provided, they\u2019d be\n decoded as ASCII. It was decided that this would lead to bugs that were hard\n to test for.\n\n\n0.7.0 (2016-09-19)\n------------------\n\n- feature: re-implemented json reader and writer concept. Use reader and writer\n from p01.json.api\n\n- bugfix: support PATH_INFO in JSONRPCTestTransport used by the test method\n getJSONRPCTestProxy. This ensures that we traverse to the related context\n for calling the json-rpc method.\n\n- feature: use JSONRPCProxy from p01.json as json-rpc test proxy\n\n- sort response header before return, except Status and X-Powered-By\n\n\n0.6.0 (2015-03-17)\n------------------\n\n- feature: added application/json support. The new request json method returns\n the json formated data given from a request with content type applicaton/json.\n The raw content is stored in the request raw property if such json content\n is given.\n\n- added OPTIONS to allwed request methods. This allows to handle cross origin\n request given from android phones during development. Note, you ned to\n register a view for handle such requests. We just added the OPTIONS as a\n general allowed request method.\n\n- feature: use new testbrowser concept based on zope.testbrowser >= 5.0.0.\n This new testbrowser concept uses a wsgi application and is based on webtest.\n Currently we use p01.testbrowser which is a clone of zope.testbrowser because\n there is no zope.testbrowser release yet.\n\n- feature: implemented simple JSONRPCTestProxy based on wsgi app. This new\n test json rpc proxy uses the wsgi application publisher for process a\n request.\n\n- backport zope.publisher publication factory lookup. Improve the publication\n factory lookup by falling back to a more generic registration if the specific\n factory chooses not to handle the request after all\n\n\n0.5.0 (2014-03-24)\n------------------\n\n- initial release",
"bugtrack_url": null,
"license": "ZPL 2.1",
"summary": "NO ZODB publisher components for Zope3",
"version": "1.0.5",
"project_urls": {
"Homepage": "http://pypi.python.org/pypi/p01.publisher"
},
"split_keywords": [
"zope",
"zope3",
"z3c",
"zodb"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f566ec9a85c5be3108eda0e75f423cc2528ecbb485f7cd18cf23ca8b7ba38e4a",
"md5": "6fe4a6e00280ea711a5b313853e9084f",
"sha256": "c5463d39e3f0d307f21f559675e699eb848cee28c27af4a40b1871ff7254e366"
},
"downloads": -1,
"filename": "p01.publisher-1.0.5.tar.gz",
"has_sig": false,
"md5_digest": "6fe4a6e00280ea711a5b313853e9084f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 277607,
"upload_time": "2025-08-29T10:14:55",
"upload_time_iso_8601": "2025-08-29T10:14:55.904925Z",
"url": "https://files.pythonhosted.org/packages/f5/66/ec9a85c5be3108eda0e75f423cc2528ecbb485f7cd18cf23ca8b7ba38e4a/p01.publisher-1.0.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-29 10:14:55",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "p01.publisher"
}