zope.filerepresentation
File-system Representation Interfaces
What it is and what it does
zope.filerepresentation is a Zope package that defines a set of interfaces for representing objects as files and directories. It is used to support file-system-like abstractions in web frameworks and protocols such as FTP, PUT, and WebDAV, allowing objects to be synchronized with or exposed through file-system-like APIs.
The package provides interfaces like IReadFile, IWriteFile, IReadDirectory, and IWriteDirectory that establish contracts for objects behaving as files or directories. It depends on zope.interface and zope.schema to define these protocols and is primarily useful in applications that need to bridge object-oriented code with file-system operations or remote file protocols.
Use it for:
- Implement WebDAV servers that expose application objects as a virtual file hierarchy
- Build FTP or PUT-based synchronization between application objects and file systems
- Define file-like interfaces for objects in Zope-based web applications
- Create abstractions for reading and writing file-like data from non-file sources
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Defines interfaces for representing objects as files and directories, enabling file-system synchronization, FTP, PUT, and WebDAV operations.
Yes, if you are building a Zope-based application or need to expose objects through file-system or WebDAV protocols. The package is stable and has no known vulnerabilities, but maintenance is aging (last release 336 days ago). Verify ZPL-2.1 license compatibility with your project before adopting.
Install
zope-filerepresentation on PyPI
pip
pip install zope-filerepresentationuv
uv add zope-filerepresentationpoetry
poetry add zope-filerepresentationInstalling zope.filerepresentation
Before you install
Low install friction with a pure-wheel distribution. Maintenance status is aging—last release was 336 days ago—but the package is marked Production/Stable and supports current Python versions (3.9+).
License in practice
Licensed under Zope Public License 2.1 (ZPL-2.1), which is OSI-approved but marked as unclear in treatment. Verify compatibility with your project's license policy before use.
Quickstart
pip install zope.filerepresentation
from zope.filerepresentation.interfaces import IReadFile, IWriteFile
# Use interfaces to define file-like object contracts
Requires Python 3.9 or later; runtime dependencies are setuptools, zope.interface, and zope.schema.
Verify before relying
- Whether ZPL-2.1's copyleft or reciprocal clauses apply to derivative works in your use case
- Active maintenance timeline and response rate for bug reports or security issues
Package facts
| License | ZPL-2.1 (unclear) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — setuptools, zope.interface, zope.schema |
| Maintenance | aging — 336 days since the last release |
| First released | |
| Downloads | 144,731/month — #11,144 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: zope_filerepresentation-7.0-py3-none-any.whl
Keywords: zope3, filesystem, representation
Tags
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
zope.annotationStores additional metadata on objects without…
unclear · top 15,000 on PyPI
zope.publisherzope.publisher handles HTTP request and…
unclear · top 15,000 on PyPI
zope.browserProvides a set of standard interfaces for…
unclear · top 15,000 on PyPI
zope.containerProvides container interfaces and…
unclear · top 15,000 on PyPI
zope.sizeProvides a standard interface and adapter for…
unclear · top 15,000 on PyPI
zope.lifecycleeventDefines event objects and API functions for…
unclear · top 15,000 on PyPI
zope.configurationZope.configuration provides an extensible…
unclear · top 5,000 on PyPI
zope.processlifetimeProvides event interfaces and implementations…
unclear · top 15,000 on PyPI
zope.proxyzope.proxy provides transparent wrapper objects…
unclear · top 15,000 on PyPI
zope.contenttypeGuesses MIME types from filenames and body…
unclear · top 15,000 on PyPI