A Pydantic schema for BIDS Stats Models
Project description
BIDS Stats Models Schema
This package contains a Pydantic description of the BIDS Stats Models format, which can be used as a schema validator or generate JSON schema for independent validation.
Installing bsmschema
From the Python package index
pip install bsmschema
From source
git clone https://github.com/bids-standard/stats-models.git
pip install stats-models/bsmschema
You may wish to install in editable mode, to ensure that your changes get propagated without reinstalling:
pip install -e stats-models/bsmschema
How to run schema validator
from bsmschema.models import BIDSStatsModel
BIDSStatsModel.parse_file('stats-models/specification/examples/model-example_smdl.json')
Project details
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bsmschema-0.1.1.tar.gz.
File metadata
- Download URL: bsmschema-0.1.1.tar.gz
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e28878d0f85d3b1d2b1c1b1b3797267d6853a37b13713913f11984056b365ce7
|
|
| MD5 |
966fed9192588be79d93f21ef69a13eb
|
|
| BLAKE2b-256 |
040817692c6c8cfd385b58effe902e7416e3f6bba23ff3267e9352ee31db8280
|
Provenance
The following attestation bundles were made for bsmschema-0.1.1.tar.gz:
Publisher:
package.yml on bids-standard/stats-models
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bsmschema-0.1.1.tar.gz -
Subject digest:
e28878d0f85d3b1d2b1c1b1b3797267d6853a37b13713913f11984056b365ce7 - Sigstore transparency entry: 219671368
- Sigstore integration time:
-
Permalink:
bids-standard/stats-models@99ee5b2df9865f2c24aecfccf49ea0959488c01c -
Branch / Tag:
refs/tags/0.1.1 - Owner: https://github.com/bids-standard
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
package.yml@99ee5b2df9865f2c24aecfccf49ea0959488c01c -
Trigger Event:
push
-
Statement type:
File details
Details for the file bsmschema-0.1.1-py3-none-any.whl.
File metadata
- Download URL: bsmschema-0.1.1-py3-none-any.whl
- Upload date:
- Size: 17.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49fcd74355a1c15ab0cb69e3bb590b1816e9f7e55e2134baa53a922db9f6c91d
|
|
| MD5 |
c55a5b2e1d86f4cd2a07f5277948849c
|
|
| BLAKE2b-256 |
2b3b95230f3ee90a753551713aafba28009f06415597e488f47b03fea3693838
|
Provenance
The following attestation bundles were made for bsmschema-0.1.1-py3-none-any.whl:
Publisher:
package.yml on bids-standard/stats-models
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bsmschema-0.1.1-py3-none-any.whl -
Subject digest:
49fcd74355a1c15ab0cb69e3bb590b1816e9f7e55e2134baa53a922db9f6c91d - Sigstore transparency entry: 219671369
- Sigstore integration time:
-
Permalink:
bids-standard/stats-models@99ee5b2df9865f2c24aecfccf49ea0959488c01c -
Branch / Tag:
refs/tags/0.1.1 - Owner: https://github.com/bids-standard
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
package.yml@99ee5b2df9865f2c24aecfccf49ea0959488c01c -
Trigger Event:
push
-
Statement type: