Skip to main content

Pydantic model for fUSI-BIDS extension proposal (BEP) sidecar JSON schema

Project description

fusi-bids-pydantic

Build status Supported Python versions License

Pydantic model for fUSI-BIDS extension proposal (BEP) sidecar JSON schema

Installation

Clone the repository:

git clone https://github.com/Forest-Neurotech/fusi-bids-pydantic.git
cd fusi-bids-pydantic

For general usage, install the package:

pip install -e .

Or for development, install the environment and the pre-commit hooks:

make install

Usage

from fusi_bids_pydantic import FUSISidecar

example_merged_sidecar_data = {
    "TaskName": "example_task",
    "RepetitionTime": 1.5,
    "Manufacturer": "example_manufacturer",
}
sidecar = FUSISidecar.model_validate(example_merged_sidecar_data)
# Warns about missing RECOMMENDED fields

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

fusi_bids_pydantic-0.0.11.2-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file fusi_bids_pydantic-0.0.11.2-py3-none-any.whl.

File metadata

File hashes

Hashes for fusi_bids_pydantic-0.0.11.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0beb61a3cd9265a5f031f7013418530d0308d4a6ba0d70842f08cede74ceffe3
MD5 b997f148060902f2f00e953af1f9947c
BLAKE2b-256 765430d54a73b23c9c7ffae8a548b77dc784854bc064e92deab9bf060735c446

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