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.3-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fusi_bids_pydantic-0.0.11.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f75f7ae8f234ea38900b1fdc07023d694c718dad9d13aabb34a3386b30809c55
MD5 daa0e97308445654989cee8675231f25
BLAKE2b-256 10eb37c1dcf545f400f1f85f37f9c76c37177b0f0be945022fcf0920284484a9

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