Skip to main content

The governing package for modules of the arnheim framework, it provides core features like wards, the event loop and authentication with an oauth provider

Project description

Herre

Idea

Herre is the core library to provide the groundwork for every module of the arkitekt framework,

Prerequisites

Herre only works with a running Oauth Instance (in your network or locally for debugging).

Usage

In order to initialize the Client you need to connect it as a Valid Application with your Arnheim Instance

client = Bergen(host="p-tnagerl-lab1",
    port=8000,
  client_id="APPLICATION_ID_FROM_ARNHEIM", 
  client_secret="APPLICATION_SECRET_FROM_ARNHEIM",
  name="karl",
)

In your following code you can simple query your data according to the Schema of the Datapoint

from bergen.schema import Node

node = Node.objects.get(id=1)
print(node.name)

Access Data from different Datapoints

The Arnheim Framework is able to provide data from different Data Endpoints through a commong GraphQL Interface . This allows you to access data from various different storage formats like Elements and Omero and interact without knowledge of their underlying api.

Each Datapoint provides a typesafe schema. Arnheim Elements provides you with an implemtation of that schema.

Provide a Template for a Node

Documentation neccesary

Testing and Documentation

So far Bergen does only provide limitedunit-tests and is in desperate need of documentation, please beware that you are using an Alpha-Version

Build with

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

herre-0.1.3.tar.gz (15.9 kB view hashes)

Uploaded Source

Built Distribution

herre-0.1.3-py3-none-any.whl (22.5 kB view hashes)

Uploaded Python 3

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