{"id":19874111,"url":"https://github.com/pythoninthegrass/cooling_centers","last_synced_at":"2025-09-16T13:21:27.925Z","repository":{"id":246984284,"uuid":"824762814","full_name":"pythoninthegrass/cooling_centers","owner":"pythoninthegrass","description":"Python project to aggregate US Cooling centers","archived":false,"fork":false,"pushed_at":"2025-06-09T21:36:17.000Z","size":376,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-14T22:58:12.099Z","etag":null,"topics":["edgedb","folium","graphql","python"],"latest_commit_sha":null,"homepage":"http://coolingcenters.us/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pythoninthegrass.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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-07-05T22:16:36.000Z","updated_at":"2025-06-09T21:35:23.000Z","dependencies_parsed_at":"2024-07-19T23:30:23.769Z","dependency_job_id":null,"html_url":"https://github.com/pythoninthegrass/cooling_centers","commit_stats":null,"previous_names":["pythoninthegrass/cooling_centers"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/pythoninthegrass/cooling_centers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythoninthegrass%2Fcooling_centers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythoninthegrass%2Fcooling_centers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythoninthegrass%2Fcooling_centers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythoninthegrass%2Fcooling_centers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pythoninthegrass","download_url":"https://codeload.github.com/pythoninthegrass/cooling_centers/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythoninthegrass%2Fcooling_centers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275424686,"owners_count":25462331,"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","status":"online","status_checked_at":"2025-09-16T02:00:10.229Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["edgedb","folium","graphql","python"],"created_at":"2024-11-12T16:21:47.112Z","updated_at":"2025-09-16T13:21:27.918Z","avatar_url":"https://github.com/pythoninthegrass.png","language":"Python","readme":"# Oklahoma Cooling Centers\n\nOriginally a fork of [Oklahoma Cooling Centers](https://github.com/alex-code4okc/oklahoma_cooling_centers_python), now it's a standalone repo that aims to aggregate all public cooling centers in the United States.\n\nShoutout to [Alex Ayon](https://github.com/alex-code4okc) for the original local implementation and general idea! 🎉\n\n## Minimum Requirements\n\n* [python3.11+](https://www.python.org/downloads/)\n\n## Recommended Requirements\n\n* [devbox](https://www.jetify.com/devbox/docs/quickstart/)\n\n## Quickstart\n\nThis is just for the map portion. The backend is still in development.\n\n```bash\n# create virtual environment\npython3 -m venv .venv\n\n# activate virtual environment\nsource .venv/bin/activate\n\n# install dependencies\npython3 -m pip install -r requirements.txt\n\n# run script\n./make_map.py\n\n# open map in browser\nopen ./docs/index.html\n\n# deactivate virtual environment\ndeactivate\n```\n\n## Development\n\n### Read PDF\n\n* ImageMagick is a problem child for `pdftotree` on macOS. Run the following to use `gen_csv.py`:\n\n```bash\n# install imagemagick v6\nbrew uninstall imagemagick\nbrew install imagemagick@6\nbrew unlink imagemagick\nbrew link imagemagick@6 --force\n\n# ~/.bashrc\nexport BREW_PREFIX=$(brew --prefix)\nexport MAGICK_HOME=\"$BREW_PREFIX/opt/imagemagick@6\"\n```\n\n* Run `./bin/gen_csv.py` to generate `./csv/cooling_centers_2024.csv`\n\n### Geocoding\n\n* Open a free Google Cloud Platform account and [setup the Geocoding API](https://developers.google.com/maps/documentation/geocoding/overview)\n* Fill out `.env` with your API key\n* Run `./bin/geocode.py` to append `latitude_longitude` and prepend `city_county` to a CSV file\n  * Needs to be in the `csv` directory\n  * Named with state abbreviation and year (e.g., `ok_cooling_centers_2024.csv`)\n  * Can be set in `.env` as `CSV_FILE`\n\n## TODO\n\nSee [TODO.md](TODO.md) for more details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythoninthegrass%2Fcooling_centers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpythoninthegrass%2Fcooling_centers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythoninthegrass%2Fcooling_centers/lists"}