用于Blue Brain Nexus v1的Python sdk。
nexus-sdk的Python项目详细描述
Status| Getting Started| Upgrade| Releases| Contributing
nexus python sdk
用于Blue Brain Nexusv1的python sdk。
状态
贝塔。
开始
使用量
importnexussdkasnexusnexus.config.set_environment(DEPLOYMENT)nexus.config.set_token(TOKEN)nexus.permissions.fetch()
文档:https://bluebrain.github.io/nexus-python-sdk/。
安装
pip install nexus-sdk
开发版本
pip install git+https://github.com/BlueBrain/nexus-python-sdk
开发模式
git clone https://github.com/bluebrain/nexus-python-sdk pip install --editable nexus-python-sdk
要求
升级
pip install --upgrade nexus-sdk
释放量
版本及其显著变化列在releases section中。
贡献
造型
文件
文档是用Sphinx自动生成的。 要安装它:
pip install nexus-sdk[doc]
更新
要向api引用添加新模块,请在
文件admin-reference.rst
,kg-reference.rst
,或iam-reference.rst
,其中
在目录docs-sources/sphix/source/
中。
生成
cd docs-source/sphinx
make html
deploy
cp -R build/html/ ../../docs/
释放
设置
pip install --upgrade pip setuptools wheel twine
标记
git checkout master git pull upstream master git tag -a v<x>.<y>.<z> HEAD git push upstream v<x>.<y>.<z>
建筑
python setup.py sdist bdist_wheel
上传
twine upload dist/*
清洁
rm -R build dist *.egg-info