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.3.0

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.3.0
File Size Uploaded Provenance Actions
finopspp-0.3.0.tar.gz 39.8 kB With provenance Details for finopspp-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 90.1 kB

Release files / finopspp-0.3.0.tar.gz

Download URL finopspp-0.3.0.tar.gz
Size 39.8 kB
Tags Source
SHA-256 checksum
How to use checksums
bf31e414d4a765fba3086bc702c51f666e348702c377aeefedba996941e13032
BLAKE2b-256 checksum
How to use checksums
f22ec92bf32720a233b482f625d6b2c3bb1acc5c0ec5823bccb77e22c90ff394
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 13, 2026.

Transparency log

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

Download URL finopspp-0.3.0-py3-none-any.whl
Size 50.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2b574c8bf9d4b98e86b79556c25925b3fef35c64465386a32d1f8a000e2f8b3e
BLAKE2b-256 checksum
How to use checksums
b80687ad31d86841984b1ef0a94e6462e05f359d458dd61d4e93efdf4749c960
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 13, 2026.

Transparency log

Security for finopspp 0.3.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.

Full provenance

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

Select from 2 files

Attestation for finopspp-0.3.0.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 13, 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