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.2.0 (2026-07-02)

  • Add support for Python 3.14 and 3.15.

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.2.0.tar.gz (32.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nti_zope_catalog-4.2.0-py3-none-any.whl (28.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nti_zope_catalog-4.2.0.tar.gz
  • Upload date:
  • Size: 32.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.14

File hashes

Hashes for nti_zope_catalog-4.2.0.tar.gz
Algorithm Hash digest
SHA256 f66beca8481a00934d1542fc6445788ca163c9c830228ce4a2a0e9c73891afa4
MD5 3f935eb211ec61e89be2ad2f7ca34c46
BLAKE2b-256 5b88338f78bfea5fba806016a7f9828b69bdc4a78110fbe43cf0f43180e8d206

See more details on using hashes here.

File details

Details for the file nti_zope_catalog-4.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nti_zope_catalog-4.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ecf3bbc758f754c23818f2ae8a79a5cfd825e9094c99ed58f9411606407a4d3b
MD5 a89b22b6e0a72c57b06a52efcc847264
BLAKE2b-256 ec1a4de35f6f1cc7f8fda85554d78a6d4a2dd0bc444d39cb963f04c1a40fcc37

See more details on using hashes here.

Supported by

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