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.1.tar.gz (26.7 kB view details)

Uploaded Source

Built Distribution

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

globus_action_provider_tools-0.10.1-py3-none-any.whl (33.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: globus-action-provider-tools-0.10.1.tar.gz
  • Upload date:
  • Size: 26.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.9 CPython/3.8.2 Linux/5.4.0-47-generic

File hashes

Hashes for globus-action-provider-tools-0.10.1.tar.gz
Algorithm Hash digest
SHA256 1e5e6417c2d437ff55aa94f21b0c7dc423f9479b72344c4bdc1b16a7314fec33
MD5 fadb92c40cc030ade199e64b674062c9
BLAKE2b-256 990e29e58d5ffa3b11e5d6fcd5b966d980880eced3d880543d112f561c04bb79

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for globus_action_provider_tools-0.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9a3690d8b3a58ce8bab3f03f869a6e1e64fb67c36fd7a4356bceb344d4d42a0d
MD5 95f9c11b7c62b27d29af096af12fffa3
BLAKE2b-256 70943d609a201ca51c7b667a051723679728c5c1cae8800f8795f68e780215c4

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