Skip to main content

A python client to interract with Orchestra systems

Project description

What is it?

A client to connect to an Orchestra system, or any Avial-complient knowledge host.
Orchestra is an opinionated distribution of AvesTerra which comes with a lot of extra convenience.
Orchestra allows for the orchestration of knowledge in a distributed hypergraph

Orchestra documentation can be found at https://docs.ledr.io/

Installation

$ pip install orchestra-toolkit

Example

import os
import avesterra as av

av.initialize("localhost", "/AvesTerra/Certificates/")
auth_str = os.environ["AUTH"]  # Should be a UUID string
auth = av.AvAuthorization(auth_str)

entity = av.create_entity(name="Test entity", key="test_entity", authorization=auth)
print(f"Created entity {entity}")

items = av.get_registry_entries(av.AvEntity(0, 0, 2), auth)

print(f"Taxonomy registry has {len(items)} entries:")
for name, key, entity in items.values():
    print(f"\t{name:<25}[{key + ']':<25}{entity}")

# Output:
# Taxonomy registry has 34 entries:
#    AvesTerra Taxonomy       [AvesTerra]               <0|0|100042>
#    Action Taxonomy          [Action]                  <0|0|100043>
#    Adapter Taxonomy         [Adapter]                 <0|0|100044>
#    Aspect Taxonomy          [Aspect]                  <0|0|100045>
#    Attribute Taxonomy       [Attribute]               <0|0|100046>
#    Category Taxonomy        [Category]                <0|0|100047>
#    Class Taxonomy           [Class]                   <0|0|100048>
#    Condition Taxonomy       [Condition]               <0|0|100049>
#    Constant Taxonomy        [Constant]                <0|0|100050>
#    Context Taxonomy         [Context]                 <0|0|100051>
#    Error Taxonomy           [Error]                   <0|0|100052>
#    Event Taxonomy           [Event]                   <0|0|100053>
#    Format Taxonomy          [Format]                  <0|0|100054>
#    Goal Taxonomy            [Goal]                    <0|0|100055>
#    Installation Taxonomy    [Installation]            <0|0|100056>
#    Language Taxonomy        [Language]                <0|0|100057>
#    Locutor Taxonomy         [Locutor]                 <0|0|100058>
#    Match Taxonomy           [Match]                   <0|0|100059>
#    Method Taxonomy          [Method]                  <0|0|100060>
#    Mode Taxonomy            [Mode]                    <0|0|100061>
#    Model Taxonomy           [Model]                   <0|0|100062>
#    Notice Taxonomy          [Notice]                  <0|0|100063>
#    Operator Taxonomy        [Operator]                <0|0|100064>
#    Pattern Taxonomy         [Pattern]                 <0|0|100065>
#    Percept Taxonomy         [Percept]                 <0|0|100066>
#    Permission Taxonomy      [Permission]              <0|0|100067>
#    Platform Taxonomy        [Platform]                <0|0|100068>
#    Prefix Taxonomy          [Prefix]                  <0|0|100069>
#    Scheme Taxonomy          [Scheme]                  <0|0|100070>
#    State Taxonomy           [State]                   <0|0|100071>
#    Tag Taxonomy             [Tag]                     <0|0|100072>
#    Taxon Taxonomy           [Taxon]                   <0|0|100073>
#    Template Taxonomy        [Template]                <0|0|100074>
#    Unit Taxonomy            [Unit]                    <0|0|100075>

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

orchestra_toolkit-24.2.66-py2.py3-none-any.whl (162.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file orchestra_toolkit-24.2.66-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for orchestra_toolkit-24.2.66-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 69142ddc48947cd2914c0ba2bee50edd553cf284396062faae19dbd107237228
MD5 298ee99027ca60e348646266de6ccbd0
BLAKE2b-256 50aa0c83cdd838d3216fa8ae70fcd5d0781c1b89501f8779e8d998dd3f234d8e

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