Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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)

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!