Skip to main content

CLI Tool

To aid with formatting, transforming, and using the yaml specification files, we built the finopspp CLI tool. Currently, to use it you have to build it from source from this repository. To do this, please read through Developing the finopspp CLI tool in the development guide.

Below we will go through a few of the key commands this CLI tools provides. If you have the tool installed, we encourage you to play around with the tools and look at commands not discussed below, such as the finopspp version command.

Generating commands

The most useful commands to use with finopspp will be related to generate some aspect of the framework. Either markdown documentation or Excel files.

Framework Markdown & Assessment Worksheet

The most useful (or powerful) of the most useful commands offered by finopspp is the command used to generate the framework markdown and assessment worksheet files for a profile. The framework markdown files are designed to give a one-stop shop for getting an overview, in tabular format, of how a framework (generated from a profile) is logically grouped together. While the assessment worksheet is used for scoring the priority weighted maturity of an organization against action completeness for a profile.

To generate the markdown for the framework overview and assessment excel file, make sure that the profile you desire to use is included under specifications/profiles or, if need be, create a new profile.

Then run the following

finopspp generate assessment --profile="<desired-profile-name>"

you can run finopspp generate assessment --help to see the list of profile options. The files generated by this command can be found in assessments. Simply search in this directory for a <desired-profile-name> subdirectory. This subdirectory will include your framework markdown and assessment.

Components Markdown

These files are designed to be generally more human readable and easier to navigate than the yaml specifications. The four components supported directly correlate with the four specification types used currently by finopspp. Which are profiles, domains, capabilities, and actions; and can be found in subdirectories of the same names under.

To generate the files in these folder fresh from the yaml files, you can call the following command

finopspp generate components --specification-type=<desired-spec-type> <spec-id-or-all-or-diff>

Using this command, you can generate a component markdown file for a specific specification ID, for a specific specification type. If you pass in all, you can generate the component markdown files for all specifications under a given type specific type. While passing diff will generate component markdown files for the specifications of a given type that have changed when compared to the main branch of the repository. This last option requires the git tool to be installed. For more on that please read the Development Guideline.

Specification commands

A set of utility commands that can do a number of different actions relevant to the yaml specifications. This range from showing the OpenAPI schema for the different specifications types, to full updates of the specifications via changes to a specification model derived using Pydantic.

Validation

One of the most useful command is the validation command

finopspp specifications validate --specification-type=<desired-spec-type> <spec-id-or-all-or-diff>

With this, you can validate a specific specification by ID and type. While, by passing in all, you can validate all specification for a specific type. Or, if you have git installed, you can pass diff which will validate only the specifications of a given type that have changed when compared to the main branch of the repository.

Validation is relatively strict, and makes uses of Pydantic validator. Validation failures are logged to stderr for the user, and results in a failure return code on the command if any specifications fail to validate during a run.

Update

Another really useful command is update, which can be called with the following

finopspp specifications update --specification-type=<desired-spec-type> <spec-id-or-all>

Giving a specification type, and corresponding changes to the specification type's model definitions, you can update that specification type's files by ID or all at once to match the new definition. Some updates work out-of-the-box, like adding/removing fields. While other more complex updates, such as renaming a field or changing the order of fields in the schema, are allowed by creating custom alias for fields or by using Pydantic model_serializer.

New

The new command will allow you to create new specification files from smart defaults, which can be found, in code, under models/defaults.py. The new specification file, created for a desired specification type, can be used as template to fill-in until the specification is in a state that is ready to be publish.

The command to create these new specification is simply

finopspp specifications new --specification-type=<desired-spec-type> <desired-id>

The only requirement is that the desired ID be unique. If it has been used previously, an error will be returned and the specification file will not be created.

Metadata

Release files for finopspp 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for finopspp 0.2.1
File Size Uploaded Provenance Actions
finopspp-0.2.1.tar.gz 39.7 kB With provenance Details for finopspp-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for finopspp 0.2.1
File Interpreter ABI Platform Actions
finopspp-0.2.1-py3-none-any.whl Python 3 none any Details for finopspp-0.2.1-py3-none-any.whl

Total release size: 89.9 kB

Release files / finopspp-0.2.1.tar.gz

Download URL finopspp-0.2.1.tar.gz
Size 39.7 kB
Tags Source
SHA-256 checksum
How to use checksums
fdb1b0a2babf13dab70a4d6b9a8b3dcd19c47fbf4ce9254bb9485eaf71d2bb6c
BLAKE2b-256 checksum
How to use checksums
a4025bdef179817127b9ccbf3b494cf55261bdef54a8df89696dac28d1392f2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / finopspp-0.2.1-py3-none-any.whl

Download URL finopspp-0.2.1-py3-none-any.whl
Size 50.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ecc350283214b8ad07b9d08b00a8bd87961efb71660913df1c07878189cb1f7d
BLAKE2b-256 checksum
How to use checksums
a37499c5d61cdc8bd0b3d9dacb654f038b84f01ee2b36aa1a7e8c32a7d37623b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Security for finopspp 0.2.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for finopspp-0.2.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

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.

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