{"id":20569977,"url":"https://github.com/lnshuti/pop-density-maps","last_synced_at":"2026-01-08T14:46:09.482Z","repository":{"id":234333337,"uuid":"788680321","full_name":"LNshuti/pop-density-maps","owner":"LNshuti","description":"PopDensity Africa: Explore Interactive Maps!","archived":false,"fork":false,"pushed_at":"2024-06-07T15:08:33.000Z","size":1022,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-06T17:59:03.920Z","etag":null,"topics":["duckdb","gis","streamlit"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LNshuti.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-18T22:01:05.000Z","updated_at":"2024-06-07T15:08:35.000Z","dependencies_parsed_at":"2024-06-07T16:29:18.673Z","dependency_job_id":"e138a67d-506c-4b96-92a9-1793114853d8","html_url":"https://github.com/LNshuti/pop-density-maps","commit_stats":null,"previous_names":["lnshuti/pop-density-maps"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LNshuti%2Fpop-density-maps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LNshuti%2Fpop-density-maps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LNshuti%2Fpop-density-maps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LNshuti%2Fpop-density-maps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LNshuti","download_url":"https://codeload.github.com/LNshuti/pop-density-maps/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246465254,"owners_count":20781919,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["duckdb","gis","streamlit"],"created_at":"2024-11-16T05:10:02.413Z","updated_at":"2026-01-08T14:46:09.455Z","avatar_url":"https://github.com/LNshuti.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Population Density Maps \n[This Gradio Python](https://pop-density-maps.streamlit.app/) application transforms the Colab Notebook developed by Steven Kent into an interactive tool for exploring housing density by country. Users can enter a 3-letter country code from a provided list, and the application will generate a housing density map for the selected country.\n\n## DEMO\nClick the example generated image for Uganda below to view the app demo.\n\n## [![DEMO](images/Uganda.PNG)](https://www.loom.com/share/4917be6878b5402393d43d99d91bf105?sid=d6adaceb-67eb-4a28-a84e-4e44fbfbc312)\n\n## How to clone and run this app on your machine\n\n#### Step 1. Clone this repo\n```python\ngit clone https://github.com/LNshuti/pop-density-maps.git\n```\n#### Step 2: Create an isolated environment to manage dependencies\n```python\ncd pop-density-maps\nconda env create --file=environment.yaml\n```\n#### Step 3: Install the required python packages\n```python\npip install -r requirements.txt \n```\n#### Step 5: Run Python Application\n```python \npython run app.py\n```\n\n## How to deploy the app with Docker\n#### Build the docker image\n```python\ndocker build -t pop-density .\n```\n#### Run the application\n```python\ndocker run --rm -p 8501:8501 --name pop-density-container pop-density \n```\n#### Navigate to the application by typing the following in a web browser\n```python\nhttp://localhost:8501/\n```\n\n## References \n1. **Stephen Kent**. Egypt Buildings. A Google Colab Notebook for Querying S3 Data and build a Map using Python and SQL. https://github.com/kentstephen/egypt_buildings\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnshuti%2Fpop-density-maps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flnshuti%2Fpop-density-maps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnshuti%2Fpop-density-maps/lists"}