Skip to main content

FOCUS spec validator.

Project description

FOCUS (FinOps Open Source Cost and Usage Specification) Validator

Validator resource for checking datasets against the FOCUS specification.

Overview

tbd

Environment Setup

Prerequisites

  • Python 3.8+
  • Poetry (Package & Dependency Manager)

Installation

1. Install Poetry

If you haven't installed Poetry yet, you can do it by running:

curl -sSL https://install.python-poetry.org | python3 -

For alternative installation methods or more information about Poetry, please refer to the official documentation.

2. Clone the repository

git clone https://github.com/finopsfoundation/focus-spec-validator.git
cd focus-spec-validator

3. Install dependencies

Using Poetry, you can install the project's dependencies with:

poetry install

Usage

Activate the virtual environment:

poetry shell

Validations can be run using cli application focus-validator.

For help and more options:

focus-validator --help

Running Tests

If you have tests for your project, you can run them with:

poetry run pytest

Ensure you have pytest defined as a development dependency in your pyproject.toml.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

focus_spec_validator-0.5.0.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

focus_spec_validator-0.5.0-py3-none-any.whl (37.1 kB view details)

Uploaded Python 3

File details

Details for the file focus_spec_validator-0.5.0.tar.gz.

File metadata

  • Download URL: focus_spec_validator-0.5.0.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for focus_spec_validator-0.5.0.tar.gz
Algorithm Hash digest
SHA256 96ad5553a23091e1f7d2f3a57209b5c3cf2f19d0b27b927a2f0e2346f12fce0f
MD5 adfd648af5ab52711325c0e746038ea3
BLAKE2b-256 3d0a44c23256c9e1ebfaa6b5e16b71b1c5776f83a1717e609b89bb28a57b1edc

See more details on using hashes here.

File details

Details for the file focus_spec_validator-0.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for focus_spec_validator-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c2d2426e39019e900943f424abda7caf22410dc44336be6f353a96cd8d9a379c
MD5 925ef4c216457d936fbe11af022b3f7f
BLAKE2b-256 d5aee9511189eaa2e78aef0a1cb525cefdc191ebb71dbb237011a84f4a4781cd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page