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.0.tar.gz (3.8 kB 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.0-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: trainer_03-0.1.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • 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.0.tar.gz
Algorithm Hash digest
SHA256 6f1b80332dac9c2ab4d903183d9f7e98b85e2b0dd5fdd7502262b16d775bf57b
MD5 077cdaee48281b6940a1b6a4a719387c
BLAKE2b-256 5fdc69c52a30966aa28a59c6d7bfb3b27c1e8130131bef27bb5eaa4855417e91

See more details on using hashes here.

File details

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

File metadata

  • Download URL: trainer_03-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 544f6755678e57ed8427cc53f7a0ddf9374d786118e0b62d5757b94a747dd01a
MD5 f27974011e65f9b7b049008d70b32242
BLAKE2b-256 1504bdfa882fbfdcc05aeb5f2a4647c7d31b991073a221083c8da82166854d04

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