skillfed

zope.filerepresentation

File-system Representation Interfaces

zope-filerepresentation v7.0 144.7K downloads/30d#11,144 on PyPI
License unclear ZPL-2.1 AGING released

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-filerepresentation

uv

uv add zope-filerepresentation

poetry

poetry add zope-filerepresentation

Installing 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

Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: Zope :: 3Intended 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/HTTP

Tags

file representation interfacesfilesystem synchronizationwebdav file interfaceszope file abstractionsfile-like object protocols
zope-ecosystemprotocol-abstraction

More WWW/HTTP packages