faker.providers.geoΒΆ

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

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

fake.latlng()
# (Decimal('15.0612675'), Decimal('76.376475'))

fake.local_latlng(country_code="US", coords_only=False)
# ('46.09273', '-88.64235', 'Iron River', 'US', 'America/Menominee')

fake.location_on_land(coords_only=False)
# ('22.4711', '88.1453', 'Pujali', 'IN', 'Asia/Kolkata')

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