Puccini
Project description
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
from ruamel.yaml import YAML
yaml = YAML()
try:
clout = puccini.tosca.compile('/path/to/my-tosca-service.csar') # can also be a URL
yaml.dump(clout, sys.stdout)
except puccini.tosca.Problems as e:
print('Problems:', file=sys.stderr)
for problem in e.problems:
yaml.dump(problem, sys.stderr)
Project details
Release history Release notifications | RSS feed
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.17.0.post7.tar.gz
(10.4 MB
view hashes)
Built Distribution
Close
Hashes for puccini-0.17.0.post7-cp39-cp39-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bfb731f08797b1d4f26ff8859dda01028d7599927303c23df05cf08d7eb1703 |
|
MD5 | b11e1d0ffe9fdfd5d57815a189418176 |
|
BLAKE2b-256 | 257a8ea107d6873bbdee832a02bfe98aa8d91c35436231b35004799e5499f5e3 |