在OpenStreetMap上查找和验证公园数据。
项目描述
公园查找器
待定
入门指南
要求
Python 3.3+
安装
公园查找器可以使用pip安装
$ pip install ParkFinder
或直接从源代码安装
$ git clone https://github.com/friendlycode/osm-park-finder.git $ cd osm-park-finder $ python setup.py install
基本用法
安装后,可以从包中导入抽象基类
$ python >>> import parks parks.__version__
公园查找器不执行任何操作,它是一个模板。
对于贡献者
要求
构建
Windows: http://cygwin.com/install.html
Linux: https://gnu.ac.cn/software/make (可能已经安装)
virtualenv: https://pypi.python.org/pypi/virtualenv#installation
Graphviz: https://graphviz.cpp.org.cn/Download.php
安装
创建一个virtualenv
$ make env
运行测试
$ make test $ make tests # includes integration tests
构建文档
$ make doc
运行静态分析
$ make pep8 $ make pep257 $ make pylint $ make check # includes all checks
准备发布
$ make dist # dry run $ make upload
变更日志
0.0.0 (2013/10/09)
<更改版本、日期和此文本。>