--- id: zope-location version: "6.0" license: ZPL-2.1 license_treatment: unclear maintenance: aging --- # zope.location — Zope Location License: unclear · Maintenance: aging · Downloads: 183.9K/mo ## What it is and what it does zope.location is a foundational Zope 3 package that provides a location system for marking objects with structural identity within an application. Objects gain ``__name__`` and ``__parent__`` attributes to indicate their position in an object hierarchy, enabling traversal and location-aware operations. It is typically used as a base layer in Zope applications and frameworks that need to track object containment and identity. The package depends on zope.interface, zope.schema, and zope.proxy to implement location proxies and interface contracts. It is maintained as part of the Zope Foundation ecosystem and supports modern Python versions (3.9 through 3.13, including PyPy). The package is stable and production-ready but is primarily useful within Zope-based architectures; standalone use outside that context is uncommon. Use it for: - Building Zope 3 applications that require objects to maintain structural location and parent-child relationships - Implementing location-aware traversal in web frameworks built on Zope components - Creating container hierarchies where objects need to know their position and parent context - Extending zope.container with location tracking for custom object models ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides a structural location system for Zope 3 objects using ``__name__`` and ``__parent__`` attributes to track object hierarchy and identity within an application. Yes, if you are building or maintaining a Zope 3 or Zope 5 application. No, if you are working outside the Zope ecosystem—this package is a specialized component with no general-purpose use case. The aging maintenance status (336 days since last release) is typical for stable Zope Foundation packages and does not indicate abandonment, but verify that your Zope version aligns with the supported Python versions (3.9+). ## Install pip install zope-location uv add zope-location poetry add zope-location ## Installing zope.location Before you install: Low friction install with a pure-Python wheel and four runtime dependencies (setuptools, zope.interface, zope.schema, zope.proxy). Last release was 336 days ago; repository is active but aging. License in practice: Licensed under ZPL-2.1 (Zope Public License), classified as OSI-approved. License treatment is marked unclear in the fact sheet; verify compatibility with your project's license requirements before use. Quickstart: pip install zope.location from zope.location import Location obj = Location() obj.__name__ = 'myobject' obj.__parent__ = parent_object Requires Python 3.9 or later; does not support Python 3.7 or 3.8. Verify before relying: - Exact semantics of LocationProxy and how it differs from direct Location usage - Performance characteristics when managing deeply nested object hierarchies - Integration patterns with zope.container for container-specific location behavior ## Package facts - License: ZPL-2.1 (unclear) - Python support: supports_current - Install friction: low - Maintenance: aging - Downloads: 183.9K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags zope object location tracking, structural hierarchy for zope objects, parent child relationships zope, zope location proxy, object location in zope framework, zope container location support, location aware objects, zope-framework, object-hierarchy [View on SkillFed](https://skillfed.io/packages/zope-location) · [View on PyPI](https://pypi.org/project/zope-location/)