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.



Environment Setup


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


1. Install Poetry

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

curl -sSL | python3 -

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

2. Clone the repository

git clone
cd focus-spec-validator

3. Install dependencies

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

poetry install


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.


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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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