# 🌍 Regions, Districts & Quarters Database
[![PyPI Version](https://img.shields.io/pypi/v/uzbekistan)](https://pypi.org/project/uzbekistan/)
[![Django Version](https://img.shields.io/badge/Django-5.x-green.svg)](https://www.djangoproject.com/)
Full Database of Uzbekistan Regions, Districts & Quarters with
Latin, Cyrillic and Russian versions.
## Insights
Total Regions : 14 <br>
Total Regions/Cities : 205 <br>
Total Towns/Districts : 2,183+ <br>
Last Updated On : 5th June 2022
## Installation
You can install your app via pip:
```shell
pip install uzbekistan
```
Add it to your Django project's INSTALLED_APPS:
```python3
INSTALLED_APPS = [
# ...
'uzbekistan',
]
```
Configure views and models to which feature you want to use in your project.
You can enable/disable models and views for regions, districts and villages.
```python3
UZBEKISTAN = {
'models': {
'region': True,
'district': True,
'village': False,
},
'views': {
'region': True,
'district': True,
'village': False,
}
}
```
Include URL Configuration in the Project's urls.py
```python3
urlpatterns = [
# ...
path('', include('uzbekistan.urls'), name='uzbekistan'),
]
```
Load the data into your database
```shell
python3 manage.py loaddata regions
python3 manage.py loaddata districts
```
## Change logs
A new version available that includes many updates.
- Added **Villages** to the database
- Added Dynamic **URLs** for all models
- Added Dynamic **Views** for all models
- Added **Models** to Django Admin panel
- English translations added to **Region**
## Suggestions / Feedbacks
```
Suggestions & Feedbacks are Most Welcome
```
That's all Folks. Enjoy😊!
Raw data
{
"_id": null,
"home_page": "https://github.com/ganiyevuz/uzbekistan",
"name": "uzbekistan",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "",
"keywords": "uzbekistan regions districts",
"author": "Jakhongir Ganiev",
"author_email": "ganiyevuzb@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/66/11/ab3ef1851fbc4755015b26f1fc931e3f17598353b380415651292bd809be/uzbekistan-2.7.2.tar.gz",
"platform": null,
"description": "# \ud83c\udf0d Regions, Districts & Quarters Database\n\n[![PyPI Version](https://img.shields.io/pypi/v/uzbekistan)](https://pypi.org/project/uzbekistan/)\n[![Django Version](https://img.shields.io/badge/Django-5.x-green.svg)](https://www.djangoproject.com/)\n\nFull Database of Uzbekistan Regions, Districts & Quarters with\nLatin, Cyrillic and Russian versions.\n\n## Insights\n\nTotal Regions : 14 <br>\nTotal Regions/Cities : 205 <br>\nTotal Towns/Districts : 2,183+ <br>\n\nLast Updated On : 5th June 2022\n\n## Installation\n\nYou can install your app via pip:\n\n```shell\npip install uzbekistan\n```\n\nAdd it to your Django project's INSTALLED_APPS:\n\n```python3\n\nINSTALLED_APPS = [\n # ...\n 'uzbekistan',\n]\n```\n\nConfigure views and models to which feature you want to use in your project.\nYou can enable/disable models and views for regions, districts and villages.\n\n```python3\nUZBEKISTAN = {\n 'models': {\n 'region': True,\n 'district': True,\n 'village': False,\n },\n 'views': {\n 'region': True,\n 'district': True,\n 'village': False,\n }\n}\n```\n\nInclude URL Configuration in the Project's urls.py\n\n```python3\nurlpatterns = [\n # ...\n path('', include('uzbekistan.urls'), name='uzbekistan'),\n]\n```\n\nLoad the data into your database\n\n```shell\npython3 manage.py loaddata regions\npython3 manage.py loaddata districts\n```\n\n## Change logs\n\nA new version available that includes many updates.\n\n- Added **Villages** to the database\n- Added Dynamic **URLs** for all models\n- Added Dynamic **Views** for all models\n- Added **Models** to Django Admin panel\n- English translations added to **Region**\n\n## Suggestions / Feedbacks\n\n```\nSuggestions & Feedbacks are Most Welcome\n```\n\nThat's all Folks. Enjoy\ud83d\ude0a!\n",
"bugtrack_url": null,
"license": "",
"summary": "Full Database of Uzbekistan Regions, Districts & Quarters with Latin, Cyrillic and Russian versions.",
"version": "2.7.2",
"project_urls": {
"Homepage": "https://github.com/ganiyevuz/uzbekistan"
},
"split_keywords": [
"uzbekistan",
"regions",
"districts"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4adbabe6f576852c7f6c4076886b2087afdfb4893cad1818e991ea420a932372",
"md5": "434f92646eefcee6d24cd2fcaa4b6fba",
"sha256": "5d41e994829dd42e2a26e13a94ece8477260d452c4e3d51700c2ace7711d559d"
},
"downloads": -1,
"filename": "uzbekistan-2.7.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "434f92646eefcee6d24cd2fcaa4b6fba",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 20704,
"upload_time": "2024-01-31T09:55:31",
"upload_time_iso_8601": "2024-01-31T09:55:31.145518Z",
"url": "https://files.pythonhosted.org/packages/4a/db/abe6f576852c7f6c4076886b2087afdfb4893cad1818e991ea420a932372/uzbekistan-2.7.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6611ab3ef1851fbc4755015b26f1fc931e3f17598353b380415651292bd809be",
"md5": "41f07e70dc3451bc19fd35ac60bd50ec",
"sha256": "da754b6f3dcfbda9c23c46a2904ba37f7f884195e120b57ed5d5b4bbd2c903b9"
},
"downloads": -1,
"filename": "uzbekistan-2.7.2.tar.gz",
"has_sig": false,
"md5_digest": "41f07e70dc3451bc19fd35ac60bd50ec",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 16520,
"upload_time": "2024-01-31T09:55:33",
"upload_time_iso_8601": "2024-01-31T09:55:33.181533Z",
"url": "https://files.pythonhosted.org/packages/66/11/ab3ef1851fbc4755015b26f1fc931e3f17598353b380415651292bd809be/uzbekistan-2.7.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-31 09:55:33",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ganiyevuz",
"github_project": "uzbekistan",
"github_not_found": true,
"lcname": "uzbekistan"
}