![](http://ForTheBadge.com/images/badges/made-with-python.svg)
# Hawqal
Python package that contains the data of world's countries,states and their cities name
## Functions
- Get Countries
- Get Cities By State
- Get State By Country
- Get Cities By Country
## Installation Guide
- windows
```python
pip install hawqal
```
- Unix/macOS
```
python3 -m pip install hawqal
```
## Usage/Examples
```python
from hawqal.country import Country
Country.getCountries()
from hawqal.cities import City
City.getCities("countries name", "state")
from hawqal.states import StatesByCountry
StatesByCountry.getStates()
from hawqal.citiesbycountry import CitiesByCountry
CitiesByCountry.getCities("country name")
```
## Success Response
- ['Afghanistan', 'Aland Islands', 'Albania', 'Algeria', . . . ]
- ['Alabama', 'Alaska', 'American Samoa', 'Arizona', . . . ]
## Error Response
- [ ]
## Tech Stack
**Client:** Python 3.10.9
## Authors
- [Capregsoft](https://www.github.com/capregsoft)
- [Husnain Khurshid](https://www.github.com/husnain9)
Raw data
{
"_id": null,
"home_page": "https://github.com/CapregSoft/Hawqal-python.git",
"name": "hawqal-python",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "husnain khurshid,capregsoft,hawqal,world data,states",
"author": "Husnain Khurshid",
"author_email": "muhammadhusnainkh@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/6d/fa/90cc636c0dd144748fb7d2bf538cd504f2db3037803eb71f12b00245fbea/hawqal-python-0.1.5.8.tar.gz",
"platform": null,
"description": "![](http://ForTheBadge.com/images/badges/made-with-python.svg)\r\n\r\n# Hawqal\r\n\r\nPython package that contains the data of world's countries,states and their cities name\r\n\r\n## Functions\r\n\r\n- Get Countries\r\n- Get Cities By State\r\n- Get State By Country\r\n- Get Cities By Country\r\n\r\n## Installation Guide\r\n\r\n- windows\r\n\r\n```python\r\npip install hawqal\r\n\r\n```\r\n\r\n- Unix/macOS\r\n\r\n```\r\npython3 -m pip install hawqal\r\n```\r\n\r\n## Usage/Examples\r\n\r\n```python\r\nfrom hawqal.country import Country\r\nCountry.getCountries()\r\n\r\nfrom hawqal.cities import City\r\nCity.getCities(\"countries name\", \"state\")\r\n\r\nfrom hawqal.states import StatesByCountry\r\nStatesByCountry.getStates()\r\n\r\nfrom hawqal.citiesbycountry import CitiesByCountry\r\nCitiesByCountry.getCities(\"country name\")\r\n\r\n```\r\n\r\n## Success Response\r\n\r\n- ['Afghanistan', 'Aland Islands', 'Albania', 'Algeria', . . . ]\r\n- ['Alabama', 'Alaska', 'American Samoa', 'Arizona', . . . ]\r\n\r\n## Error Response\r\n\r\n- [ ]\r\n\r\n## Tech Stack\r\n\r\n**Client:** Python 3.10.9\r\n\r\n## Authors\r\n\r\n- [Capregsoft](https://www.github.com/capregsoft)\r\n- [Husnain Khurshid](https://www.github.com/husnain9)\r\n",
"bugtrack_url": null,
"license": "",
"summary": "Python package that contains the data of world's countries,states and their cities name",
"version": "0.1.5.8",
"split_keywords": [
"husnain khurshid",
"capregsoft",
"hawqal",
"world data",
"states"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "b72a340f21e2e3635df51775156f13cd",
"sha256": "24a31a7d01b6c632e72ef39079ae345cdb9c56f5a8e85b5c8eba810196d15c64"
},
"downloads": -1,
"filename": "hawqal_python-0.1.5.8-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b72a340f21e2e3635df51775156f13cd",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3551992,
"upload_time": "2022-12-22T12:10:47",
"upload_time_iso_8601": "2022-12-22T12:10:47.593560Z",
"url": "https://files.pythonhosted.org/packages/87/d8/bd54d2bdfd28c36598d2d670ee54153963d728ab7c6727c32f75f6836f17/hawqal_python-0.1.5.8-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "e673c4577aab2fffee09206246650de8",
"sha256": "ecd48d4a1fcb55951adb8954aa95a9fe77a920add6766209cc3e8f23fd75ac9a"
},
"downloads": -1,
"filename": "hawqal-python-0.1.5.8.tar.gz",
"has_sig": false,
"md5_digest": "e673c4577aab2fffee09206246650de8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3541757,
"upload_time": "2022-12-22T12:10:58",
"upload_time_iso_8601": "2022-12-22T12:10:58.890781Z",
"url": "https://files.pythonhosted.org/packages/6d/fa/90cc636c0dd144748fb7d2bf538cd504f2db3037803eb71f12b00245fbea/hawqal-python-0.1.5.8.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-22 12:10:58",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "CapregSoft",
"github_project": "Hawqal-python.git",
"lcname": "hawqal-python"
}