Skip to content

Latest commit

 

History

History
110 lines (71 loc) · 3.12 KB

File metadata and controls

110 lines (71 loc) · 3.12 KB

protein-design-microservice

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

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

  • API version: 0.1.0
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python 3.7+

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 protein_design_microservice

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 protein_design_microservice

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import time
import protein_design_microservice
from protein_design_microservice.rest import ApiException
from pprint import pprint

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



# Enter a context with an instance of the API client
with protein_design_microservice.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = protein_design_microservice.DefaultApi(api_client)
    run_rfdiffusion_request = protein_design_microservice.RunRfdiffusionRequest() # RunRfdiffusionRequest | 

    try:
        # Run Rfdiffusion Endpoint
        api_response = api_instance.run_rfdiffusion_endpoint_run_rfdiffusion_post(run_rfdiffusion_request)
        print("The response of DefaultApi->run_rfdiffusion_endpoint_run_rfdiffusion_post:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DefaultApi->run_rfdiffusion_endpoint_run_rfdiffusion_post: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
DefaultApi run_rfdiffusion_endpoint_run_rfdiffusion_post POST /run-rfdiffusion Run Rfdiffusion Endpoint

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author