Skip to main content

Puccini

Project description

Puccini

Parse and compile TOSCA to Clout.

Part of the Puccini project.

This is a work in progress.

Installation

At this time only Linux x86_64 platforms are supported. We will update this page as more platforms are added. In most cases this should work:

pip install puccini

If you are using Python 3.9 on most Linuxes then you will get our pre-built binaries when installing.

For other environments, Puccini will be built from source. Though Puccini is written in Go, you do not need Go tooling installed, as it will be downloaded on-demand by our installer. The only requirement is that your operating system have the curl and tar tools.

Usage

Example:

import sys, puccini.tosca, ard

try:
    clout = puccini.tosca.compile('/path/to/my-tosca-service.csar') # can also be a URL
    ard.write(clout, sys.stdout)
except puccini.tosca.Problems as e:
    print('Problems:', file=sys.stderr)
    for problem in e.problems:
        ard.write(problem, sys.stderr)

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

puccini-0.21.0.tar.gz (14.0 MB view hashes)

Uploaded Source

Built Distribution

puccini-0.21.0-cp311-cp311-manylinux1_x86_64.whl (13.8 MB view hashes)

Uploaded CPython 3.11

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