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.

Files for tool-registry-client, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size tool_registry_client-0.1.0-py3-none-any.whl (41.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size tool-registry-client-0.1.0.tar.gz (24.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page