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)
Metadata
Release files for puccini 0.21.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| puccini-0.21.0.tar.gz | 14.0 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| puccini-0.21.0-cp311-cp311-manylinux1_x86_64.whl | CPython 3.11 | CPython 3.11 | Linux glibc 2.5+ x86-64 | Details |
Total release size: 27.8 MB
Release files / puccini-0.21.0.tar.gz
| Download URL | puccini-0.21.0.tar.gz |
|---|---|
| Size | 14.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5c469eb7ef1efe9b9fadf99c24a35f22833b71d8803ee5809a9b8b62d353267c
|
|
BLAKE2b-256 checksum How to use checksums |
283f399678069e00b159be84b1fe13d16dba2a7147a4f91cf85a6230688d31a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|
Release files / puccini-0.21.0-cp311-cp311-manylinux1_x86_64.whl
| Download URL | puccini-0.21.0-cp311-cp311-manylinux1_x86_64.whl |
|---|---|
| Size | 13.8 MB |
| Tags | CPython 3.11 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
ea1e21c9841a403077db62329c8f5e5463ddb9f96af089e92c2ed0f6bb9ac849
|
|
BLAKE2b-256 checksum How to use checksums |
28634207650b0c147365bd3b8e84c7f17dce081d25f051a5660394e4566b8a26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|