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
bsmschema-0.1.0.tar.gz
(13.3 kB
view details)
Built Distribution
bsmschema-0.1.0-py3-none-any.whl
(17.5 kB
view details)
File details
Details for the file bsmschema-0.1.0.tar.gz
.
File metadata
- Download URL: bsmschema-0.1.0.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf011937282e651235ce787f29891c99bbc251078c1d077e301d40d5c170a34f |
|
MD5 | 42a2952b88ad5d815038f734ff3ec8f6 |
|
BLAKE2b-256 | 0ec544d31ce25c22b1d30048da77f3c75b6292f2b7a36618ea7f7d66f334c53d |
File details
Details for the file bsmschema-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: bsmschema-0.1.0-py3-none-any.whl
- Upload date:
- Size: 17.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0663e333a65e84b888cb9e3c3219cf3d447de99c19aea488623ad33cde96f246 |
|
MD5 | ae53adb3e51d91319c7976053f1a4f23 |
|
BLAKE2b-256 | a28d9ae8638a4eebbfcaa2b3c7cd27045eb7a22ee3a2f0017e047931b3716e91 |