Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aidevelopementtoolkit-0.2.0.tar.gz (29.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aidevelopementtoolkit-0.2.0-py3-none-any.whl (35.7 kB view details)

Uploaded Python 3

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

Hashes for aidevelopementtoolkit-0.2.0.tar.gz
Algorithm Hash digest
SHA256 1d143f8918e8679f5d6d6525af9e6b456776896d5105fadde2bd559399607408
MD5 7b32cb8663835015d73f4776745b5d6b
BLAKE2b-256 075e44923d8c2393f229a3ac1656ec377fb2a0dd68103342195edf7db6ff37ef

See more details on using hashes here.

Provenance

The following attestation bundles were made for aidevelopementtoolkit-0.2.0.tar.gz:

Publisher: workflow.yml on DanieleBertagnoli/AIDevelopementToolkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aidevelopementtoolkit-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aidevelopementtoolkit-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9191b14d805755cb3f9b5ca0297ae848575d08869a809ec0a8e1b86c930aa514
MD5 299425466bec1387872511d7caf4e984
BLAKE2b-256 57c47903346a66e0911b37fc4e71523d63f5469a95aa2fefc11e668a58b30bad

See more details on using hashes here.

Provenance

The following attestation bundles were made for aidevelopementtoolkit-0.2.0-py3-none-any.whl:

Publisher: workflow.yml on DanieleBertagnoli/AIDevelopementToolkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page