Python Interface Versions Save

Minimal Pythonic Interface Definitions

1.6.1

3 years ago

What’s Changed

  • Add MANIFEST.in and package license file in source distribution (#40) @synapticarbors
  • STY: Update and pin black version. (#45) @ssanderson
  • BUG: Fix superclass checking for subclass methods (#44) @michaels-lyft

1.6.0

4 years ago

This release adds support for creating interface subclasses. A subclass of an interface is a new interface that inherits all the requirements imposed by its parent. For more info, see the documentation.

What’s Changed

  • ENH: Add subinterfaces. (#35) @ssanderson

1.5.5

4 years ago

What’s Changed

This release is identical in content to 1.5.4. It was published to test the release automation tools added as part of 1.5.4.

1.5.4

4 years ago

What’s Changed

This release contains several internal tooling and automation improvements, including porting interface's CI from Travis to GitHub Actions, and applying the Black code formatter to the codebase.

There are no functional changes in this release relative to 1.5.3.

1.5.3

4 years ago

This release is functionally identical to 1.5.2. 1.5.2 was accidentally uploaded to PyPI without a package description.

1.5.2

4 years ago

Fixes a bug when using the @default and @property decorators together in Python 3.

1.5.1

5 years ago
  • Minor documentation fixes.
  • Replaced hand-rolled implementation if interface.compat.izip_longest with itertools implementation.

1.5.0

5 years ago

1.4.0

6 years ago
  • Added interface.default, which allows users to define default implementations of interface methods.
  • Added a backport of functools.wraps in python 2 that sets __wrapped__ on wrapping functions.

Note:

Version 1.3.0 was released with a bug in the implementation of default. Users are encouraged to use 1.4.0 instead.

1.2.0

7 years ago

Adds support for requiring propertys as part of an interface definition.