faker.providers.geoΒΆ

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

fake.latitude()
# Decimal('-50.200844')

fake.latlng()
# (Decimal('-62.331722'), Decimal('-113.439215'))

fake.local_latlng(country_code="US", coords_only=False)
# ('40.2737', '-76.88442', 'Harrisburg', 'US', 'America/New_York')

fake.location_on_land(coords_only=False)
# ('14.93333', '-91.11667', 'Chichicastenango', 'GT', 'America/Guatemala')

fake.longitude()
# Decimal('-103.453449')