Skip to main content
Made with pop, a Python implementation of Plugin Oriented Programming Made with idem, a Python implementation of Plugin Oriented Programming Documentation is published with Sphinx on docs.idemproject.io Made with Python

Resources schemas validation plugin tool.

About

idem-resources-validation performs different validations on the IDEM plugins’ schemas using idem.

What is POP?

This project is built with pop, a Python-based implementation of Plugin Oriented Programming (POP). POP seeks to bring together concepts and wisdom from the history of computing in new ways to solve modern computing problems.

For more information:

What is Idem?

This project is built with idem, an idempotent, imperatively executed, declarative programming language written in Python. This project extends idem!

For more information:

Getting Started

Prerequisites

  • Python 3.7+

  • git (if installing from source, or contributing to the project)

Installation

If wanting to use idem-resources-validation, you can do so by either installing from PyPI or from source.

Install from PyPI

pip install idem-resources-validation

Install from source

Clone the idem-resources-validation repository.

git clone git@gitlab.com:vmware/idem/idem-resources-validation.git
cd idem-resources-validation

Create a virtual environment, and then activate it:

python3 -m venv .venv
source .venv/bin/activate

Install idem-resources-validation and other base requirements:

pip3 install -e .
pip3 install -r requirements/base.txt

Install the following packages in order to run the tests:

pip3 install -r requirements/py3.10/tests.txt

NOTE: Change py3.10 if needed with your Python version. There is support for py3.8, py3.9, py3.10 and py3.11.

Setup

After installation the validations execution module will be accessible to the pop hub. You can provide your custom config file with the specific plugin properties. Plugin config properties file can be found in the idem-resources-validation repo under tests/plugins dir.

export PLUGIN_CONFIG_FILE=./tests/plugins/idem-aws-example.json
idem exec resources_validator.schema.checkers.validate_schema

Metadata

Release files for idem-resources-validation 1.0.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 idem-resources-validation 1.0.0
File Size Uploaded
idem-resources-validation-1.0.0.tar.gz 12.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for idem-resources-validation 1.0.0
File Interpreter ABI Platform
idem_resources_validation-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 25.3 kB

Release files / idem-resources-validation-1.0.0.tar.gz

Download URL idem-resources-validation-1.0.0.tar.gz
Size 12.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6a038681eb896a4ada84daab8d1c619b32125fe90804b882f20337b0203ae0f3
BLAKE2b-256 checksum
How to use checksums
7b5d3a14f2549ac6d5660715ebfc8e76431720a2360009922e340c098bb9799f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.9.6 readme-renderer/40.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.0.3 tqdm/4.65.0 importlib-metadata/6.7.0 keyring/24.0.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.9.17

Release files / idem_resources_validation-1.0.0-py3-none-any.whl

Download URL idem_resources_validation-1.0.0-py3-none-any.whl
Size 12.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
844bd88ae11d7c14d76873d788e5d7e9de3ab0b617b24f4b198553593fcf3693
BLAKE2b-256 checksum
How to use checksums
2ffd7e0f452f8e53ff1e99099052ffe1040321cd03a0b13d2cd44565210e4912
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.9.6 readme-renderer/40.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.0.3 tqdm/4.65.0 importlib-metadata/6.7.0 keyring/24.0.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.9.17

Release history Release notifications | RSS feed

This release

1.0.0 This release

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