Skip to main content

Tool Registry Library for Python

Project description

Tool Registry Client Library for Python

GitHub Release GitHub CI GitHub License PyPi

Overview

TBA

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

Requirements.

Python 2.7 and 3.4+

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 toolregistryclient

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 toolregistryclient

Getting Started

Please follow the installation procedure and then run the following:

from __future__ import print_function

import time
import toolregistryclient
from toolregistryclient.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://example.com/api/v1
# See configuration.py for a list of all supported configuration parameters.
configuration = toolregistryclient.Configuration(
    host = "http://example.com/api/v1"
)



# Enter a context with an instance of the API client
with toolregistryclient.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = toolregistryclient.ToolApi(api_client)
    tool = toolregistryclient.Tool() # Tool |

    try:
        # Add a tool
        api_response = api_instance.create_tool(tool)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling ToolApi->create_tool: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://example.com/api/v1

Class Method HTTP request Description
ToolApi create_tool POST /tools Add a tool
ToolApi list_tools GET /tools List the tools in the registry

Documentation For Models

Documentation For Authorization

All endpoints do not require authorization.

Author

thomas.schaffter@sagebionetworks.org

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

tool-registry-client-0.1.0.tar.gz (24.9 kB view details)

Uploaded Source

Built Distribution

tool_registry_client-0.1.0-py3-none-any.whl (41.9 kB view details)

Uploaded Python 3

File details

Details for the file tool-registry-client-0.1.0.tar.gz.

File metadata

  • Download URL: tool-registry-client-0.1.0.tar.gz
  • Upload date:
  • Size: 24.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.5

File hashes

Hashes for tool-registry-client-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c478e96e727f7150f1908c80e3cf5bbdca7e22a0e24355a03decdc5e6b053084
MD5 7af65757976d0dae5619248584361068
BLAKE2b-256 293c129f23919a24cdd4fbdd20c19c5800d5243dcbb73abcd86472c649d97f0b

See more details on using hashes here.

File details

Details for the file tool_registry_client-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: tool_registry_client-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 41.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.5

File hashes

Hashes for tool_registry_client-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e68a8919599c47e40272b917328715307d1344edf9ae388fc91ad2d8d5efcaf9
MD5 baa1ba2fc7cfe25120fea44d4c7f58d4
BLAKE2b-256 16de35200ec4e283a03d49452ba3c49b87a9988cce1a93525ca2711cfcc9cd51

See more details on using hashes here.

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