用于与viaf数据和api交互的python模块
viap的Python项目详细描述
过盈量Sphinx启动标记不删除用于与“viaf”(虚拟国际
权威文件)数据和API交互的
*viaf viaf via python*
_ viaf:http://viaf.org
**viapy**提供可选的django集成;这目前包括一个
django自动完成光查找视图和一个viaf url小部件。
python 3.5/django 1.11
。图片:https://travis-ci.org/princeton-cdh/viapy.svg?branch=master
:目标:https://travis ci.org/princeton cdh/viapy
:alt:build status
…图片::https://codecov.io/gh/princeton cdh/viapy/branch/master/graph/badge.svg
:目标:https://codecov.io/gh/princeton cdh/viapy/branch/master
:alt:code coverage
图片::https://landscape.io/github/princeton-cdh/viapy/master/landscape.svg?style=flat
:目标:https://landscape.io/github/princeton cdh/viapy/master
:alt:code health
。图片::https://requires.io/github/princeton-cdh/viapy/requirements.svg?branch=master
:目标:https://requires.io/github/princeton-cdh/viapy/requirements/?branch=master
:alt:requirements status
----
使用pip从github安装。使用分支或标记名,例如,
```@develop``或``@1.0``如果要安装特定的标记发行版或分支::
与django一起使用的配置需要附加配置。将“viapy”添加到
已安装的应用程序以及所需的django autocomplete light
模块::
已安装的应用程序=(
…
“dal”、
“dal”、
“dal”、
“viapy”,
…
)
…
]
开发说明
——
此git存储库使用“git flow”分支约定。
_ git-flow:https://github.com/nvie/gitflow
>初始设置和安装:
-推荐:创建并激活python3.5 virtualenv::
virtualenv viapy-p python3.5
source viapy/bin/activate
-pip安装包及其python依赖项::
pip install-e.
pip install-e“[django]”
>单元测试
^^^^^^^^^^^^^^^^^^^^^
>单元测试设置为使用“py.test<;http://doc.pytest.org/>;`
>
-复制示例测试设置并添加一个**密钥**:
>cp ci/testsettingcp ci/test settings.py
>
-要运行测试,请使用配置的set up.py test.py测试命令::
br/>python setup.py test
-或者安装测试需求并直接使用py.test::
py.test
首先安装开发要求:
pip install-e“..[docs]”
,然后使用“docs”目录中的自定义生成文件生成文档:
make html
使用“make docs”更新github页面上已发布的文档。
license
----
**viapy**在apache 2.0许可下分发。
通过
Princeton Docket 18-3449-1授予在标准开源许可下在线分发的许可。所有权转让给Rebecca Koeser提供的软件are
通过开放源码在线分发。
权威文件)数据和API交互的
*viaf viaf via python*
_ viaf:http://viaf.org
**viapy**提供可选的django集成;这目前包括一个
django自动完成光查找视图和一个viaf url小部件。
python 3.5/django 1.11
。图片:https://travis-ci.org/princeton-cdh/viapy.svg?branch=master
:目标:https://travis ci.org/princeton cdh/viapy
:alt:build status
…图片::https://codecov.io/gh/princeton cdh/viapy/branch/master/graph/badge.svg
:目标:https://codecov.io/gh/princeton cdh/viapy/branch/master
:alt:code coverage
图片::https://landscape.io/github/princeton-cdh/viapy/master/landscape.svg?style=flat
:目标:https://landscape.io/github/princeton cdh/viapy/master
:alt:code health
。图片::https://requires.io/github/princeton-cdh/viapy/requirements.svg?branch=master
:目标:https://requires.io/github/princeton-cdh/viapy/requirements/?branch=master
:alt:requirements status
----
使用pip从github安装。使用分支或标记名,例如,
```@develop``或``@1.0``如果要安装特定的标记发行版或分支::
与django一起使用的配置需要附加配置。将“viapy”添加到
已安装的应用程序以及所需的django autocomplete light
模块::
已安装的应用程序=(
…
“dal”、
“dal”、
“dal”、
“viapy”,
…
)
…
]
开发说明
——
此git存储库使用“git flow”分支约定。
_ git-flow:https://github.com/nvie/gitflow
>初始设置和安装:
-推荐:创建并激活python3.5 virtualenv::
virtualenv viapy-p python3.5
source viapy/bin/activate
-pip安装包及其python依赖项::
pip install-e.
pip install-e“[django]”
>单元测试
^^^^^^^^^^^^^^^^^^^^^
>单元测试设置为使用“py.test<;http://doc.pytest.org/>;`
>
-复制示例测试设置并添加一个**密钥**:
>cp ci/testsettingcp ci/test settings.py
>
-要运行测试,请使用配置的set up.py test.py测试命令::
br/>python setup.py test
-或者安装测试需求并直接使用py.test::
首先安装开发要求:
pip install-e“..[docs]”
,然后使用“docs”目录中的自定义生成文件生成文档:
使用“make docs”更新github页面上已发布的文档。
license
----
**viapy**在apache 2.0许可下分发。
通过
Princeton Docket 18-3449-1授予在标准开源许可下在线分发的许可。所有权转让给Rebecca Koeser提供的软件are
通过开放源码在线分发。