Skip to main content

JSON2Capella

image image

Command-line tool for importing package definitions from JSON files into a Capella model's data package.

Showcase

Documentation

Read the full documentation on Github pages.

Examples

Apply package definition from .json file to Capella model layer's root data package:

python -m json2capella \
-i tests/data/example_jsons/package1.json \
-m tests/data/empty_project_60 \
-l la \

Import package definitions from folder with .json files to Capella model layer's root data package:

python -m json2capella \
-i tests/data/example_jsons \
-m tests/data/empty_project_60 \
-l la

Installation

You can install the latest released version directly from PyPI.

pip install json2capella

To set up a development environment, clone the project and install it into a virtual environment.

git clone https://github.com/DSD-DBS/json2capella
cd json2capella
python -m venv .venv

source .venv/bin/activate.sh  # for Linux / Mac
.venv\Scripts\activate  # for Windows

pip install -U pip pre-commit
pip install -e '.[docs,test]'
pre-commit install

Contributing

We'd love to see your bug reports and improvement suggestions! Please take a look at our guidelines for contributors for details.

Licenses

This project is compliant with the REUSE Specification Version 3.0.

Copyright DB InfraGO AG, licensed under Apache 2.0 (see full text in LICENSES/Apache-2.0.txt)

Dot-files are licensed under CC0-1.0 (see full text in LICENSES/CC0-1.0.txt)

Metadata

Release files for json2capella 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for json2capella 0.3.1
File Size Uploaded
json2capella-0.3.1.tar.gz 37.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for json2capella 0.3.1
File Interpreter ABI Platform
json2capella-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 52.6 kB

Release files / json2capella-0.3.1.tar.gz

Download URL json2capella-0.3.1.tar.gz
Size 37.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ee69f2f191763d46770ba8ff0d3b7069cdfbd0d1ae699f51a0e37089488d70df
BLAKE2b-256 checksum
How to use checksums
3ac9246fba353cf7a7467ecf7621319261566b4de7d90fc0d2883bbbcb2e6977
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 10, 2025.

Transparency log

Release files / json2capella-0.3.1-py3-none-any.whl

Download URL json2capella-0.3.1-py3-none-any.whl
Size 15.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6405004a0b26d8b1a014e3b89273d755b42c05a87e54033eb3bf3b6979529de0
BLAKE2b-256 checksum
How to use checksums
662aab32e782294a5db28a0ecdeecab1dae5fa0ac5a061da5f1fe2ad16a7c7cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 10, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page