xOpera TOSCA parser
TOSCA YAML parser for xOpera orchestrator.
Table of Contents
Introduction
xOpera TOSCA parser aims to be a lightweight parser component compliant with OASIS TOSCA. The current compliance is with the TOSCA Simple Profile in YAML v1.3.
We are also testing experimental support for TOSCA Version 2.0, which will become the main version after TOSCA 2.0 is released.
Prerequisites
opera-tosca-parser requires Python 3 and a virtual environment.
In a typical modern Linux environment, we should already be set.
In Ubuntu, however, we might need to run the following commands:
$ sudo apt update
$ sudo apt install -y python3-venv python3-wheel python-wheel-common
Installation and Quickstart
The orchestration tool is available on PyPI as a package named opera-tosca-parser. Apart from the latest PyPI production version, you can also find the latest PyPI development version, which includes pre-releases so that you will be able to test the latest features before they are officially released.
The simplest way to test opera-tosca-parser is to install it into Python virtual environment:
$ python3 -m venv .venv && . .venv/bin/activate
(.venv) $ pip install opera-tosca-parser
To test if everything is working as expected, you can clone xopera-examples GitHub repository and try to parse a
simple hello-world example with the opera-tosca-parser CLI tool that comes along with the TOSCA parser:
(.venv) $ git clone git@github.com:xlab-si/xopera-examples.git
(.venv) $ cd xopera-examples/misc/hello-world
(.venv) $ opera-tosca-parser parse service.yaml
Parsing service template...
Done.
And that is it.
The opera orchestrator is available in xopera-opera repository.
For more startup examples please visit xopera-examples repository.
If you want to use opera commands from an API take a look at xopera-api repository.
You can also take a look at the xOpera SaaS component, which is designed for business partners and enterprise users.
To find more about xOpera project visit our xOpera documentation.
License
This work is licensed under the Apache License 2.0.
Contact
You can contact the xOpera team by sending an email to xopera@xlab.si.
Acknowledgement
Some work from this project has received funding from the European Union’s Horizon 2020 research and innovation programme under Grant Agreements No. 825040 (RADON), No. 825480 (SODALITE) and No. 101000162 (PIACERE).
Metadata
Release files for opera-tosca-parser 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| opera-tosca-parser-0.2.2.tar.gz | 127.1 kB | Without provenance | Details for opera-tosca-parser-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| opera_tosca_parser-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for opera_tosca_parser-0.2.2-py3-none-any.whl |
Total release size: 282.5 kB
Release files / opera-tosca-parser-0.2.2.tar.gz
| Download URL | opera-tosca-parser-0.2.2.tar.gz |
|---|---|
| Size | 127.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8f6fe5aa31bb2719c7cfa27199a1fd99d94b339dfded4352db759fc5da01bd70
|
|
BLAKE2b-256 checksum How to use checksums |
901cb3b82a9b09461f50e6ae8cd113e5bb49a6ac933757dec771de7cc8e2cfb9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.14
|
Release files / opera_tosca_parser-0.2.2-py3-none-any.whl
| Download URL | opera_tosca_parser-0.2.2-py3-none-any.whl |
|---|---|
| Size | 155.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f6ac8aeba3f5404fb14f19e0671b094002a46fe2cb7f225d1d2c69eef8cdd277
|
|
BLAKE2b-256 checksum How to use checksums |
0c9c556bf1aa2314d9ce9975df7ce8bd0a60c82211c773af6869d6c5833fe63d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.14
|
Security for opera-tosca-parser 0.2.2
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.