Python: module phonenumbers.phonemetadata

phonenumbers.phonemetadata | index phonenumbers/phonemetadata.py

`PhoneMetadata object definitions`

Modules
`` |  |
threading |  |  |

Classes
`` |  | phonenumbers.util.ImmutableMixin(builtins.object) NumberFormat(phonenumbers.util.UnicodeMixin, phonenumbers.util.ImmutableMixin) PhoneMetadata(phonenumbers.util.UnicodeMixin, phonenumbers.util.ImmutableMixin) PhoneNumberDesc(phonenumbers.util.UnicodeMixin, phonenumbers.util.ImmutableMixin) phonenumbers.util.UnicodeMixin(builtins.object) NumberFormat(phonenumbers.util.UnicodeMixin, phonenumbers.util.ImmutableMixin) PhoneMetadata(phonenumbers.util.UnicodeMixin, phonenumbers.util.ImmutableMixin) PhoneNumberDesc(phonenumbers.util.UnicodeMixin, phonenumbers.util.ImmutableMixin)
class NumberFormat(phonenumbers.util.UnicodeMixin, phonenumbers.util.ImmutableMixin)
`` | `NumberFormat(*__args, **__kwargs) Representation of way that a phone number can be formatted for output`
| Method resolution order: NumberFormat phonenumbers.util.UnicodeMixin phonenumbers.util.ImmutableMixin builtins.object Methods defined here: __eq__(self, other) `Return self==value.` __init__ = wrapper(self, *__args, **__kwargs) __ne__(self, other) `Return self!=value.` __repr__(self) `Return repr(self).` __unicode__(self) merge_from(self, other) `Merge information from another NumberFormat object into this one.` Data and other attributes defined here: __hash__ = None Methods inherited from phonenumbers.util.UnicodeMixin: __str__(self) `Return str(self).` Data descriptors inherited from phonenumbers.util.UnicodeMixin: __dict__ `dictionary for instance variables (if defined)` __weakref__ `list of weak references to the object (if defined)` Methods inherited from phonenumbers.util.ImmutableMixin: __delattr__(self, name) `Implement delattr(self, name).` __setattr__(self, name, value) `Implement setattr(self, name, value).`
class PhoneMetadata(phonenumbers.util.UnicodeMixin, phonenumbers.util.ImmutableMixin)
`` | `PhoneMetadata(*__args, **__kwargs) Class representing metadata for international telephone numbers for a region. This class is hand created based on phonemetadata.proto. Please refer to that file for detailed descriptions of the meaning of each field. WARNING: This API isn't stable. It is considered libphonenumber-internal and can change at any time. We only declare it as public for easy inclusion in our build tools not in this package. Clients should not refer to this file, we do not commit to support backwards-compatibility or to warn about breaking changes.`
| Method resolution order: PhoneMetadata phonenumbers.util.UnicodeMixin phonenumbers.util.ImmutableMixin builtins.object Methods defined here: __eq__(self, other) `Return self==value.` __init__ = wrapper(self, *__args, **__kwargs) __ne__(self, other) `Return self!=value.` __repr__(self) `Return repr(self).` __unicode__(self) Class methods defined here: load_all() from builtins.type `Force immediate load of all metadata` metadata_for_nongeo_region(country_code, default=None) from builtins.type metadata_for_region(region_code, default=None) from builtins.type metadata_for_region_or_calling_code(country_calling_code, region_code) from builtins.type register_nongeo_region_loader(country_code, loader) from builtins.type register_region_loader(region_code, loader) from builtins.type register_short_region_loader(region_code, loader) from builtins.type short_metadata_for_region(region_code, default=None) from builtins.type Data and other attributes defined here: __hash__ = None Methods inherited from phonenumbers.util.UnicodeMixin: __str__(self) `Return str(self).` Data descriptors inherited from phonenumbers.util.UnicodeMixin: __dict__ `dictionary for instance variables (if defined)` __weakref__ `list of weak references to the object (if defined)` Methods inherited from phonenumbers.util.ImmutableMixin: __delattr__(self, name) `Implement delattr(self, name).` __setattr__(self, name, value) `Implement setattr(self, name, value).`
class PhoneNumberDesc(phonenumbers.util.UnicodeMixin, phonenumbers.util.ImmutableMixin)
`` | `PhoneNumberDesc(*__args, **__kwargs) Class representing the description of a set of phone numbers.`
| Method resolution order: PhoneNumberDesc phonenumbers.util.UnicodeMixin phonenumbers.util.ImmutableMixin builtins.object Methods defined here: __eq__(self, other) `Return self==value.` __init__ = wrapper(self, *__args, **__kwargs) __ne__(self, other) `Return self!=value.` __repr__(self) `Return repr(self).` __unicode__(self) merge_from(self, other) `Merge information from another PhoneNumberDesc object into this one.` Data and other attributes defined here: __hash__ = None Methods inherited from phonenumbers.util.UnicodeMixin: __str__(self) `Return str(self).` Data descriptors inherited from phonenumbers.util.UnicodeMixin: __dict__ `dictionary for instance variables (if defined)` __weakref__ `list of weak references to the object (if defined)` Methods inherited from phonenumbers.util.ImmutableMixin: __delattr__(self, name) `Implement delattr(self, name).` __setattr__(self, name, value) `Implement setattr(self, name, value).`

Data
`` |  | REGION_CODE_FOR_NON_GEO_ENTITY = '001'