Skip to main content

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.

Release files for focus-spec-validator 0.5.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 focus-spec-validator 0.5.0
File Size Uploaded
focus_spec_validator-0.5.0.tar.gz 15.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for focus-spec-validator 0.5.0
File Interpreter ABI Platform
focus_spec_validator-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 52.7 kB

Release files / focus_spec_validator-0.5.0.tar.gz

Download URL focus_spec_validator-0.5.0.tar.gz
Size 15.6 kB
Tags Source
SHA-256 checksum
How to use checksums
96ad5553a23091e1f7d2f3a57209b5c3cf2f19d0b27b927a2f0e2346f12fce0f
BLAKE2b-256 checksum
How to use checksums
3d0a44c23256c9e1ebfaa6b5e16b71b1c5776f83a1717e609b89bb28a57b1edc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / focus_spec_validator-0.5.0-py3-none-any.whl

Download URL focus_spec_validator-0.5.0-py3-none-any.whl
Size 37.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c2d2426e39019e900943f424abda7caf22410dc44336be6f353a96cd8d9a379c
BLAKE2b-256 checksum
How to use checksums
d5aee9511189eaa2e78aef0a1cb525cefdc191ebb71dbb237011a84f4a4781cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.6

Release history Release notifications | RSS feed

This release

0.5.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