faker.providers.geoΒΆ

fake.latitude()
# Decimal('16.8029225')

fake.local_latlng(country_code="US", coords_only=False)
# ('42.30865', '-83.48216', 'Canton', 'US', 'America/Detroit')

fake.coordinate(center=None, radius=0.001)
# Decimal('119.941305')

fake.latlng()
# (Decimal('-32.513812'), Decimal('-165.564806'))

fake.location_on_land(coords_only=False)
# ('31.78336', '35.23388', 'East Jerusalem', 'PS', 'Asia/Hebron')

fake.longitude()
# Decimal('37.608197')