Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

EnclaveSDK

Described below is the EscrowAI Enclave API that provides functionality inside a BeeKeeperAI environment. Included are data engineering endpoints and reporting endpoints.

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 2.1.5
  • Package version: 2.1.5.dev55177
  • Generator version: 7.17.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python 3.9+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import EnclaveSDK

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import EnclaveSDK

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import EnclaveSDK
from EnclaveSDK.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://sandbox.dev.escrow.beekeeperai.com
# See configuration.py for a list of all supported configuration parameters.
configuration = EnclaveSDK.Configuration(
    host="http://sandbox.dev.escrow.beekeeperai.com"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure Bearer authorization (JWT): BearerAuth
configuration = EnclaveSDK.Configuration(access_token=os.environ["BEARER_TOKEN"])


# Enter a context with an instance of the API client
with EnclaveSDK.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = EnclaveSDK.AuthApi(api_client)
    auth_request = EnclaveSDK.AuthRequest()  # AuthRequest |

    try:
        # Authenticate and return server configuration
        api_response = api_instance.api_v1_auth_post(auth_request)
        print("The response of AuthApi->api_v1_auth_post:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling AuthApi->api_v1_auth_post: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://sandbox.dev.escrow.beekeeperai.com

Class Method HTTP request Description
AuthApi api_v1_auth_post POST /api/v1/auth Authenticate and return server configuration
DataApi api_v1_data_file_get GET /api/v1/data/file Retrieve a file by its filename and optionally SASUrl as a get request
DataApi api_v1_data_file_post POST /api/v1/data/file Retrieve a file by its filename and optionally SASUrl as a post request
DataApi api_v1_data_files_get GET /api/v1/data/files Retrieve a list of available files
DataApi api_v1_data_sql_select_post POST /api/v1/data/sql/select Execute a SQL query
EscrowApi api_v1_ping_attestation_get GET /api/v1/ping/attestation Ping attestation authority
EscrowApi api_v1_ping_drain_get GET /api/v1/ping/drain Check if EnclaveAPI is fully drained and safe to shutdown
EscrowApi api_v1_ping_enclave_get GET /api/v1/ping/enclave Ping to check if the enclave API is up
EscrowApi api_v1_ping_escrow_get GET /api/v1/ping/escrow Ping to check if the backend Escrow service is up
EscrowApi api_v1_ping_kms_get GET /api/v1/ping/kms Ping key manager
LogApi api_v1_log_post POST /api/v1/log Post log data
MlflowApi api20_mlflow_artifacts_artifact_path_delete DELETE /api/2.0/mlflow-artifacts/{artifactPath} Proxy DELETE request to MLflow Artifacts
MlflowApi api20_mlflow_artifacts_artifact_path_get GET /api/2.0/mlflow-artifacts/{artifactPath} Proxy GET request to MLflow Artifacts
MlflowApi api20_mlflow_artifacts_artifact_path_patch PATCH /api/2.0/mlflow-artifacts/{artifactPath} Proxy PATCH request to MLflow Artifacts
MlflowApi api20_mlflow_artifacts_artifact_path_post POST /api/2.0/mlflow-artifacts/{artifactPath} Proxy POST request to MLflow Artifacts
MlflowApi api20_mlflow_artifacts_artifact_path_put PUT /api/2.0/mlflow-artifacts/{artifactPath} Proxy PUT request to MLflow Artifacts
MlflowApi api20_mlflow_proxy_path_delete DELETE /api/2.0/mlflow/{proxyPath} Proxy DELETE request to MLflow
MlflowApi api20_mlflow_proxy_path_get GET /api/2.0/mlflow/{proxyPath} Proxy GET request to MLflow
MlflowApi api20_mlflow_proxy_path_patch PATCH /api/2.0/mlflow/{proxyPath} Proxy PATCH request to MLflow
MlflowApi api20_mlflow_proxy_path_post POST /api/2.0/mlflow/{proxyPath} Proxy POST request to MLflow
MlflowApi api20_mlflow_proxy_path_put PUT /api/2.0/mlflow/{proxyPath} Proxy PUT request to MLflow
ReportApi api_v1_report_artifact_post POST /api/v1/report/artifact Upload a report artifact (image or video)
ReportApi api_v1_report_post POST /api/v1/report Post a valid report
ReportApi api_v1_validate_post POST /api/v1/validate Validate a report
RunApi api_v1_algorithm_status_post POST /api/v1/algorithm/status Log the status of an algorithm execution
WritebackApi api_v1_writeback_file_delete DELETE /api/v1/writeback/file Delete a writeback file
WritebackApi api_v1_writeback_file_get GET /api/v1/writeback/file Retrieve a writeback file
WritebackApi api_v1_writeback_file_post POST /api/v1/writeback/file Create a writeback file
WritebackApi api_v1_writeback_file_put PUT /api/v1/writeback/file Upsert a writeback file
WritebackApi api_v1_writeback_files_get GET /api/v1/writeback/files Retrieve a list of available writeback files

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

BearerAuth

  • Type: Bearer authentication (JWT)

Author

engineering@beekeeperai.com

Metadata

Release files for EnclaveSDK 2.1.5.dev55177

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for EnclaveSDK 2.1.5.dev55177
File Interpreter ABI Platform
enclavesdk-2.1.5.dev55177-py3-none-any.whl Python 3 none any Details

Release files / enclavesdk-2.1.5.dev55177-py3-none-any.whl

Download URL enclavesdk-2.1.5.dev55177-py3-none-any.whl
Size 80.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5bd303df907103edd87d051bfb37f4eab5aad9a78a5954ba40c872725c54d75c
BLAKE2b-256 checksum
How to use checksums
307dc789f08c9fb66258b0f72115bd4f10a1094459ae5db6174cd7ec3d1fac2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for EnclaveSDK 2.1.5.dev55177

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page