python-chicago:芝加哥元信息和其他有趣的东西

时间:2024-05-24 09:23:35
【文件属性】:

文件名称:python-chicago:芝加哥元信息和其他有趣的东西

文件大小:1.18MB

文件格式:ZIP

更新时间:2024-05-24 09:23:35

Python

python-芝加哥 有关芝加哥及其地理位置的信息。 受启发。 因为有时您只需要遍历芝加哥街区列表即可。 安装 使用pip安装: pip install chicago 用法 遍历社区区域 >>> from chicago import COMMUNITY_AREAS >>> for ca in COMMUNITY_AREAS: ... print(ca.name, ca.number) ... ('Rogers Park', '1') ('West Ridge', '2') ('Uptown', '3') ('Lincoln Square', '4') ('North Center', '5') ('Lake View', '6') ('Lincoln Park', '7') ('Near North Side', '8') ('Edison Park', '9') 按编号获


【文件预览】:
python-chicago-master
----chicago()
--------cook_suburbs()
--------base.py(2KB)
--------neighborhoods.py(735B)
--------tracts.py(2KB)
--------__init__.py(454B)
--------illinois()
--------data()
--------community_areas.py(1KB)
--------precincts.py(2KB)
--------version.py(22B)
----MANIFEST.in(45B)
----requirements-dev.txt(119B)
----setup.py(1KB)
----README.md(3KB)
----tests()
--------test_community_areas.py(939B)
--------test_neighborhoods.py(492B)
----.gitignore(69B)
----fabfile.py(10KB)
----CHANGELOG.md(562B)

网友评论