Module for handling models used across multiple MFDs (mostly Pydantic)
Project description
[!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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mfd_model-0.10.0-py3-none-any.whl.
File metadata
- Download URL: mfd_model-0.10.0-py3-none-any.whl
- Upload date:
- Size: 19.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4ff24cbd2781575ae25904aa558084ba9612e0ad7a1325b0b24477fdf438fe0
|
|
| MD5 |
adf0eca6a90967b325f846d6d0944cc4
|
|
| BLAKE2b-256 |
93d269c8f3650d426332f4304271cc4171a49029e031c46dfc1d55be73e56cb1
|