Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mohammad-prb/provinces-and-cities
Countries provinces and cities (JSON and MySQL)
https://github.com/mohammad-prb/provinces-and-cities
cities city composer germany iran json mysql npm package pip province provinces pypi
Last synced: about 6 hours ago
JSON representation
Countries provinces and cities (JSON and MySQL)
- Host: GitHub
- URL: https://github.com/mohammad-prb/provinces-and-cities
- Owner: mohammad-prb
- Created: 2024-12-18T14:56:23.000Z (23 days ago)
- Default Branch: master
- Last Pushed: 2025-01-06T17:03:24.000Z (4 days ago)
- Last Synced: 2025-01-06T18:23:33.615Z (4 days ago)
- Topics: cities, city, composer, germany, iran, json, mysql, npm, package, pip, province, provinces, pypi
- Homepage:
- Size: 20.5 KB
- Stars: 50
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Countries Provinces and Cities (JSON and MySQL)
This project provides data for provinces/states and cities of various countries in **JSON** and **MySQL** formats. Currently, the following countries are included:
- **Iran**: Detailed list of provinces and cities.
- **Germany**: Comprehensive list of federal states (Bundesländer) and their cities.## How to Use
- Use the JSON files for easy integration into your applications.
- Use the MySQL scripts to import the data into your database.
- Install the package using **npm**, **pip** or **composer**.## Install
install [**npm package**](https://github.com/mohammad-prb/provinces-and-cities-npm):
```bash
npm i provinces-and-cities
```install [**PyPI package**](https://github.com/mohammad-prb/provinces-and-cities-pypi):
```bash
pip install provinces-and-cities
```install [**Composer package**](https://github.com/mohammad-prb/provinces-and-cities-composer):
```bash
composer require mohammad-prb/provinces-and-cities-composer
```## Future Plans
The project is designed to be scalable, and we plan to add data for other countries in the future. If you have suggestions for specific countries, feel free to contribute or create an issue.## Contributions
We welcome contributions to expand this project. If you'd like to add data for a new country or improve existing data, please create a pull request.## Support
If this project was helpful, please consider giving it a **star**. Your support helps us grow!