faker.providers.geoΒΆ

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

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

fake.latlng()
# (Decimal('-47.0141935'), Decimal('179.297091'))

fake.local_latlng(country_code="US", coords_only=False)
# ('44.73941', '-93.12577', 'Rosemount', 'US', 'America/Chicago')

fake.location_on_land(coords_only=False)
# ('43.78956', '7.60872', 'Ventimiglia', 'IT', 'Europe/Rome')

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