Skip to main content

A modular, pipeline-first AI framework that unifies ML, DL, CV, NLP, and detection.

Project description

AIForge 🚀

A modular, pipeline-first AI framework that unifies ML, DL, CV, NLP, and detection through a plugin-based architecture.

🧠 Core Philosophy

  • Don't build one huge framework: Keep the core lightweight with zero heavy dependencies.
  • Plugin Ecosystem: Dynamically load the tools you need (OpenCV, scikit-learn, PyTorch, NLTK, YOLO) only when you need them.

📦 Installation

AIForge is built as a monorepo. You can install it locally:

pip install -e .

To install specific plugin dependencies:

pip install -e .[vision,ml,dl,nlp,yolo]
# Or install everything:
pip install -e .[all]

🔥 Usage

Python API

from aiforge import Pipeline, load_plugin

# Load necessary plugins
load_plugin("vision")
load_plugin("yolo")
load_plugin("nlp")

pipe = Pipeline()
result = (
    pipe
    .add("blur", kernel=5)
    .add("detect_yolo", model_name="yolov8n.pt")
    .add("tokenize")
    .run(input_data)
)

CLI

Run pipelines dynamically via YAML configuration files:

aiforge pipeline.yaml

pipeline.yaml Example:

plugins:
  - vision
  - yolo
input_data: "path/to/image.jpg"
pipeline:
  - blur:
      kernel: 5
  - detect_yolo: {}

🔌 Available Plugins

  • vision: OpenCV operations (blur, grayscale, edge_detect)
  • ml: scikit-learn models (train_rf, predict_rf)
  • dl: PyTorch integration (tensor_conversion, normalize_tensor)
  • nlp: NLTK tools (tokenize, lowercase)
  • yolo: Ultralytics object detection (detect_yolo)

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

trainer_03-0.1.1.tar.gz (3.6 MB view details)

Uploaded Source

Built Distribution

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

trainer_03-0.1.1-py3-none-any.whl (4.3 MB view details)

Uploaded Python 3

File details

Details for the file trainer_03-0.1.1.tar.gz.

File metadata

  • Download URL: trainer_03-0.1.1.tar.gz
  • Upload date:
  • Size: 3.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for trainer_03-0.1.1.tar.gz
Algorithm Hash digest
SHA256 646ebab395d1a72b7dded04c3fe7f66a970d39063348f1b47ebe1bd8337b4c15
MD5 db1a2c38130866b5886578fbaa86fd7f
BLAKE2b-256 8e19fe84406af4e5a4dcaf21530150f30599ae98bec3e1e9fbdb3157fbd4fb5f

See more details on using hashes here.

File details

Details for the file trainer_03-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: trainer_03-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for trainer_03-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c70eecdc4a51ecd45d503188da9375a85ed245bf3a9747b46557068a2965956b
MD5 d229ce6509829bcafd72b82272ec3b09
BLAKE2b-256 303074d5536d35ee4f8e853eeb6df46a59e48a65f7bbdcedeb4c968c4358af7f

See more details on using hashes here.

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