Important
This project is under development. All source code and features on the main branch are for the purpose of testing or evaluation and not production ready.
Module for handling Pydantic models used across multiple MFDs stored in subpackages. The library utilizes the [project.optional-dependencies] section in pyproject.toml to specify optional dependencies for each subpackage
Every subpackage can be installed separately by specifying the package name in square brackets after the main package name. Structure:
├───<subpackage_name>
│ │ models.py
│ │ __init__.py
│ │ __version__.py
This subpackage contains models for configuration files. They are used in pytest-mfd-config
to define configuration files and their structure.
This subpackage contains models related with NVMs like EETrack
, Release
, ...
They are used to handle upload / download / search of NVMs stored in NVMManager.
This subpackage contains models for tested artifacts.
To install 'config' models only use:
pip install mfd-model[config]
- Create a new subpackage directory with the name of the subpackage.
- Add
models.py
file with models definitions. - Add
__init__.py
file. - Add
__version__.py
file with version definition. - Update
pyproject.toml
:- add the requirements in [project.optional-dependencies] section, e.g.:
data_processor = ["pydantic >= 2.0, < 3", "numpy >= 1.21.0"] # Example dependencies
- OS Independent
If you encounter any bugs or have suggestions for improvements, you're welcome to contribute directly or open an issue here.