faker.providers.geoΒΆ

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

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

fake.latlng()
# (Decimal('-50.501232'), Decimal('105.711838'))

fake.local_latlng(country_code="US", coords_only=False)
# ('40.65995', '-111.99633', 'Kearns', 'US', 'America/Denver')

fake.location_on_land(coords_only=False)
# ('25.87972', '-97.50417', 'Heroica Matamoros', 'MX', 'America/Matamoros')

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