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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for focus_validator-0.5.2.dev3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a150557b6dd24c651cd9da68b712eefadd4875694d5562346da03c7f7ecdc03 |
|
MD5 | 3ea331071fa20d6a9c7ef6b2967095a4 |
|
BLAKE2b-256 | ca4bc5d872356d220cd424c5993cc078dc91173b0b60c08d680a5afc8ef11980 |
Hashes for focus_validator-0.5.2.dev3-cp38-cp38-manylinux_2_35_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ea450044d6d226786dc124f9a7082646882ac96e1125b953677492257ab1aed |
|
MD5 | f485f023135934af9e667d91adad033e |
|
BLAKE2b-256 | 448e4cd42ee171b567e3937db133a8f07d0cb191d2ef938b1ae2e25cc2d27285 |