Skip to main content

OpenPluginSDK

The OpenPlugin SDK for python is a powerful and versatile toolkit designed to streamline the integration and consumption of OpenPlugin API services. This SDK empowers developers to effortlessly leverage the capabilities of the OpenPlugin ecosystem, promoting rapid development.

Currently available in preview mode. Try it out today!

Getting started

  1. Install the package from pypi:
pip install openplugin-sdk

Note: You need openplugin service API to run openplugin sdk

  1. Setup openplugin service:
remote_server_endpoint = "...."
openplugin_api_key = "...."
svc = OpenpluginService(
        remote_server_endpoint=remote_server_endpoint, api_key=openplugin_api_key
)
  1. Run openplugin
openplugin_manifest_url = "...."
prompt = "..."
output_module_name="..."

response = svc.run(
        openplugin_manifest_url=openplugin_manifest_url,
        prompt=prompt,
        output_module_names=[output_module_name],
)
print(f"Response={response.value}")

Starting openplugin service locally

  1. Install the package from pypi:
pip install openplugin
  1. Start openplugin service
export OPENAI_API_KEY=<your key>
openplugin start-server

Note: Learn more about openplugin at: https://openplugin.org/

Examples

Several samples to run an openplugin can be found in the examples folder

Metadata

Release files for openplugin-sdk 0.1.5

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

Source distribution (sdist)

Source distribution for openplugin-sdk 0.1.5
File Size Uploaded Provenance Actions
openplugin_sdk-0.1.5.tar.gz 3.3 kB Without provenance Details for openplugin_sdk-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for openplugin-sdk 0.1.5
File Interpreter ABI Platform Actions
openplugin_sdk-0.1.5-py3-none-any.whl Python 3 none any Details for openplugin_sdk-0.1.5-py3-none-any.whl

Total release size: 7.4 kB

Release files / openplugin_sdk-0.1.5.tar.gz

Download URL openplugin_sdk-0.1.5.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c3626c9429bf2eca35c85fbe72c9214bc7ce7dfe8a1cc518b563530318f4320e
BLAKE2b-256 checksum
How to use checksums
c2b273d03a08fd0849498fa2a42a08ba4990c35a46d0fff0cfe642d258b71a81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.0 CPython/3.10.12 Linux/6.5.0-1016-azure

Release files / openplugin_sdk-0.1.5-py3-none-any.whl

Download URL openplugin_sdk-0.1.5-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9af0e597012a90099537c417569e109824ab2513c9bfc57d8f8cd872e4e399a1
BLAKE2b-256 checksum
How to use checksums
6f1f626049e65a23b9c3e018e5caa6fb2129354da236c8983b5bd3b10e620e9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.0 CPython/3.10.12 Linux/6.5.0-1016-azure

Security for openplugin-sdk 0.1.5

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.

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