faker.providers.geo.tr_TR
¶
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.tr_TR.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.tr_TR.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).
- land_coords = (('37.003277000000004', '35.3261219', 'Adana', 'TR', 'Europe/Istanbul'), ('37.7640008',...¶