Skip to main content

A python client for the Arnheim Framework

Project description

Bergen

Idea

Bergen is the API-Client for the Arnheim Framework

Prerequisites

Bergen only works with a running Arnheim 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

Features

Roadmap

This is considered pre-Alpha so pretty much everything is still on the roadmap

Deployment

Contact the Developer before you plan to deploy this App, it is NOT ready for public release

Versioning

There is not yet a working versioning profile in place, consider non-stable for every release

Authors

  • **Johannes Roos ** - Initial work - jhnnsrs

See also the list of contributors who participated in this project.

License

Attribution-NonCommercial 3.0 Unported (CC BY-NC 3.0)

Acknowledgments

  • EVERY single open-source project this library used (the list is too extensive so far)

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

bergen-0.3.125.tar.gz (57.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bergen-0.3.125-py3-none-any.whl (105.1 kB view details)

Uploaded Python 3

File details

Details for the file bergen-0.3.125.tar.gz.

File metadata

  • Download URL: bergen-0.3.125.tar.gz
  • Upload date:
  • Size: 57.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.6 Linux/5.8.0-44-generic

File hashes

Hashes for bergen-0.3.125.tar.gz
Algorithm Hash digest
SHA256 946d2ff2b58807fde2ef184af5a1cfe4fc9e1d5ac48bb92e609dea3b6f519ff8
MD5 c24c406296bf014dfd6899c147db1900
BLAKE2b-256 473b68d9b84bfd6e82d1071cb450c49568e0b1e66b8cf50820c885703caf98d0

See more details on using hashes here.

File details

Details for the file bergen-0.3.125-py3-none-any.whl.

File metadata

  • Download URL: bergen-0.3.125-py3-none-any.whl
  • Upload date:
  • Size: 105.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.6 Linux/5.8.0-44-generic

File hashes

Hashes for bergen-0.3.125-py3-none-any.whl
Algorithm Hash digest
SHA256 1b2f21c84956f6a7ee36f02e394f2cb95e7b4496f783354e112d41b4d98c444d
MD5 39d8e73b3f5037fb98f5d127712272a3
BLAKE2b-256 ea52a9b456e25cdec10d882fb1c7ee8764b6122a705390f012274051d0eed930

See more details on using hashes here.

Supported by

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