Skip to main content

Dragon-ML-Toolbox

A collection of machine learning pipelines and utilities, structured as modular packages for lightweight and customized virtual environments.

Modular scripts for data science workflows, including data exploration, ETL, model training, evaluation, and inference.

Support for PyTorch-based models, ensemble learning (XGBoost, LightGBM), MICE imputation, and basic GUI factory classes for model deployment.

Base Dependencies

"numpy>=2.0",
"pandas>=3.0",
"polars>=2.0",
"pyarrow",
"joblib",
"colorlog"

Supported Python Versions

Python 3.12

Python 3.13

Python 3.14

Installation

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
keys
math_utilities
callbacks
chain
configuration
datasetmaster
evaluation
evaluation_captum
ML_finalize_handler
finetune
inference
inference_sequence
inference_vision
loss
models
models_diffusion
models_sequence
models_vision
optimization
scaler
trainer
trainer_parallel
ML_utilities
vision_transformers
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
math_utilities
optimization_tools
outlier_detection
path_manager
plot_fonts
resampling
schema
serde
SQL
utilities
VIF
constants

🔠 Natural Language Processing [NLP]

NLP class using Sentence Transformers for generating dense embeddings from text data. Uses HuggingFace models and includes utilities for text preprocessing, TF-IDF vectorization, and dimensionality reduction.

pip install "dragon-ml-toolbox[NLP]"
Modules:
IO
NLP
path_manager
serde
utilities

🔬 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
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
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
path_manager
schema
serde

🤖 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
keys
models
models_sequence
models_vision # Requires: torchvision and Pillow
inference
inference_sequence
inference_vision # Requires: torchvision and Pillow
vision_transformers # Requires: torchvision and Pillow
vision_utilities # Requires: torchvision and Pillow
scaler
path_manager
schema
serde

Usage

After installation, import modules like this:

from dragon.serde import serialize_object, deserialize_object
from dragon.IO import custom_logger

Metadata

Release files for dragon-ml-toolbox 28.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dragon-ml-toolbox 28.4.0
File Size Uploaded Provenance Actions
dragon_ml_toolbox-28.4.0.tar.gz 484.2 kB Without provenance Details for dragon_ml_toolbox-28.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dragon-ml-toolbox 28.4.0
File Interpreter ABI Platform Actions
dragon_ml_toolbox-28.4.0-py3-none-any.whl Python 3 none any Details for dragon_ml_toolbox-28.4.0-py3-none-any.whl

Total release size: 1.1 MB

Release files / dragon_ml_toolbox-28.4.0.tar.gz

Download URL dragon_ml_toolbox-28.4.0.tar.gz
Size 484.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7f8915bd5d325e8ae24f651ad25f23f9a21b5f30905eb5d8ff5b3871d9835aff
BLAKE2b-256 checksum
How to use checksums
e4a21a0ba3c703fa79511bc83ab0d3b03e355f34472d3740a97b17e9cce37d99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","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-28.4.0-py3-none-any.whl

Download URL dragon_ml_toolbox-28.4.0-py3-none-any.whl
Size 631.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b6db00b4c14f548558c6c333868676712b1565bb6239ad91789f9739e1440825
BLAKE2b-256 checksum
How to use checksums
659122dade4e9e18e51227cac191bd5f8b6e26256adadbc5cbbb27af862cec51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","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 28.4.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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

28.4.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page