{"categories":[{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/6"}],"enrichment":{"capability":"Provides container interfaces and implementations (BTreeContainer, OrderedContainer) for organizing and managing objects in Zope-based applications, with support for object containment, traversal, and lifecycle events.","skillfed_tags":["zope-framework","object-persistence","btree-storage"],"use_cases":["Building hierarchical object stores in Zope applications where containers hold and manage persistent objects with named access.","Implementing folder-like structures that preserve insertion order or optimize for large datasets using B-tree storage.","Integrating container lifecycle events (add, remove, modify) into Zope's event system for reactive application logic.","Developing Zope-based CMS or document management systems that require object containment and traversal.","Creating custom container types by inheriting from BTreeContainer or OrderedContainer with Zope interface compliance."],"what_it_does":"zope.container is a foundational package in the Zope web framework ecosystem that defines interfaces and provides implementations for container objects\u2014data structures that hold and manage other objects. It supplies two main container types: BTreeContainer, which uses B-tree storage for scalable key-value access, and OrderedContainer, which preserves insertion order. The package also serves as the base for zope.site.folder's Folder implementation. It integrates deeply with Zope's component architecture, persistent object storage, security model, and event system through its 19 runtime dependencies.\n\nThe package is used in applications that need to organize persistent objects hierarchically, support traversal and lookup by name, emit lifecycle events when objects are added or removed, and maintain compatibility with Zope's interface-based design patterns. It handles both text and byte keys, supports the PURE_PYTHON environment variable for debugging, and provides utilities like NameChooser for generating unique object names within a container.","worth_installing":"Yes, if you are building a Zope-based application or framework that requires object containment and lifecycle management. The package is actively maintained, supports modern Python versions (3.10\u20133.14), has no known vulnerabilities, and is well-integrated into the Zope ecosystem. However, verify that ZPL-2.1 is compatible with your project's license requirements (marked unclear), and be aware of the 19 runtime dependencies\u2014this is a heavyweight addition suitable for Zope-centric projects, not a lightweight utility."},"id":"zope-container","links":{"html":"https://skillfed.io/packages/zope-container","md":"https://skillfed.io/packages/zope-container.md","pypi":"https://pypi.org/project/zope-container/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-11-15","license_spdx":null,"license_treatment":"unclear","name":"zope.container","python_support":"supports_current","summary":"Zope Container"},"popularity":{"monthly_downloads":157542,"position":10753,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"7.2"}
