23 releases
0.6.8 | Feb 27, 2025 |
---|---|
0.6.6 | Nov 1, 2024 |
0.5.5 | Mar 26, 2024 |
0.5.1 | Nov 5, 2023 |
0.1.1 | Nov 30, 2022 |
#63 in Geospatial
389 downloads per month
Used in 3 crates
3.5MB
346 lines
Multi languages binding for cities.json
[!NOTE]
It's used for geo related benchmarks, not for production usages.
-
Rust: https://crates.io/crates/cities-json
cargo add cities-json
use cities_json::CITIES; println!("first {:?}", CITIES.get(0).unwrap().name);
-
Python: https://pypi.org/project/citiespy/
pip install citiespy
from citiespy import all_cities, random_city city = random_city() print(city) cities = all_cities() print(len(cities))
LICENSE
This project is open sourced under The Unlicense.
The dataset, cities.json
, created created by lutangar and is licensed under Creative Commons Attribution 4.0 International