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 details)

Uploaded Source

Built Distribution

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

Uploaded CPython 3.11

File details

Details for the file puccini-0.21.0.tar.gz.

File metadata

  • Download URL: puccini-0.21.0.tar.gz
  • Upload date:
  • Size: 14.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for puccini-0.21.0.tar.gz
Algorithm Hash digest
SHA256 5c469eb7ef1efe9b9fadf99c24a35f22833b71d8803ee5809a9b8b62d353267c
MD5 fcb94a2388e7e32fa97ff7e8f730fb21
BLAKE2b-256 283f399678069e00b159be84b1fe13d16dba2a7147a4f91cf85a6230688d31a8

See more details on using hashes here.

File details

Details for the file puccini-0.21.0-cp311-cp311-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for puccini-0.21.0-cp311-cp311-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ea1e21c9841a403077db62329c8f5e5463ddb9f96af089e92c2ed0f6bb9ac849
MD5 d8f2fd21874c2cc91cb58bd0c218531a
BLAKE2b-256 28634207650b0c147365bd3b8e84c7f17dce081d25f051a5660394e4566b8a26

See more details on using hashes here.

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