=================
nti.zope_catalog
=================
.. image:: https://img.shields.io/pypi/v/nti.zope_catalog.svg
:target: https://pypi.python.org/pypi/nti.zope_catalog/
:alt: Latest release
.. image:: https://img.shields.io/pypi/pyversions/nti.zope_catalog.svg
:target: https://pypi.org/project/nti.zope_catalog/
:alt: Supported Python versions
.. image:: https://github.com/NextThought/nti.zope_catalog/workflows/tests/badge.svg
:target: https://github.com/NextThought/nti.zope_catalog/actions?query=workflow%3Atests
.. image:: https://coveralls.io/repos/github/NextThought/nti.zope_catalog/badge.svg?branch=master
:target: https://coveralls.io/github/NextThought/nti.zope_catalog?branch=master
.. image:: https://readthedocs.org/projects/ntizope-catalog/badge/?version=latest
:target: http://ntizope-catalog.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
Utilities and extensions for ZODB-based Zope catalogs and indexes.
This builds on both zope.catalog and zc.catalog.
=========
Changes
=========
4.1.0 (2024-11-12)
==================
- Drop support for Python 3.9.
- Use native namespace packages.
4.0.0 (2024-10-11)
==================
- Drop support for Python 2. We now only support Python 3.9 and above.
- Add support for Python 3.10, 11, 12, and 13.
- Remove dependency on ``zopyx.txng3.ext``.
- Remove dependency on ``pkg_resources``.
3.0.1 (2021-05-13)
==================
- Fix the ``ExtentFilteredSet`` to only unindex documents that were
previously indexed. This avoids an extra ``readCurrent`` call. See
`issue 12 <https://github.com/NextThought/nti.zope_catalog/issues/12>`_.
3.0.0 (2021-05-12)
==================
- Add support for Python 3.7, 3.8 and 3.9.
Note that ``zopyx.txng3.ext`` version 4.0.0, the current version at
this writing, may or may not build on CPython 3, depending on how
your compiler and compiler options treat undefined functions.
See `this issue <https://github.com/zopyx/zopyx.txng3.ext/issues/10>`_.
Also note that both PyPy 3.6 and 3.7 (7.3.4) are known to crash when
running the test suite. PyPy2 7.3.4 runs the test suite fine.
- When updating indexes in a catalog, first check if the type of each
object to be visited implements ``INoAutoIndex``. If it does, we can
avoid prematurely activating persistent ghost objects. See `issue 8
<https://github.com/NextThought/nti.zope_catalog/issues/8>`_.
- Require ZODB 5 in order to use the new ``prefetch()`` method.
- When adding or updating an index in a catalog, use ZODB's prefetch
method to grab chunks of object state data from the database. This
can be substantially faster than making requests one at a time. This
introduces a new class ``CatalogPrefetchIterator`` that may be
useful in other circumstances. See `issue 7
<https://github.com/NextThought/nti.zope_catalog/issues/8>`_.
2.0.0 (2017-11-05)
==================
- Rename ``TimestampToNormalized64BitIntNormalizer`` to
``TimestampTo64BitIntNormalizer`` for consistency.
- Make ``TimestampTo64BitIntNormalizer`` subclass
``TimestampNormalizer`` for simplicity.
- Rename ``FloatToNormalized64BitIntNormalizer`` to
``PersistentFloatTo64BitIntNormalizer`` for consistency and to
reflect its purpose.
- Make ``PersistentFloatTo64BitIntNormalizer`` subclass
``FloatTo64BitIntNormalizer``.
- Add ``IDeferredCatalog`` and an implementation in
``DeferredCatalog`` to allow creating catalog objects that don't
participate in event subscription-based indexing. This replaces
``IMetadataIndex``, which is now an alias for this object. See
`issue 3 <https://github.com/NextThought/nti.zope_catalog/pull/3>`_.
1.0.0 (2017-06-15)
==================
- First PyPI release.
- Add support for Python 3.
- ``TimestampNormalizer`` also normalizes incoming datetime objects.
- Fix extent-based queries for NormalizedKeywordIndex.
- 100% test coverage.
Raw data
{
"_id": null,
"home_page": "https://github.com/OpenNTI/nti.zope_catalog",
"name": "nti.zope-catalog",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "Zope Catalog",
"author": "Jason Madden",
"author_email": "jason@nextthought.com",
"download_url": "https://files.pythonhosted.org/packages/af/c2/68455063fc408a8a80be64a6ce88afe1a30e3e19793d176d66accf9c6903/nti_zope_catalog-4.1.0.tar.gz",
"platform": null,
"description": "=================\n nti.zope_catalog\n=================\n\n.. image:: https://img.shields.io/pypi/v/nti.zope_catalog.svg\n :target: https://pypi.python.org/pypi/nti.zope_catalog/\n :alt: Latest release\n\n.. image:: https://img.shields.io/pypi/pyversions/nti.zope_catalog.svg\n :target: https://pypi.org/project/nti.zope_catalog/\n :alt: Supported Python versions\n\n.. image:: https://github.com/NextThought/nti.zope_catalog/workflows/tests/badge.svg\n :target: https://github.com/NextThought/nti.zope_catalog/actions?query=workflow%3Atests\n\n.. image:: https://coveralls.io/repos/github/NextThought/nti.zope_catalog/badge.svg?branch=master\n :target: https://coveralls.io/github/NextThought/nti.zope_catalog?branch=master\n\n.. image:: https://readthedocs.org/projects/ntizope-catalog/badge/?version=latest\n :target: http://ntizope-catalog.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\nUtilities and extensions for ZODB-based Zope catalogs and indexes.\n\nThis builds on both zope.catalog and zc.catalog.\n\n\n=========\n Changes\n=========\n\n4.1.0 (2024-11-12)\n==================\n\n- Drop support for Python 3.9.\n- Use native namespace packages.\n\n\n4.0.0 (2024-10-11)\n==================\n\n- Drop support for Python 2. We now only support Python 3.9 and above.\n- Add support for Python 3.10, 11, 12, and 13.\n- Remove dependency on ``zopyx.txng3.ext``.\n- Remove dependency on ``pkg_resources``.\n\n\n3.0.1 (2021-05-13)\n==================\n\n- Fix the ``ExtentFilteredSet`` to only unindex documents that were\n previously indexed. This avoids an extra ``readCurrent`` call. See\n `issue 12 <https://github.com/NextThought/nti.zope_catalog/issues/12>`_.\n\n\n3.0.0 (2021-05-12)\n==================\n\n- Add support for Python 3.7, 3.8 and 3.9.\n\n Note that ``zopyx.txng3.ext`` version 4.0.0, the current version at\n this writing, may or may not build on CPython 3, depending on how\n your compiler and compiler options treat undefined functions.\n See `this issue <https://github.com/zopyx/zopyx.txng3.ext/issues/10>`_.\n\n Also note that both PyPy 3.6 and 3.7 (7.3.4) are known to crash when\n running the test suite. PyPy2 7.3.4 runs the test suite fine.\n\n- When updating indexes in a catalog, first check if the type of each\n object to be visited implements ``INoAutoIndex``. If it does, we can\n avoid prematurely activating persistent ghost objects. See `issue 8\n <https://github.com/NextThought/nti.zope_catalog/issues/8>`_.\n\n- Require ZODB 5 in order to use the new ``prefetch()`` method.\n\n- When adding or updating an index in a catalog, use ZODB's prefetch\n method to grab chunks of object state data from the database. This\n can be substantially faster than making requests one at a time. This\n introduces a new class ``CatalogPrefetchIterator`` that may be\n useful in other circumstances. See `issue 7\n <https://github.com/NextThought/nti.zope_catalog/issues/8>`_.\n\n2.0.0 (2017-11-05)\n==================\n\n- Rename ``TimestampToNormalized64BitIntNormalizer`` to\n ``TimestampTo64BitIntNormalizer`` for consistency.\n- Make ``TimestampTo64BitIntNormalizer`` subclass\n ``TimestampNormalizer`` for simplicity.\n- Rename ``FloatToNormalized64BitIntNormalizer`` to\n ``PersistentFloatTo64BitIntNormalizer`` for consistency and to\n reflect its purpose.\n- Make ``PersistentFloatTo64BitIntNormalizer`` subclass\n ``FloatTo64BitIntNormalizer``.\n- Add ``IDeferredCatalog`` and an implementation in\n ``DeferredCatalog`` to allow creating catalog objects that don't\n participate in event subscription-based indexing. This replaces\n ``IMetadataIndex``, which is now an alias for this object. See\n `issue 3 <https://github.com/NextThought/nti.zope_catalog/pull/3>`_.\n\n1.0.0 (2017-06-15)\n==================\n\n- First PyPI release.\n- Add support for Python 3.\n- ``TimestampNormalizer`` also normalizes incoming datetime objects.\n- Fix extent-based queries for NormalizedKeywordIndex.\n- 100% test coverage.\n",
"bugtrack_url": null,
"license": "Apache",
"summary": "NTI Zope Catalog",
"version": "4.1.0",
"project_urls": {
"Documentation": "https://ntizope-catalog.readthedocs.io/en/latest/",
"Homepage": "https://github.com/OpenNTI/nti.zope_catalog"
},
"split_keywords": [
"zope",
"catalog"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a8f8a280fcb60660e22f09da12b48fcc95c29e35c8cf2fa83b1fb4e45d22d145",
"md5": "af38d8474eb680c331a92d97711d9881",
"sha256": "516c9b6b9497074f0b9421bc0bd51f774828ac8d1a4181b83737c9e62df030c6"
},
"downloads": -1,
"filename": "nti.zope_catalog-4.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "af38d8474eb680c331a92d97711d9881",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 28714,
"upload_time": "2024-11-12T13:13:25",
"upload_time_iso_8601": "2024-11-12T13:13:25.767042Z",
"url": "https://files.pythonhosted.org/packages/a8/f8/a280fcb60660e22f09da12b48fcc95c29e35c8cf2fa83b1fb4e45d22d145/nti.zope_catalog-4.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "afc268455063fc408a8a80be64a6ce88afe1a30e3e19793d176d66accf9c6903",
"md5": "9641993d0599780b0f5f69906a3bdef9",
"sha256": "b91e661350a76216845cd38333070b192f724ccdcc73962b3f153ce8fe4a098e"
},
"downloads": -1,
"filename": "nti_zope_catalog-4.1.0.tar.gz",
"has_sig": false,
"md5_digest": "9641993d0599780b0f5f69906a3bdef9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 31849,
"upload_time": "2024-11-12T13:13:27",
"upload_time_iso_8601": "2024-11-12T13:13:27.506048Z",
"url": "https://files.pythonhosted.org/packages/af/c2/68455063fc408a8a80be64a6ce88afe1a30e3e19793d176d66accf9c6903/nti_zope_catalog-4.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-12 13:13:27",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "OpenNTI",
"github_project": "nti.zope_catalog",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"tox": true,
"lcname": "nti.zope-catalog"
}