Skip to main content

InstaLabel Inc.

Project description

InstaLabelClient

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
  • Generator version: 7.8.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 instalabel.client

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 instalabel.client

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import instalabel.client
from instalabel.client.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 = instalabel.client.Configuration(
    host = "http://localhost"
)



# Enter a context with an instance of the API client
with instalabel.client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = instalabel.client.AuthApi(api_client)
    username = 'username_example' # str | 
    password = 'password_example' # str | 
    grant_type = 'grant_type_example' # str |  (optional)
    scope = '' # str |  (optional) (default to '')
    client_id = 'client_id_example' # str |  (optional)
    client_secret = 'client_secret_example' # str |  (optional)

    try:
        # Login For Access Token
        api_response = api_instance.login_for_access_token_api_v1_auth_token_post(username, password, grant_type=grant_type, scope=scope, client_id=client_id, client_secret=client_secret)
        print("The response of AuthApi->login_for_access_token_api_v1_auth_token_post:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling AuthApi->login_for_access_token_api_v1_auth_token_post: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
AuthApi login_for_access_token_api_v1_auth_token_post POST /api/v1/auth/token Login For Access Token
AwsIntegrationsApi create_integration_api_v1_aws_integrations_post POST /api/v1/aws-integrations/ Create Integration
AwsIntegrationsApi delete_integration_api_v1_aws_integrations_integration_id_delete DELETE /api/v1/aws-integrations/{integrationId} Delete Integration
AwsIntegrationsApi get_integration_api_v1_aws_integrations_integration_id_get GET /api/v1/aws-integrations/{integrationId} Get Integration
AwsIntegrationsApi get_workspace_integrations_api_v1_aws_integrations_workspace_workspace_id_get GET /api/v1/aws-integrations/workspace/{workspaceId} Get Workspace Integrations
ImagesApi get_image_api_v1_images_image_id_get GET /api/v1/images/{imageId} Get Image
ImagesApi get_project_images_api_v1_images_get GET /api/v1/images/ Get Project Images
ImagesApi upload_image_api_v1_images_post POST /api/v1/images/ Upload Image
ImagesApi upload_images_with_coco_api_v1_images_external_s3_coco_upload_post POST /api/v1/images/external-s3-coco-upload Upload Images With Coco
ProjectsApi create_project_api_v1_projects_post POST /api/v1/projects/ Create Project
ProjectsApi read_project_api_v1_projects_project_id_get GET /api/v1/projects/{projectId} Read Project
ProjectsApi read_projects_api_v1_projects_get GET /api/v1/projects/ Read Projects
ProjectsApi update_project_api_v1_projects_project_id_put PUT /api/v1/projects/{projectId} Update Project
WorkspacesApi create_workspace_api_v1_workspaces_post POST /api/v1/workspaces/ Create Workspace
WorkspacesApi read_workspace_api_v1_workspaces_workspace_id_get GET /api/v1/workspaces/{workspaceId} Read Workspace
WorkspacesApi read_workspaces_api_v1_workspaces_get GET /api/v1/workspaces/ Read Workspaces

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

OAuth2PasswordBearer

  • Type: OAuth
  • Flow: password
  • Authorization URL:
  • Scopes: N/A

Author

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

instalabel-0.0.3.tar.gz (46.3 kB view details)

Uploaded Source

Built Distribution

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

instalabel-0.0.3-py3-none-any.whl (77.9 kB view details)

Uploaded Python 3

File details

Details for the file instalabel-0.0.3.tar.gz.

File metadata

  • Download URL: instalabel-0.0.3.tar.gz
  • Upload date:
  • Size: 46.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.3

File hashes

Hashes for instalabel-0.0.3.tar.gz
Algorithm Hash digest
SHA256 0e3102b07a84955d4bf599907c0372122bd5c6c54a3484233ce09aa690d29331
MD5 4a915e2e2cd2a56a4ab00b5cdb097e8f
BLAKE2b-256 80114f506ee2cd6bea9729ddc03a7e027ee3b9460739218637cf4f5742d7215d

See more details on using hashes here.

File details

Details for the file instalabel-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: instalabel-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 77.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.3

File hashes

Hashes for instalabel-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b0953655e998ee271afa3a93d4a2e1948fc116d6904ebe7d1c7288a015b0d518
MD5 515f0a565c0e2067a831b2ea7905916c
BLAKE2b-256 44c3103ce15040d4348f17a8f044710f10b7fcc5688673db80fa0ec2e96de4c7

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