Skip to main content

NTI Zope Catalog

Project description

nti.zope_catalog

Latest release Supported Python versions https://github.com/NextThought/nti.zope_catalog/workflows/tests/badge.svg https://coveralls.io/repos/github/NextThought/nti.zope_catalog/badge.svg?branch=master 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.

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.

    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.

  • 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.

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.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nti_zope_catalog-4.1.0.tar.gz (31.8 kB view details)

Uploaded Source

Built Distribution

nti.zope_catalog-4.1.0-py3-none-any.whl (28.7 kB view details)

Uploaded Python 3

File details

Details for the file nti_zope_catalog-4.1.0.tar.gz.

File metadata

  • Download URL: nti_zope_catalog-4.1.0.tar.gz
  • Upload date:
  • Size: 31.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for nti_zope_catalog-4.1.0.tar.gz
Algorithm Hash digest
SHA256 b91e661350a76216845cd38333070b192f724ccdcc73962b3f153ce8fe4a098e
MD5 9641993d0599780b0f5f69906a3bdef9
BLAKE2b-256 afc268455063fc408a8a80be64a6ce88afe1a30e3e19793d176d66accf9c6903

See more details on using hashes here.

File details

Details for the file nti.zope_catalog-4.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nti.zope_catalog-4.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 516c9b6b9497074f0b9421bc0bd51f774828ac8d1a4181b83737c9e62df030c6
MD5 af38d8474eb680c331a92d97711d9881
BLAKE2b-256 a8f8a280fcb60660e22f09da12b48fcc95c29e35c8cf2fa83b1fb4e45d22d145

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page