Skip to main content

Tools to help developers build services that implement the Action Provider specification.

Project description

CI Status Documentation Status PyPi Package Compatible Python Versions

This is an experimental toolkit to help developers build Action Providers for use in Globus Automate including for invocation via Globus Flows.

As this is experimental, no support is implied or provided for any sort of use of this package. It is published for ease of distribution among those planning to use it for its intended, experimental, purpose.

Basic Usage

Install with pip install globus_action_provider_tools

You can then import the toolkit’s components and helpers from globus_action_provider_tools. For example:

from flask import Flask
from globus_action_provider_tools.data_types import (
    ActionProviderDescription)

# Create an ActionProviderDescription
description = ActionProviderDescription(
    globus_auth_scope="https://auth.globus.org/scopes/00000000-0000-0000-0000-000000000000/action_all",
    title="My Action Provider",
    admin_contact="support@example.org",
    synchronous=True,
    input_schema={
        "$id": "whattimeisitnow.provider.input.schema.json",
        "$schema": "http://json-schema.org/draft-07/schema#",
        "title": "Exmaple Action Provider",
        "type": "object",
        "properties": {"message": {"type": "string"}},
        "required": ["message"],
        "additionalProperties": False,
    },
    api_version="1.0",
    subtitle="Just an example",
    description="",
    keywords=["example", "testing"],
    visible_to=["public"],
    runnable_by=["all_authenticated_users"],
    administered_by=["support@example.org"],
)

Reporting Issues

If you’re experiencing a problem using globus_action_provider_tools, or have an idea for how to improve the toolkit, please open an issue in the repository and share your feedback.

Testing, Development, and Contributing

Welcome and thank you for taking the time to contribute!

The globus_action_provider_tools package is developed using poetry so to get started you’ll need to install poetry. Once installed, clone the repository and run make install to install the package and its dependencies locally in a virtual environment (typically .venv).

And that’s it, you’re ready to dive in and make code changes. Once you’re satisfied with your changes, be sure to run make test and make lint as those need to be passing for us to accept incoming changes. Once you feel your work is ready to be submitted, feel free to create a PR.

Project details


Download files

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

Source Distribution

globus-action-provider-tools-0.10.3.tar.gz (27.6 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file globus-action-provider-tools-0.10.3.tar.gz.

File metadata

File hashes

Hashes for globus-action-provider-tools-0.10.3.tar.gz
Algorithm Hash digest
SHA256 1f8fc773ae56967167f6a69ace8c474256aea46d6225f658e2936038a68a4991
MD5 59b1d2b69a92dbb2f19a6b13aada6498
BLAKE2b-256 d28084f37583e57d3e8c18265aa191e039d5a5e5f4909e8f3a18b19700771632

See more details on using hashes here.

Provenance

File details

Details for the file globus_action_provider_tools-0.10.3-py3-none-any.whl.

File metadata

File hashes

Hashes for globus_action_provider_tools-0.10.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ab2a906395b56deea952c124ab624c1abed26d188f24cabf1fd84df6358a4fd2
MD5 afc53638981baf1b499ea06c5a74ca72
BLAKE2b-256 688ac338d454c2d27afaa5636239950bce96450ce36e11206c5f6ee153aa9d99

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page