Skip to main content

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.0.4.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bsmschema-0.0.4-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

Details for the file bsmschema-0.0.4.tar.gz.

File metadata

  • Download URL: bsmschema-0.0.4.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for bsmschema-0.0.4.tar.gz
Algorithm Hash digest
SHA256 aaf8096fb91fa84f8a168b67c40b8bc9fbbe3b1b931e6a460f8476154f39dc0e
MD5 ae60e592edc77fbaad461afb1171b3ac
BLAKE2b-256 2f7662080b65f2e942b0ab5365d84854d0a4c21f1269d66acd9969ec4464d41a

See more details on using hashes here.

File details

Details for the file bsmschema-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: bsmschema-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 17.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for bsmschema-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 076163a2564ae840b679a17e80c04e4a444fed02e2d995153d28615e9781f355
MD5 a12fce656934c6488b03776b90b0975b
BLAKE2b-256 4ff349afbefb1ae3a8441d4c02491a5d434933f98b8d66e6355cc9c5efc2fdba

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page