Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

aetechlabs/nigeria-states-lgas-py

Record type:

software
Creator:
aet
Host:
A Python package containing all 36 Nigerian States + FCT and their Local Government Areas (LGAs). # Nigeria States & LGAs (Python Package) A simple Python package containing all **36 Nigerian States + FCT** and their **Local Government Areas (LGAs)**. ## Installation ```bash pip install nigeria-states-lgas ``` ## Usage ```python from nigeria_states_lgas import get_states, get_lgas, get_all, search_lga # List all states print(get_states()) # Get LGAs for a specific state print(get_lgas("Kano")) # Search which state(s) an LGA belongs to print(search_lga("Ikot Ekpene")) # Get the full dataset all_data = get_all() print(all_data["Lagos"]) ``` ## CLI Usage After installing the package a CLI `nigeria-states-lgas` is available: ```bash # List all states nigeria-states-lgas states # List LGAs for a state nigeria-states-lgas lgas Lagos # Fuzzy search for an LGA nigeria-states-lgas search-lga "Dala" --fuzzy # Fuzzy search for states nigeria-states-lgas search-states "Plateu" --fuzzy ``` ## Features - Provides all 36 Nigerian States + FCT. - Lists all Local Government Areas (LGAs) for each state. - Search for any LGA to find which state(s) it belongs to. - Easy integration into Python projects. ## Contributing Contributions are welcome! Please feel free to fork the repo and submit pull requests. ## License This project is licensed under the MIT License. See LICENSE for details.

Visit

github.com

Languages

Anaang

Licenses

MIT

Similar

cjustinobi/vue-nigeria-states-lgasgettosin4me/vue-nigeria-states-lgasLindaDanalyst14/Nigerian-States-and-LGAs-Population-Analysis-Using-MYSQLMichael-py/nigeria-food-price-pipelineRachelJoy92/Visualizing-Population-Distribution-Across-Nigeria-LGAspoppingtonic/afrotalk-py

cjustinobi/vue-nigeria-states-lgas

Vue library that lists Nigeria states and LGAs. # # vue-nigeria-states-lgas Vue library that

gettosin4me/vue-nigeria-states-lgas

Vue library that lists Nigeria states and LGAs. # # vue-nigeria-states-lgas Vue library that lists

LindaDanalyst14/Nigerian-States-and-LGAs-Population-Analysis-Using-MYSQL

This project focuses on cleaning, transforming, normalizing and analyzing Nigeria's State and Local

Michael-py/nigeria-food-price-pipeline

An end-to-end data engineering and machine learning platform for real-time food price monitoring and

RachelJoy92/Visualizing-Population-Distribution-Across-Nigeria-LGAs

This project presents a geospatial analysis of population distribution across Nigeria at the LGA lev

poppingtonic/afrotalk-py

The Africa's Talking REST API, slightly modernized afrotalk-py =========== The Africa's Talking RE