Skip to main content

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 the base toolkit with pip install globus_action_provider_tools

You can then import the toolkit’s standalone components from globus_action_provider_tools. This is useful in instances where you want to use pieces of the library to perform a function (such as token validation via the TokenChecker or API schema validation via the ActionStatus or ActionRequest) and plug into other web frameworks.

from flask import Flask
from globus_action_provider_tools import 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": "Example 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"],
)

To install the Flask helpers as well for use specifically in developing Flask based Action Providers, install this library using pip install globus_action_provider_tools[flask]

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!

To get started, you’ll need to clone the repository and run make install to install the package and its dependencies locally in a virtual environment (.venv/).

Next, activate the virtual environment:

$ source .venv/bin/activate

And that’s it, you’re ready to dive in and make code changes. Run make test to validate there are no breaking changes introduced. Once you feel your work is ready to be submitted, feel free to create a PR.

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.17.0.tar.gz (32.3 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.17.0-py3-none-any.whl (40.7 kB view details)

Uploaded Python 3

File details

Details for the file globus_action_provider_tools-0.17.0.tar.gz.

File metadata

  • Download URL: globus_action_provider_tools-0.17.0.tar.gz
  • Upload date:
  • Size: 32.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.9 Linux/6.5.0-1017-azure

File hashes

Hashes for globus_action_provider_tools-0.17.0.tar.gz
Algorithm Hash digest
SHA256 9235ca22e0e83e9730ad26f0a8aa758ac1987491b2aaa9336bab2cf99ebdd0dc
MD5 5193525dcbba88da6efe849bdd88f4fc
BLAKE2b-256 bab45ffed644e38beb282835e797706b33b62e79770aa9fb04f6d6cc7add4097

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for globus_action_provider_tools-0.17.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0ddbfd20ff0f984807f2d29f62227611d8619d9d24c74ab7e8001971c80a6bb5
MD5 a468f7515843b926936ef26a13025954
BLAKE2b-256 4d16259b455598cb7686fc8ad602b2707cebc5ff564c04310f87ea94e8c636b4

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