Skip to main content

jose5

JSON Composer

The fifth José in Aplazame

Example

The following file, dev.json ...

{
    "__extends": "./base.json",
    "__variables": {
        "ENVIRONMENT": "dev",
        "tfstate": {
            "with": {
                "stuff": 42
            }
        }
    },
    "environment": [
        {
            "name": "LOG_LEVEL",
            "value": "DEBUG"
        },
        {
            "name": "EXTRA_DEVELOPMENT_PARAM",
            "value": 20
        },
        {
            "name": "TFSTATE_STUFF",
            "value": "${tfstate.with.stuff}"
        }
    ],
    "secrets": [
        {
            "name": "SECRET_KEY",
            "valueFrom": "${PARAM_BASE_PATH}/SECRET_KEY"
        }
    ],
    "mergemap": {
        "b": "dev",
        "c": "dev"
    },
    "list": "${LIST_TEST}",
    "map": "${LIST_MAP}"
}

... with base.json

{
    "__variables": {
        "PARAM_BASE_PATH": "/app/${ENVIRONMENT}",
        "LIST_TEST": [
            1,
            2,
            3
        ],
        "LIST_MAP": {
            "a": 44
        }
    },
    "environment": [
        {
            "name": "ENVIRONMENT",
            "value": "${ENVIRONMENT}"
        },
        {
            "name": "LOG_LEVEL",
            "value": "INFO"
        }
    ],
    "mergemap": {
        "a": "base",
        "b": "base"
    }
}

... produces this result

{
  "environment": [
    {
      "name": "ENVIRONMENT",
      "value": "dev"
    },
    {
      "name": "LOG_LEVEL",
      "value": "DEBUG"
    },
    {
      "name": "EXTRA_DEVELOPMENT_PARAM",
      "value": 20
    },
    {
      "name": "TFSTATE_STUFF",
      "value": 42
    }
  ],
  "mergemap": {
    "a": "base",
    "b": "dev",
    "c": "dev"
  },
  "secrets": [
    {
      "name": "SECRET_KEY",
      "valueFrom": "/app/dev/SECRET_KEY"
    }
  ],
  "list": [
    1,
    2,
    3
  ],
  "map": {
    "a": 44
  }
}

Metadata

Release files for jose5 0.4.0

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

Source distribution (sdist)

Source distribution for jose5 0.4.0
File Size Uploaded Provenance Actions
jose5-0.4.0.tar.gz 3.5 kB Without provenance Details for jose5-0.4.0.tar.gz

Built distribution (wheel)

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

Total release size: 7.4 kB

Release files / jose5-0.4.0.tar.gz

Download URL jose5-0.4.0.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
84c9ec39c672955bf0a5b29cb85032de11ad63c40e077ff87c7542d979714e9f
BLAKE2b-256 checksum
How to use checksums
7949e3d6f27bb095bb209ad56961674c031a14f9a16c5866813ffd66422db6b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.10

Release files / jose5-0.4.0-py3-none-any.whl

Download URL jose5-0.4.0-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9e19935661343ec95387556e7b5361e9d6a8787a5c3ab032fdde745ceea97d81
BLAKE2b-256 checksum
How to use checksums
571c45f0026927d07e5a006ecd8501a9e2223803a69a01d4b70b242a3aea7b61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.10

Security for jose5 0.4.0

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.

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