Skip to main content

Upload Python Package Python package

sure_tosca_client

TOSCA Simple qUeRy sErvice (SURE).

This Python package is automatically generated by the Swagger Codegen project:

  • API version: 1.0.0
  • Package version: 1.0.1
  • Build package: io.swagger.codegen.languages.PythonClientCodegen

Requirements.

Python 3.6+

Publish in pypi

python setup.py sdist bdist_wheel
python -m  twine upload dist/*

Installation & Usage

install from pypi.org

pip install sure-tosca-client

pip install

If the python package is hosted on Github, you can install directly from Github

pip install git+https://github.com//.git

(you may need to run pip with root permission: sudo pip install git+https://github.com//.git)

Then import the package:

import swagger_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 swagger_client

Getting Started

Please follow the installation procedure and then run the following:

from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi(swagger_client.ApiClient(configuration))
id = 'id_example' # str | ID of topolog template uplodaed
node_name = 'node_name_example' # str | node_name

try:
    # 
    api_response = api_instance.get_all_ancestor_properties(id, node_name)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->get_all_ancestor_properties: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://localhost/tosca-sure/1.0.0

Class Method HTTP request Description
DefaultApi get_all_ancestor_properties GET /tosca_template/{id}/topology_template/node_templates/{node_name}/ancestors_properties
DefaultApi get_all_ancestor_types GET /tosca_template/{id}/topology_template/node_templates/{node_name}/ancestors_types
DefaultApi get_ancestors_requirements GET /tosca_template/{id}/topology_template/node_templates/{node_name}/ancestors_requirements
DefaultApi get_dsl_definitions GET /tosca_template/{id}/dsl_definitions
DefaultApi get_imports GET /tosca_template/{id}/imports
DefaultApi get_node_outputs GET /tosca_template/{id}/topology_template/node_templates/{node_name}/outputs
DefaultApi get_node_properties GET /tosca_template/{id}/topology_template/node_templates/{node_name}/properties
DefaultApi get_node_requirements GET /tosca_template/{id}/topology_template/node_templates/{node_name}/requirements
DefaultApi get_node_templates GET /tosca_template/{id}/topology_template/node_templates
DefaultApi get_node_type_name GET /tosca_template/{id}/topology_template/node_templates/{node_name}/type_name
DefaultApi get_parent_type_name GET /tosca_template/{id}/topology_template/node_templates/{node_name}/derived_from
DefaultApi get_related_nodes GET /tosca_template/{id}/topology_template/node_templates/{node_name}/related
DefaultApi get_relationship_templates GET /tosca_template/{id}/relationship_templates
DefaultApi get_topology_template GET /tosca_template/{id}/topology_template
DefaultApi get_tosca_template GET /tosca_template/{id}
DefaultApi get_types GET /tosca_template/{id}/types
DefaultApi set_node_properties PUT /tosca_template/{id}/topology_template/node_templates/{node_name}/properties
DefaultApi upload_tosca_template POST /tosca_template upload a tosca template description file

Documentation For Models

Documentation For Authorization

All endpoints do not require authorization.

Author

S.Koulouzis@uva.nl

Metadata

Release files for sure-tosca-client 1.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sure-tosca-client 1.0.6
File Size Uploaded Provenance Actions
sure_tosca_client-1.0.6.tar.gz 24.2 kB Without provenance Details for sure_tosca_client-1.0.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sure-tosca-client 1.0.6
File Interpreter ABI Platform Actions
sure_tosca_client-1.0.6-py3-none-any.whl Python 3 none any Details for sure_tosca_client-1.0.6-py3-none-any.whl

Total release size: 55.6 kB

Release files / sure_tosca_client-1.0.6.tar.gz

Download URL sure_tosca_client-1.0.6.tar.gz
Size 24.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a3e0615bd387e8bdb72149f438d2659575c64c795ce69474611ee901e29f2303
BLAKE2b-256 checksum
How to use checksums
1c22b5ddbf7f74fc6d97917191f868795bad3b9f982105208047694908ce4851
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

Release files / sure_tosca_client-1.0.6-py3-none-any.whl

Download URL sure_tosca_client-1.0.6-py3-none-any.whl
Size 31.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77ff8e75f6ce592770a554b10006da1fc9f4fb7dee0e1d65dd354cfa6a50884a
BLAKE2b-256 checksum
How to use checksums
84bec75eeb3b4e189f4c4a2739213d45b6913371c72b3c00d6eb4e918285e1ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

Security for sure-tosca-client 1.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page