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.
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| focus_spec_validator-0.5.0.tar.gz | 15.6 kB | Without provenance | Details for focus_spec_validator-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| focus_spec_validator-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for focus_spec_validator-0.5.0-py3-none-any.whl |
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
|
Security for focus-spec-validator 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.