dragon-ml-toolbox
A collection of machine learning pipelines and utilities, structured as modular packages for easy reuse and installation. This package has no base dependencies, allowing for lightweight and customized virtual environments.
Features:
- Modular scripts for data science workflows, including data exploration, ETL, model training, evaluation, and inference.
- Support for PyTorch-based models, ensemble learning (XGBoost, LightGBM), and MICE imputation.
Installation
Python 3.12
Via PyPI
Install the latest stable release from PyPI:
Using pip:
pip install dragon-ml-toolbox
Using UV:
uv add dragon-ml-toolbox
Via conda-forge
Install from the conda-forge channel:
conda install conda-forge::dragon-ml-toolbox
Modular Installation
This toolbox is designed as a collection of mutually exclusive environments due to conflicting core dependencies.
- Rule: Create a fresh virtual environment for each module to use.
📦 Core Machine Learning Toolbox [ML]
Installs a comprehensive set of tools for typical data science workflows, including data manipulation, modeling, and evaluation using PyTorch.
➡️ On Windows, the default installation includes the CPU version of PyTorch. Follow the official instructions to install the CUDA version: PyTorch website
pip install "dragon-ml-toolbox[ML]"
Modules:
data_exploration
ETL_cleaning
ETL_engineering
imputation
IO_tools
keys
math_utilities
ML_callbacks
ML_chain
ML_configuration
ML_datasetmaster
ML_evaluation
ML_evaluation_captum
ML_finalize_handler
ML_finetune
ML_inference
ML_inference_sequence
ML_inference_vision
ML_loss
ML_models
ML_models_diffusion
ML_models_sequence
ML_models_vision
ML_optimization
ML_scaler
ML_trainer
ML_utilities
ML_vision_transformers
ML_vision_utilities
optimization_tools
outlier_detection
path_manager
plot_fonts
resampling
schema
serde
SQL
utilities
VIF
constants
🌳 Ensemble Learning [ensemble]
Comprehensive set of tools for typical data science workflows focused on XGBoost and LightGBM.
pip install "dragon-ml-toolbox[ensemble]"
Modules:
data_exploration
ensemble_evaluation
ensemble_inference
ensemble_learning
ensemble_optimization
ETL_cleaning
ETL_engineering
imputation
IO_tools
math_utilities
optimization_tools
outlier_detection
path_manager
plot_fonts
resampling
schema
serde
SQL
utilities
VIF
constants
🔬 MICE Imputation and Variance Inflation Factor [mice]
Utilities for advanced data cleaning and statistical checks. Features Multiple Imputation by Chained Equations (MICE) for handling missing data and Variance Inflation Factor (VIF) analysis to detect multicollinearity in features.
pip install "dragon-ml-toolbox[mice]"
Modules:
imputation
IO_tools
math_utilities
MICE
path_manager
plot_fonts
serde
utilities
VIF
📋 Excel File Handling [excel]
Installs dependencies required to process and handle .xlsx or .xls files.
pip install "dragon-ml-toolbox[excel]"
Modules:
IO_tools
excel_handler
path_manager
🎰 GUI for Boosting Algorithms (XGBoost, LightGBM) [gui-boost]
GUI tools compatible with XGBoost and LightGBM models used for inference.
pip install "dragon-ml-toolbox[gui-boost]"
Modules:
ensemble_inference
GUI_tools
IO_tools
path_manager
schema
serde
constants
🤖 GUI for PyTorch Models [gui-torch]
GUI tools compatible with PyTorch models used for inference.
pip install "dragon-ml-toolbox[gui-torch]"
Modules:
GUI_tools
IO_tools
keys
ML_models
ML_models_sequence
ML_models_vision # Requires: torchvision and Pillow
ML_inference
ML_inference_sequence
ML_inference_vision # Requires: torchvision and Pillow
ML_vision_transformers # Requires: torchvision and Pillow
ML_vision_utilities # Requires: torchvision and Pillow
ML_scaler
path_manager
schema
constants
Usage
After installation, import modules like this:
from dragon.serde import serialize_object, deserialize_object
from dragon.IO_tools import custom_logger
Metadata
Release files for dragon-ml-toolbox 26.11.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| dragon_ml_toolbox-26.11.0.tar.gz | 451.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dragon_ml_toolbox-26.11.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.0 MB
Release files / dragon_ml_toolbox-26.11.0.tar.gz
| Download URL | dragon_ml_toolbox-26.11.0.tar.gz |
|---|---|
| Size | 451.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b01ab0d8ce263520391b26ec7f1e1388db92d210162b9297fc5dbd1d063dab38
|
|
BLAKE2b-256 checksum How to use checksums |
918f1c04bc7d0e6653c563547564e1fc6e46aeecd7a7311561923eb166d4317d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / dragon_ml_toolbox-26.11.0-py3-none-any.whl
| Download URL | dragon_ml_toolbox-26.11.0-py3-none-any.whl |
|---|---|
| Size | 583.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2a70c025672c74c4a9b5c9129cca963827ef7b27bc4f4db07ec02a6f95cd5223
|
|
BLAKE2b-256 checksum How to use checksums |
df1c45cea718e4e60ce720d2aa9b5cbc4ce680c56ca9ca5091a965a66e9bd8ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for dragon-ml-toolbox 26.11.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.