{"id":24703046,"url":"https://github.com/jsonzilla/cep_to_geo","last_synced_at":"2025-08-12T06:05:43.226Z","repository":{"id":80800090,"uuid":"389134849","full_name":"jsonzilla/cep_to_geo","owner":"jsonzilla","description":"Query geolocation with base of a brazilian zip code (cep)","archived":false,"fork":false,"pushed_at":"2022-11-11T19:47:18.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T04:27:12.479Z","etag":null,"topics":["cep","geocoding","google-maps","google-maps-api","location","maps","zip-code"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jsonzilla.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"jsonzilla"}},"created_at":"2021-07-24T15:38:38.000Z","updated_at":"2022-06-25T20:58:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"3bac473e-e368-47a7-81e4-faef59682295","html_url":"https://github.com/jsonzilla/cep_to_geo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jsonzilla/cep_to_geo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsonzilla%2Fcep_to_geo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsonzilla%2Fcep_to_geo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsonzilla%2Fcep_to_geo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsonzilla%2Fcep_to_geo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsonzilla","download_url":"https://codeload.github.com/jsonzilla/cep_to_geo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsonzilla%2Fcep_to_geo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270011172,"owners_count":24511896,"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-08-12T02:00:09.011Z","response_time":80,"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":["cep","geocoding","google-maps","google-maps-api","location","maps","zip-code"],"created_at":"2025-01-27T05:51:54.985Z","updated_at":"2025-08-12T06:05:43.217Z","avatar_url":"https://github.com/jsonzilla.png","language":"Python","funding_links":["https://github.com/sponsors/jsonzilla"],"categories":[],"sub_categories":[],"readme":"# cep2geo\n\n Query geolocation with base of a brazilian zip code (cep)\n\n```\n$ python cep2geo.py -i \u003cinputfile\u003e -o \u003coutputfile\u003e\n$ cep2geo_zippopotam.py -i \u003cinputfile\u003e -o \u003coutputfile\u003e\n```\n\n*Only need a cep per line!*\n\nInput a csv file (Cep without hifen!):\n```\n88010000,\"Rua Felipe Schmidt, até 348/349\",Centro,3454,24\n```\n\nOutput a csv file:\n```\n88010000,\"Rua Felipe Schmidt, até 348/349\",Centro,3454,24,-27.5957101,-48.5532068,APPROXIMATE,-27.5924921,-48.5462376,-27.600032,-48.5574976\n```\n\n## Question\nWhy have more information what one latitude and longitude?\nGoogle Maps API return more information.\n\n          \"geometry\" : {\n             \"bounds\" : {\n                \"northeast\" : {\n                   \"lat\" : -27.5848141,\n                   \"lng\" : -48.9514556\n                },\n                \"southwest\" : {\n                   \"lat\" : -27.7738787,\n                   \"lng\" : -49.2029872\n                }\n             },\n             \"location\" : {\n                \"lat\" : -27.6728835,\n                \"lng\" : -49.1019233\n             },\n             \"location_type\" : \"APPROXIMATE\",\n             \"viewport\" : {\n                \"northeast\" : {\n                   \"lat\" : -27.5848141,\n                   \"lng\" : -48.9514556\n                },\n                \"southwest\" : {\n                   \"lat\" : -27.7738787,\n                   \"lng\" : -49.2029872\n                }\n             }\n          },\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsonzilla%2Fcep_to_geo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsonzilla%2Fcep_to_geo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsonzilla%2Fcep_to_geo/lists"}