[!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.
MFD Model
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
Subpackages
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
config (used in pytest-mfd-config)
This subpackage contains models for configuration files. They are used in pytest-mfd-config to define configuration files and their structure.
nvm
This subpackage contains models related with NVMs like EETrack, Release, ...
They are used to handle upload / download / search of NVMs stored in NVMManager.
artifacts_manager
This subpackage contains models for tested artifacts.
Installation
To install 'config' models only use:
pip install mfd-model[config]
How to add another subpackage?
- Create a new subpackage directory with the name of the subpackage.
- Add
models.pyfile with models definitions. - Add
__init__.pyfile. - Add
__version__.pyfile 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 supported:
- OS Independent
Issue reporting
If you encounter any bugs or have suggestions for improvements, you're welcome to contribute directly or open an issue here.
Metadata
Release files for mfd-model 0.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mfd_model-0.10.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / mfd_model-0.10.0-py3-none-any.whl
| Download URL | mfd_model-0.10.0-py3-none-any.whl |
|---|---|
| Size | 19.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d4ff24cbd2781575ae25904aa558084ba9612e0ad7a1325b0b24477fdf438fe0
|
|
BLAKE2b-256 checksum How to use checksums |
93d269c8f3650d426332f4304271cc4171a49029e031c46dfc1d55be73e56cb1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|