Skip to main content

Python SDK for Blue Brain Nexus v1.

Project description

Status | Getting Started | Upgrade | Releases | Contributing

Nexus Python SDK

Python SDK for Blue Brain Nexus v1.


Status

Beta.

Getting Started

Usage

import nexussdk as nexus

nexus.config.set_environment(DEPLOYMENT)
nexus.config.set_token(TOKEN)

nexus.permissions.fetch()

More examples in the folder notebooks and tests.

Documentation: https://bluebrain.github.io/nexus-python-sdk/.

Installation

pip install nexus-sdk

Development version

pip install git+https://github.com/BlueBrain/nexus-python-sdk

Development mode

git clone https://github.com/bluebrain/nexus-python-sdk
pip install --editable nexus-python-sdk

Requirements

Upgrade

pip install --upgrade nexus-sdk

Releases

Versions and their notable changes are listed in the releases section.

Contributing

Styling

Follow PEP 20, PEP 8, and PEP 257, at least.

Documentation

The documentation is auto-generated with Sphinx. To install it:

pip install nexus-sdk[doc]

Update

To add a new module to the API Reference, add the corresponding section in the files admin-reference.rst, kg-reference.rst, or iam-reference.rst which are in the directory docs-sources/sphix/source/.

Generate

cd docs-source/sphinx
make html

Deploy

cp -R build/html/ ../../docs/

Releasing

Setup

pip install --upgrade pip setuptools wheel twine

Tagging

git checkout master
git pull upstream master
git tag -a v<x>.<y>.<z> HEAD
git push upstream v<x>.<y>.<z>

Building

python setup.py sdist bdist_wheel

Upload

twine upload dist/*

Cleaning

rm -R build dist *.egg-info

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nexus-sdk-0.3.2.tar.gz (369.9 kB view details)

Uploaded Source

Built Distribution

nexus_sdk-0.3.2-py3-none-any.whl (45.1 kB view details)

Uploaded Python 3

File details

Details for the file nexus-sdk-0.3.2.tar.gz.

File metadata

  • Download URL: nexus-sdk-0.3.2.tar.gz
  • Upload date:
  • Size: 369.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

File hashes

Hashes for nexus-sdk-0.3.2.tar.gz
Algorithm Hash digest
SHA256 cd5668a062283410c5ff57a68c218440df607da84e0a813a8c9390611f7212b3
MD5 98b8240bdde520c31bead31d256b37b1
BLAKE2b-256 2a2170acfcbbffa4908bcfbad23d66be626a0814e80c35c6a725d2509be0206f

See more details on using hashes here.

File details

Details for the file nexus_sdk-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: nexus_sdk-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 45.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

File hashes

Hashes for nexus_sdk-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5dd288515a3949035803511a195151c252243d3b097e1586d9efd28a227739e2
MD5 5e35c4b397638981fb12e4202e4a3d3f
BLAKE2b-256 1d0c354868778a580be31151dbb3ab6b309cc790523ba73021264dff1e789a72

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page