Utilities for AI development workflows with PyTorch, MLflow and other general purpose functions.
Project description
AIDevelopementToolkit
AIDevelopementToolkit is a production-ready Python package that provides reusable utilities for AI development workflows. The library is designed to help teams standardize training pipelines, logging, experiment tracking, preprocessing, and PyTorch model management without locking users into a single framework.
Scope
This package is intended for machine learning practitioners and engineering teams who need:
- a lightweight foundation for structured logging and experiment tracking,
- reusable utilities for data preprocessing and metric computation,
- robust checkpointing, model export, and inference tooling for PyTorch,
- distributed training helpers to support multi-GPU workflows,
- automatic artifact logging through MLflow,
- and file I/O helpers for JSON/YAML/CSV data interchange.
Main Features
logging_utils: standard logger configuration, MLflow integration, and file-based artifact helpers.data_utils: data preprocessing and evaluation metrics with padded sequence support.torch_utils: model checkpointing, ONNX export, inference helpers, early stopping, and distributed training support.general_utils: deterministic seed setting for PyTorch, NumPy, and Python.
Installation
pip install aidevelopementtoolkit
Or install from source:
git clone https://github.com/DanieleBertagnoli/AIDevelopementToolkit.git
cd AIDevelopementToolkit
pip install -e .
What’s Included
aidevelopementtoolkit.logging_utils: colorized console logger, file I/O wrappers, MLflow helpers, and Plotly visualization logging.aidevelopementtoolkit.data_utils: sequence-aware preprocessing and classification/clustering metrics.aidevelopementtoolkit.torch_utils: PyTorch checkpointing, ONNX export, runtime validation, model summaries, early stopping, and distributed process management.aidevelopementtoolkit.general_utils: seed initialization for reproducible experiments.
Usage Guidance
This repository keeps usage examples in the examples/ folder.
Review examples/mnist_training.py and examples/run_distributed.sh for real-world integration patterns and best practices.
The examples/run_distributed.sh script includes launcher commands for:
- single GPU, single node;
- multiple GPUs, single node;
- multiple GPUs across multiple nodes.
Documentation
Complete package documentation is available at:
https://DanieleBertagnoli.github.io/AIDevelopementToolkit/
Authors
Daniele Bertagnoli
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 Distribution
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 aidevelopementtoolkit-0.2.0.tar.gz.
File metadata
- Download URL: aidevelopementtoolkit-0.2.0.tar.gz
- Upload date:
- Size: 29.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d143f8918e8679f5d6d6525af9e6b456776896d5105fadde2bd559399607408
|
|
| MD5 |
7b32cb8663835015d73f4776745b5d6b
|
|
| BLAKE2b-256 |
075e44923d8c2393f229a3ac1656ec377fb2a0dd68103342195edf7db6ff37ef
|
Provenance
The following attestation bundles were made for aidevelopementtoolkit-0.2.0.tar.gz:
Publisher:
workflow.yml on DanieleBertagnoli/AIDevelopementToolkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aidevelopementtoolkit-0.2.0.tar.gz -
Subject digest:
1d143f8918e8679f5d6d6525af9e6b456776896d5105fadde2bd559399607408 - Sigstore transparency entry: 2268658458
- Sigstore integration time:
-
Permalink:
DanieleBertagnoli/AIDevelopementToolkit@4b6073efe2c162854c43d18b6e4b8ae4e5c5a1ee -
Branch / Tag:
refs/tags/v0.2.0-alpha - Owner: https://github.com/DanieleBertagnoli
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@4b6073efe2c162854c43d18b6e4b8ae4e5c5a1ee -
Trigger Event:
release
-
Statement type:
File details
Details for the file aidevelopementtoolkit-0.2.0-py3-none-any.whl.
File metadata
- Download URL: aidevelopementtoolkit-0.2.0-py3-none-any.whl
- Upload date:
- Size: 35.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9191b14d805755cb3f9b5ca0297ae848575d08869a809ec0a8e1b86c930aa514
|
|
| MD5 |
299425466bec1387872511d7caf4e984
|
|
| BLAKE2b-256 |
57c47903346a66e0911b37fc4e71523d63f5469a95aa2fefc11e668a58b30bad
|
Provenance
The following attestation bundles were made for aidevelopementtoolkit-0.2.0-py3-none-any.whl:
Publisher:
workflow.yml on DanieleBertagnoli/AIDevelopementToolkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aidevelopementtoolkit-0.2.0-py3-none-any.whl -
Subject digest:
9191b14d805755cb3f9b5ca0297ae848575d08869a809ec0a8e1b86c930aa514 - Sigstore transparency entry: 2268658585
- Sigstore integration time:
-
Permalink:
DanieleBertagnoli/AIDevelopementToolkit@4b6073efe2c162854c43d18b6e4b8ae4e5c5a1ee -
Branch / Tag:
refs/tags/v0.2.0-alpha - Owner: https://github.com/DanieleBertagnoli
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@4b6073efe2c162854c43d18b6e4b8ae4e5c5a1ee -
Trigger Event:
release
-
Statement type: