Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ssanderson/python-interface
- Owner: ssanderson
- License: apache-2.0
- Created: 2016-06-19T22:47:00.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-04-21T14:16:35.000Z (over 3 years ago)
- Last Synced: 2024-12-15T22:51:51.165Z (18 days ago)
- Topics: interface, interfaces, metaprogramming, python, python2, python3
- Language: Python
- Homepage: https://interface.readthedocs.io/en/latest/
- Size: 130 KB
- Stars: 112
- Watchers: 8
- Forks: 16
- Open Issues: 12
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
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