cone.zodb
=========
.. image:: https://img.shields.io/pypi/v/cone.zodb.svg
:target: https://pypi.python.org/pypi/cone.zodb
:alt: Latest PyPI version
.. image:: https://img.shields.io/pypi/dm/cone.zodb.svg
:target: https://pypi.python.org/pypi/cone.zodb
:alt: Number of PyPI downloads
.. image:: https://github.com/conestack/cone.zodb/actions/workflows/test.yaml/badge.svg
:target: https://github.com/conestack/cone.zodb/actions/workflows/test.yaml
:alt: Test cone.zodb
This package provides ZODB integration in ``cone.app`` and basic
application nodes for publishing ZODB models.
Changes
=======
1.0 (2025-10-25)
----------------
- Pin upper versions of dependencies.
[rnix]
- Setup Makefile.
[lenadax]
- Run tests with pytest.
[lenadax]
1.0a3 (2022-10-06)
------------------
- Replace deprecated use of ``IStorage`` by ``IMappingStorage``.
[rnix]
- Replace deprecated use of ``Storage`` by ``MappingStorage``.
[rnix]
- Replace deprecated use of ``Nodify`` by ``MappingNode``.
[rnix]
- Replace deprecated use of ``NodeChildValidate`` by ``MappingConstraints``.
[rnix]
1.0a2 (2021-10-21)
------------------
- Implement ``node.iterfaces.IOrder`` on ``ZODBEntry``.
[rnix]
1.0a1 (2020-07-09)
------------------
- Fix case where ``_v_parent`` is not set if ``ZODBEntryNode`` is not read via
``ZODBEntryStorage`` but from ZODB root directly.
[rnix]
- Remove ``AsAttrAccess``, ``Nodespaces``, and ``Attributes`` behaviors from
``ZODBEntry``.
[rnix]
- Add ``ZODBEntryStorage.attrs``. Returns attributes of related
``ZODBEntryNode``.
[rnix]
- Add ``ZODBEntryNode.__getitem__``. Sets ``ZODBEntryNode.entry`` as parent
on children to keep traversal and acquisition paths sane.
[rnix]
- Access ``principal_roles`` when initializing nodes with ``ZODBPrincipalACL``
behavior applied to avoid lazy creation. Needed to prevent ``_p_changed``
being set on first access.
[rnix]
- Do not remember ``principal_roles`` via ``instance_property`` decorator
on ``ZODBEntryPrincipalACL`` to avoid ``ZODB.POSException.ConnectionStateError``
errors.
[rnix]
- Proper handling of ``ZODBEntry`` and ``ZODBEntryNode`` in ``zodb_path``.
[rnix]
- Add ``include_entry`` attribute to ``CatalogAware`` behavior. Flag controls
whether to index entry node in calatog.
[rnix]
- Add ``entry`` property to ``ZODBEntryNode``.
[rnix]
- Use ``pyramid_zodbconn`` instead of ``repoze.zodbconn``.
[rnix]
- Set ``node.interfaces.IOrdered`` on ``cone.zodb.entry.ZODBEntry`` to fix
``treerepr``.
[rnix]
- Python 3 compatibility.
[rnix]
- Upgrade to ``cone.app`` 1.0b1.
[rnix]
< 1.0
-----
- Initial work.
[rnix]
License
=======
Copyright (c) 2011-2021, BlueDynamics Alliance, Austria
Copyright (c) 2021-2025, Cone Contributors
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this
list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Raw data
{
"_id": null,
"home_page": "http://github.com/conestack/cone.zodb",
"name": "cone.zodb",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "node pyramid cone web",
"author": "Cone Contributors",
"author_email": "dev@conestack.org",
"download_url": "https://files.pythonhosted.org/packages/e0/9b/f752935a19bf15f507593b16d1e34f22fd115d7f650d1bf79289c463dcae/cone_zodb-1.0.tar.gz",
"platform": null,
"description": "cone.zodb\n=========\n\n.. image:: https://img.shields.io/pypi/v/cone.zodb.svg\n :target: https://pypi.python.org/pypi/cone.zodb\n :alt: Latest PyPI version\n\n.. image:: https://img.shields.io/pypi/dm/cone.zodb.svg\n :target: https://pypi.python.org/pypi/cone.zodb\n :alt: Number of PyPI downloads\n\n.. image:: https://github.com/conestack/cone.zodb/actions/workflows/test.yaml/badge.svg\n :target: https://github.com/conestack/cone.zodb/actions/workflows/test.yaml\n :alt: Test cone.zodb\n\nThis package provides ZODB integration in ``cone.app`` and basic\napplication nodes for publishing ZODB models.\n\n\nChanges\n=======\n\n1.0 (2025-10-25)\n----------------\n\n- Pin upper versions of dependencies.\n [rnix]\n\n- Setup Makefile.\n [lenadax]\n\n- Run tests with pytest.\n [lenadax]\n\n\n1.0a3 (2022-10-06)\n------------------\n\n- Replace deprecated use of ``IStorage`` by ``IMappingStorage``.\n [rnix]\n\n- Replace deprecated use of ``Storage`` by ``MappingStorage``.\n [rnix]\n\n- Replace deprecated use of ``Nodify`` by ``MappingNode``.\n [rnix]\n\n- Replace deprecated use of ``NodeChildValidate`` by ``MappingConstraints``.\n [rnix]\n\n\n1.0a2 (2021-10-21)\n------------------\n\n- Implement ``node.iterfaces.IOrder`` on ``ZODBEntry``.\n [rnix]\n\n\n1.0a1 (2020-07-09)\n------------------\n\n- Fix case where ``_v_parent`` is not set if ``ZODBEntryNode`` is not read via\n ``ZODBEntryStorage`` but from ZODB root directly.\n [rnix]\n\n- Remove ``AsAttrAccess``, ``Nodespaces``, and ``Attributes`` behaviors from\n ``ZODBEntry``.\n [rnix]\n\n- Add ``ZODBEntryStorage.attrs``. Returns attributes of related\n ``ZODBEntryNode``.\n [rnix]\n\n- Add ``ZODBEntryNode.__getitem__``. Sets ``ZODBEntryNode.entry`` as parent\n on children to keep traversal and acquisition paths sane.\n [rnix]\n\n- Access ``principal_roles`` when initializing nodes with ``ZODBPrincipalACL``\n behavior applied to avoid lazy creation. Needed to prevent ``_p_changed``\n being set on first access.\n [rnix]\n\n- Do not remember ``principal_roles`` via ``instance_property`` decorator\n on ``ZODBEntryPrincipalACL`` to avoid ``ZODB.POSException.ConnectionStateError``\n errors.\n [rnix]\n\n- Proper handling of ``ZODBEntry`` and ``ZODBEntryNode`` in ``zodb_path``.\n [rnix]\n\n- Add ``include_entry`` attribute to ``CatalogAware`` behavior. Flag controls\n whether to index entry node in calatog.\n [rnix]\n\n- Add ``entry`` property to ``ZODBEntryNode``.\n [rnix]\n\n- Use ``pyramid_zodbconn`` instead of ``repoze.zodbconn``.\n [rnix]\n\n- Set ``node.interfaces.IOrdered`` on ``cone.zodb.entry.ZODBEntry`` to fix\n ``treerepr``.\n [rnix]\n\n- Python 3 compatibility.\n [rnix]\n\n- Upgrade to ``cone.app`` 1.0b1.\n [rnix]\n\n\n< 1.0\n-----\n\n- Initial work.\n [rnix]\n\n\nLicense\n=======\n\nCopyright (c) 2011-2021, BlueDynamics Alliance, Austria\nCopyright (c) 2021-2025, Cone Contributors\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice, this\n list of conditions and the following disclaimer in the documentation and/or\n other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\nON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n",
"bugtrack_url": null,
"license": "Simplified BSD",
"summary": "ZODB integration for cone.app",
"version": "1.0",
"project_urls": {
"Homepage": "http://github.com/conestack/cone.zodb"
},
"split_keywords": [
"node",
"pyramid",
"cone",
"web"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "375bfc22dabc3188dac98f8c67eff3225ca574ddbbce5c30121d2c70c74b1442",
"md5": "75f58f1aa1986e930641eedebf968fe4",
"sha256": "df613ee3da06260a2beea9a5390e60d3253d8885a6e4fe961567972c67bc7fa1"
},
"downloads": -1,
"filename": "cone_zodb-1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "75f58f1aa1986e930641eedebf968fe4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 16462,
"upload_time": "2025-10-25T11:25:59",
"upload_time_iso_8601": "2025-10-25T11:25:59.866591Z",
"url": "https://files.pythonhosted.org/packages/37/5b/fc22dabc3188dac98f8c67eff3225ca574ddbbce5c30121d2c70c74b1442/cone_zodb-1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "e09bf752935a19bf15f507593b16d1e34f22fd115d7f650d1bf79289c463dcae",
"md5": "f3bc012a3cab6ec628c4994a556cb325",
"sha256": "883e2093999847a89604b9395070f8d64c1986edf69fdb19ac4dafb25f2623a9"
},
"downloads": -1,
"filename": "cone_zodb-1.0.tar.gz",
"has_sig": false,
"md5_digest": "f3bc012a3cab6ec628c4994a556cb325",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 14240,
"upload_time": "2025-10-25T11:26:01",
"upload_time_iso_8601": "2025-10-25T11:26:01.356856Z",
"url": "https://files.pythonhosted.org/packages/e0/9b/f752935a19bf15f507593b16d1e34f22fd115d7f650d1bf79289c463dcae/cone_zodb-1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-10-25 11:26:01",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "conestack",
"github_project": "cone.zodb",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "cone.zodb"
}