zope.traversing
Resolving paths in the object hierarchy
Decision gist · record as of 2026-08-14
Yes, if you are building or maintaining a Zope-based application or framework that requires object hierarchy traversal and URL generation. The package is actively maintained, has no known vulnerabilities, and installs with low friction. No, if you are not using Zope or a Zope-dependent framework—the package is tightly coupled to the Zope ecosystem and offers no value outside that context.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later; depends on zope.interface, zope.component, zope.location, zope.publisher, and zope.security being installed and configured.
- Low install friction with a pure-Python wheel.
- Actively maintained as of 2025-09-12 with recent Python 3.12 and 3.13 support added.
License · maintenance · safety
ZPL-2.1 (unclear) — Licensed under ZPL-2.1 (Zope Public License 2.1), which is OSI-approved but less common than MIT or Apache 2.0. Verify compatibility with your project's license policy before adopting.
last release 2025-09-12 (336 days) · last repo commit 2026-04-28 · 1 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 153,957 downloads/mo, #10,864 on PyPI
Alternatives
Verify before relying
from zope.traversing.api import getParent, getParents
from zope.traversing.adapters import DefaultTraversable
# Traverse object hierarchy
parent = getParent(obj)
ancestors = getParents(obj)- Whether the package's ZCML configuration is required or optional for basic traversal operations.
- Performance characteristics when traversing deeply nested object hierarchies.
- Compatibility with non-Zope object models or whether it requires Zope-specific interfaces.
What it is and what it does
zope.traversing is a Zope framework package that provides adapters for resolving object paths by walking an object hierarchy. It handles URL computation via the @@absolute_url view and supports special traversal namespaces (++view++, ++skin++, etc.) that allow path-based routing to different object types or views. The package is part of the Zope ecosystem and integrates with zope.component, zope.interface, zope.location, zope.publisher, and zope.security to enable flexible object discovery and URL generation in hierarchical object models.
The package is actively maintained, recently updated to support Python 3.12 and 3.13, and has been in production use since 2007. It installs with low friction as a pure-Python wheel and carries no known security vulnerabilities. Its primary use is within Zope-based applications or frameworks that need to traverse object hierarchies and generate absolute URLs dynamically.
Use it for
- Resolve object paths in a Zope application by traversing a parent-child object hierarchy.
- Compute absolute URLs for objects using the @@absolute_url view adapter.
- Route HTTP requests to different views or skins using traversal namespaces like ++view++ or ++skin++.
- Look up parent objects in a containment hierarchy for breadcrumb or navigation generation.
- Implement custom traversal adapters for specialized object models within a Zope-based framework.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building or maintaining a Zope-based application or framework that requires object hierarchy traversal and URL generation.
The package is actively maintained, has no known vulnerabilities, and installs with low friction. No, if you are not using Zope or a Zope-dependent framework—the package is tightly coupled to the Zope ecosystem and offers no value outside that context.
Install
zope-traversing on PyPI
Before you install
Low install friction with a pure-Python wheel. Actively maintained as of 2025-09-12 with recent Python 3.12 and 3.13 support added. Ten runtime dependencies, all from the Zope ecosystem, are well-established packages.
Requires Python 3.9 or later; depends on zope.interface, zope.component, zope.location, zope.publisher, and zope.security being installed and configured.
License in practice
Licensed under ZPL-2.1 (Zope Public License 2.1), which is OSI-approved but less common than MIT or Apache 2.0. Verify compatibility with your project's license policy before adopting.
Quickstart
from zope.traversing.api import getParent, getParents
from zope.traversing.adapters import DefaultTraversable
# Traverse object hierarchy
parent = getParent(obj)
ancestors = getParents(obj)
Verify before relying
- Whether the package's ZCML configuration is required or optional for basic traversal operations.
- Performance characteristics when traversing deeply nested object hierarchies.
- Compatibility with non-Zope object models or whether it requires Zope-specific interfaces.
Package facts
| License | ZPL-2.1 unclear |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 10 packagessetuptoolstransactionzope.componentzope.i18nzope.i18nmessageidzope.interfacezope.locationzope.proxyzope.publisherzope.security |
| Maintenance | Actively maintained 336 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 153,957 / month, #10,864 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Zope Public LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Internet :: WWW/HTTPTopic :: Software Development |
Evidence: zope_traversing-6.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “object path traversal”
- zope.traversingResolves object paths by traversing an object hierarchy and computing…
- magicattrProvides nested attribute access and modification on objects, lists,…
- s3pathlibs3pathlib provides a pathlib-like object-oriented interface to AWS…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also zope.container · zope.location · zope.size · zope.annotation · zope.browser · zope.ptresource · zope.pagetemplate · zope.browserresource · zope.browserpage · zope.proxy