Catalog PyPI
PACKAGE EXPLORERView in registry

abc-property

PyPI

Python ABC with a simple @abstract_property decorated checked after instantiation

Versions collected1
Direct dependencies0From release 1.0
Last observed20 Oct, 17:15 UTC

README

Version 1.0 documentation

Better Abstract Basic Classes

Python ABC with a simple @abstract_property decorated checked after instantiation

Entirely based on this StackOverflow answer by 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"

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
1.010 Dec 20200

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
ndeutschmann/better_abc

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 17:15 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:fd73544b993ad31a177dc609efdc38e47eed2056643a4b535bff747b162fe7ca