wikidata.quantity — Quantity

New in version 0.7.0.

class wikidata.quantity.Quantity(amount: float, lower_bound: Optional[float], upper_bound: Optional[float], unit: Optional[wikidata.entity.Entity])

A Quantity value represents a decimal number, together with information about the uncertainty interval of this number, and a unit of measurement.