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
- Scss
- Domain-style for code structure
- Bundle Size analysis
- Code splitting with react-loadable
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bergen-0.4.75.tar.gz.
File metadata
- Download URL: bergen-0.4.75.tar.gz
- Upload date:
- Size: 69.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.6 Linux/5.8.0-55-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14d369121ab73c71f8dfb25c3ce52ae9083d1e8d0cf29d88c784519f1df309eb
|
|
| MD5 |
ef937180b5750e95b9fcdb87ad3a4def
|
|
| BLAKE2b-256 |
0f50ca90ee0d0b9704e215e231c38adea27e52a400def1b087f9c453b33aa9d8
|
File details
Details for the file bergen-0.4.75-py3-none-any.whl.
File metadata
- Download URL: bergen-0.4.75-py3-none-any.whl
- Upload date:
- Size: 145.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.6 Linux/5.8.0-55-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85d2af73db4bb1fa3e8d16fc3f0736ff981134c240b8ac229411f25ca0f71277
|
|
| MD5 |
032246e98be90b4891a1662aa0ac1642
|
|
| BLAKE2b-256 |
b54d448f8799b420c8e45f31651d709346142f0a71cfaa52f8961f67df198bf5
|