faker.providers.geo.pt_PT
¶
Package Contents¶
Classes¶
land_coords data extracted from geonames.org, under the Creative Commons Attribution 3.0 License. |
|
land_coords data extracted from geonames.org, under the Creative Commons Attribution 3.0 License. |
- class faker.providers.geo.pt_PT.GeoProvider(generator: Any)¶
Bases:
faker.providers.BaseProvider
land_coords data extracted from geonames.org, under the Creative Commons Attribution 3.0 License. Coordinates are in decimal format for mapping purposes. Country code is in Alpha 2 format (https://www.nationsonline.org/oneworld/country_code_list.htm). Timezones are canonical (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
- land_coords: Tuple[PlaceType, Ellipsis] = (('42.50729', '1.53414', 'les Escaldes', 'AD', 'Europe/Andorra'), ('36.21544', '65.93249',...¶
- coordinate(center: Optional[float] = None, radius: Union[float, int] = 0.001) decimal.Decimal ¶
Optionally center the coord and pick a point within radius.
- latitude() decimal.Decimal ¶
- longitude() decimal.Decimal ¶
- latlng() Tuple[decimal.Decimal, decimal.Decimal] ¶
- class faker.providers.geo.pt_PT.Provider(generator: Any)¶
Bases:
faker.providers.geo.Provider
land_coords data extracted from geonames.org, under the Creative Commons Attribution 3.0 License. Coordinates are in decimal format for mapping purposes. Country code is in Alpha 2 format (https://www.nationsonline.org/oneworld/country_code_list.htm). Timezones are canonical (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
- nationalities = ('Afegã', 'Albanesa', 'Arménia', 'Angolana', 'Argentina', 'Austríaca', 'Australiana',...¶