faker.providers.geoΒΆ

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

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

fake.latlng()
# (Decimal('-21.5819585'), Decimal('19.403387'))

fake.local_latlng(country_code="US", coords_only=False)
# ('45.16024', '-93.08883', 'Lino Lakes', 'US', 'America/Chicago')

fake.location_on_land(coords_only=False)
# ('43.82634', '144.09638', 'Motomachi', 'JP', 'Asia/Tokyo')

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