Metadata-Version: 2.1
Name: abc-property
Version: 1.0
Summary: Python ABC with a simple @abstract_property decorated checked after instantiation
Home-page: https://github.com/ndeutschmann/better_abc
Author: Nicolas Deutschmann
License: MIT
Platform: UNKNOWN
Description-Content-Type: text/markdown

# Better Abstract Basic Classes
Python ABC with a simple @abstract_property decorated checked after instantiation

Entirely based on [this StackOverflow answer](https://stackoverflow.com/questions/23831510/abstract-attribute-not-property/50381071#50381071) by [krassowski](https://stackoverflow.com/users/6646912/krassowski).

## Example:

```
from better_abc import BetterABC,abstract_property

class AbstractClassWithAbstractAttribute(BetterABC):
  @abstract_property
  def prop(self):
    pass

  otherprop = abstract_property()

class ClassWithProperty(AbstractClassWithAbstractAttribute)
  def __init__(self,propvalue=12):
    self.prop = 12
    self.otherprop = "a string"
```


