Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ssanderson/python-interface

Minimal Pythonic Interface Definitions
https://github.com/ssanderson/python-interface

interface interfaces metaprogramming python python2 python3

Last synced: 13 days ago
JSON representation

Minimal Pythonic Interface Definitions

Awesome Lists containing this project

README

        

``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
~~~~~~~~~~~~

.. code-block:: shell

$ pip install python-interface

.. _`documentation` : http://python-interface.readthedocs.io

.. |build status| image:: https://github.com/ssanderson/python-interface/workflows/interface-ci/badge.svg
:target: https://github.com/ssanderson/python-interface/actions