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

Uploaded Source

Built Distribution

bsmschema-0.1.1-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

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

Hashes for bsmschema-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e28878d0f85d3b1d2b1c1b1b3797267d6853a37b13713913f11984056b365ce7
MD5 966fed9192588be79d93f21ef69a13eb
BLAKE2b-256 040817692c6c8cfd385b58effe902e7416e3f6bba23ff3267e9352ee31db8280

See more details on using hashes here.

Provenance

The following attestation bundles were made for bsmschema-0.1.1.tar.gz:

Publisher: package.yml on bids-standard/stats-models

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for bsmschema-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 49fcd74355a1c15ab0cb69e3bb590b1816e9f7e55e2134baa53a922db9f6c91d
MD5 c55a5b2e1d86f4cd2a07f5277948849c
BLAKE2b-256 2b3b95230f3ee90a753551713aafba28009f06415597e488f47b03fea3693838

See more details on using hashes here.

Provenance

The following attestation bundles were made for bsmschema-0.1.1-py3-none-any.whl:

Publisher: package.yml on bids-standard/stats-models

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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