IraqAdminDivisions packages: licences for the code and for the embedded data.
======================================================================
1. CODE: MIT License
======================================================================
MIT License
Copyright (c) 2026 Ammar Kamil
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
======================================================================
2. EMBEDDED DATA
======================================================================
The administrative divisions, names and boundaries embedded in these packages
come from the sources below. Free and commercial use is allowed; keep the
attribution.
a) UN OCHA, Common Operational Dataset - Administrative Boundaries (COD-AB)
Iraq, via the Humanitarian Data Exchange
(https://data.humdata.org/dataset/cod-ab-irq).
Licence: Creative Commons Attribution 3.0 IGO (CC BY-IGO 3.0),
https://creativecommons.org/licenses/by/3.0/igo/
The data was modified (corrected, restructured for Halabja Governorate
and the 2024 census, merged with other names, simplified and
re-exported). This is not an official UN or OCHA product.
b) Wikidata (https://www.wikidata.org): Kurdish labels and ISO 3166-2 codes.
Licence: CC0 1.0 (public domain dedication).
c) aryzonedev/iraq-cities (https://github.com/aryzonedev/iraq-cities):
some Kurdish names.
Licence: Creative Commons Attribution 4.0 International (CC BY 4.0),
https://creativecommons.org/licenses/by/4.0/
d) Iraq 2024 census (Central Statistical Organization, COSIT): the names and
hierarchy of the districts and sub-districts OCHA does not list (facts
only; no population figures). Their coordinates come from Wikidata (CC0).
Full details, including pinned source versions:
https://github.com/AKAAmmarKamil/IraqAdminDivisions/blob/main/DATA_LICENSE.md