python-interface

Pythonic Interface definitions


Keywords
interface, interfaces, metaprogramming, python, python2, python3
License
Apache-2.0
Install
pip install python-interface==1.6.1

Documentation

python-interface

build status

interface is a library for declaring interfaces and for statically asserting that classes implement those interfaces. It aims to provide stricter semantics and better error messages than Python's built-in abc module.

interface supports Python 2.7 and Python 3.4+.

For more information, see our documentation.

Installation

$ pip install python-interface