21 releases
0.6.6 | Nov 1, 2024 |
---|---|
0.6.3 | Sep 14, 2024 |
0.5.5 | Mar 26, 2024 |
0.5.1 | Nov 5, 2023 |
0.1.1 | Nov 30, 2022 |
#50 in Geospatial
500 downloads per month
Used in 2 crates
3.5MB
346 lines
Multi languages binding for cities.json
[!NOTE]
It's used for geo related benchmarks, not for production usages.
- Go: https://pkg.go.dev/github.com/ringsaturn/go-cities.json
- 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.
Upstream data is under Creative Commons Attribution 3.0 License.