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
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 Distributions
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 orchestra_toolkit-24.2.44-py2.py3-none-any.whl.
File metadata
- Download URL: orchestra_toolkit-24.2.44-py2.py3-none-any.whl
- Upload date:
- Size: 155.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42fc4d9493de1b7d1a572b89937e0f00d501adb8fb49eab8fc5cff3aebad78fd
|
|
| MD5 |
60f2b51c5ab796768b8fe6f2b60e563d
|
|
| BLAKE2b-256 |
968cef386bb938a76b3732d0ef627614432ad239d5bff6b624424dc5b7d6a2eb
|