{"id":19862768,"url":"https://github.com/pyunits/pyunit-map","last_synced_at":"2026-01-23T16:35:45.598Z","repository":{"id":57458205,"uuid":"238718892","full_name":"pyunits/pyunit-map","owner":"pyunits","description":"调用地图信息来查询信息","archived":false,"fork":false,"pushed_at":"2020-06-17T11:07:41.000Z","size":41,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-23T07:58:36.949Z","etag":null,"topics":["map","python3"],"latest_commit_sha":null,"homepage":"https://pyunit-map.readthedocs.io/en/latest/pyunit_map.html#module-pyunit_map.baidumap","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/pyunits.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}},"created_at":"2020-02-06T15:22:38.000Z","updated_at":"2021-08-12T10:42:35.000Z","dependencies_parsed_at":"2022-09-09T23:02:30.827Z","dependency_job_id":null,"html_url":"https://github.com/pyunits/pyunit-map","commit_stats":null,"previous_names":["pyunit/pyunit-map"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pyunits/pyunit-map","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyunits%2Fpyunit-map","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyunits%2Fpyunit-map/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyunits%2Fpyunit-map/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyunits%2Fpyunit-map/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyunits","download_url":"https://codeload.github.com/pyunits/pyunit-map/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyunits%2Fpyunit-map/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28695579,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T15:57:05.722Z","status":"ssl_error","status_checked_at":"2026-01-23T15:56:27.656Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["map","python3"],"created_at":"2024-11-12T15:12:38.272Z","updated_at":"2026-01-23T16:35:45.570Z","avatar_url":"https://github.com/pyunits.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **pyUnit-map** [![](https://gitee.com/tyoui/logo/raw/master/logo/photolog.png)][1]\n\n## 地图模块\n[![](https://img.shields.io/badge/Python-3.7-green.svg)](https://pypi.org/project/pyunit-map/)\n[![](https://img.shields.io/badge/百度地图-map-black.svg)](https://map.baidu.com/)\n\n\n### 安装\n    pip install pyunit-map\n\n### 使用百度地图获取信息\n```python\nfrom pyunit_map import BaiDuMap\nif __name__ == '__main__':\n    bd = BaiDuMap('景区', '黔东南苗族侗族自治州')\n    # bd.save_execl('./景区') #保存execl文件\n    print(bd.json) # 打印json格式\n    print(bd.total_data) # 打印整理的所有数据\n```\n\n### 下载某一个省下面所有的景区,比如贵州省\n```python\nfrom pyunit_map import province,BaiDuMap\nif __name__ == '__main__':\n    bd=BaiDuMap()\n    for gz in province.GuiZhou:\n        bd.update_title('景区', gz)\n    bd.save_execl('./贵州下所有的景区')\n```\n\n### 文本结果\n    名字:西江千户苗寨\t坐标:108.179706,26.500228\t地址:贵州省黔东南苗族侗族自治州雷山县黔东南苗族侗族自治州雷山县西江镇南贵村\n    名字:镇远古城水上游\t坐标:108.436202,27.054738\t地址:贵州省黔东南苗族侗族自治州镇远县贵州省黔东南苗族侗族自治州舞阳镇步行街县委对面禹门码头\n    名字:镇远古城\t坐标:108.434873,27.056047\t地址:贵州省黔东南苗族侗族自治州镇远县兴隆街21号\n    名字:肇兴侗寨\t坐标:109.173823,25.912452\t地址:贵州省黔东南苗族侗族自治州黎平县黔东南苗族侗族自治州黎平县202省道肇兴侗寨景区\n    名字:远古城旅游景区\t坐标:108.424327,27.056491\t地址:贵州省黔东南苗族侗族自治州镇远县贵州省黔东南苗族侗族自治州镇远县民主街196附近\n    名字:丹寨万达小镇\t坐标:107.813295,26.204159\t地址:贵州省黔东南苗族侗族自治州丹寨县丹寨县东湖湖畔\n    名字:加榜梯田\t坐标:108.593352,25.608761\t地址:贵州省黔东南苗族侗族自治州从江县从江县加榜乡加车村\n    名字:岜沙苗寨\t坐标:108.874765,25.72667\t地址:贵州省黔东南苗族侗族自治州从江县贵州省黔东南从江县岜沙苗寨\n    名字:凯里苗侗风情园\t坐标:107.982339,26.56171\t地址:贵州省黔东南苗族侗族自治州凯里市黔东南苗族侗族自治州凯里市风情大道\n    名字:青龙洞\t坐标:108.440116,27.055628\t地址:贵州省黔东南苗族侗族自治州镇远县黔东南苗族侗族自治州镇远县周大街\n    名字:黔东南旧州古镇\t坐标:107.78954,26.991758\t地址:贵州省黔东南苗族侗族自治州黄平县西北部\n\n***\n[1]: https://blog.jtyoui.com","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyunits%2Fpyunit-map","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpyunits%2Fpyunit-map","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyunits%2Fpyunit-map/lists"}