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_spec_validator-0.5.2.dev1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b9ff06aa859d200e645fe0a1627f56ac89795c47509ed38df6ff915c3c3667d |
|
MD5 | 8fb4e9adaa0c0d07570dd2573847efca |
|
BLAKE2b-256 | 09227733da3b14b2602404001c8d666de28402fc580bbf86d2afd950806f0197 |
Hashes for focus_spec_validator-0.5.2.dev1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5eaeb66f78320c9f58918b46dfbf71127b8a085456a941c19e12c4f800f1fbe7 |
|
MD5 | 6f7e16bf05264c3c1c4c9535449d1274 |
|
BLAKE2b-256 | 78cbdb1a9db8c88fa1220d65281e366026d2afb27b4e97612b800dd16ca13092 |