Releases: yaph/geonamescache
Releases · yaph/geonamescache
Release 2.0.0
- More consistent behavior of
search_cities
function. By default the attribute value is search for partial matches and search is performed case insensitive. This is different from the previous behavior, where list values were treated differently from string values and search was case sensitive by default. See issue 38. The new behavior was implemented by Chris Pigden @pigden. - Update geo data.
Release 1.6.0
- Update GeoNames data
- Fix data test name, contributed by @m-gaster
Release 1.5.0
- Use
os
module andopen
function in_load_data
instead ofimportlib.resources
for compatibilty with Python 3.8, implemented by Benny Elgazar @Bennyelg
Release 1.4.0
- Include 4 different sized city datasets, that can be accessed via the new
min_city_population
parameter when creating aGeonamesCache
class object.
Release 1.3.0
- Add case_sensitive parameter in the search_cities function and the functionality to do case insensitive search implemented by Chris Pigden @pigden
- Update geo data
- Upgrade dependencies
- Only support currently supported Python version 3.7, 3.8, 3.9, i.e. no more Python 2.7 support
Release 1.2.0
- Add
alternatenames
attribute to entries in cities.json with a list of alternate city names. - Add
search_cities
function which returns a list of entries that include the query in given attribute.
Release 1.1.0
Adds admin1code to cities.json. Thanks to Matt Webb (@genmon) for adding this feature.