ai-dev-toolbox

Banner

Modular Python toolkit to accelerate AI workflows β€” automation, NLP, debugging, data cleaning, vector search, and task automation.


πŸš€ Features


πŸ“¦ Installation

git clone https://github.com/aiwithjusl/ai-dev-toolbox.git

cd ai-dev-toolbox

pip install -r requirements.txt


⚑ Quick Start

from devtoolbox.ai.ai_text_toolkit

import AITextToolkit

from devtoolbox.core.ai_debugger

import AIDebugger

πŸ§ͺ NLP Preprocessing

toolkit = AITextToolkit()

text = β€œRunning tests with NLTK and FAISS is awesome!”

tokens = toolkit.tokenize(text)

lemmas = toolkit.lemmatize(tokens)

print(β€œTokens:”, tokens)

print(β€œLemmas:”, lemmas)

🐞 Debugging a Sample Error

debugger = AIDebugger()

try: eval(β€œx === y”) # Intentional syntax error except Exception as e: debugger.debug(e)


βš™οΈ Requirements


πŸ§ͺ Run Tests

python3 -m unittest discover -s tests


πŸ““ Notebook Demo

Interactively explore features: πŸ“ notebooks/AI_DevToolBox_Demo.ipynb


πŸ’‘ Example Use Case: AI Prototyping

Clean incoming datasets

Debug pipeline issues on the fly

Test search accuracy with vector embeddings

Run NLP pipelines from a single interface

Register + trigger workflow functions


🧰 Toolkit Modules

Module Path Description
ai_text_toolkit devtoolbox/ai/ai_text_toolkit.py NLP utilities: tokenization, lemmatization, stopword removal, language detection
ai_debugger devtoolbox/core/ai_debugger.py Captures Python errors and suggests fixes using AST + trace logs
dataset_cleaner devtoolbox/data/dataset_cleaner.py Cleans data: handles nulls, trims whitespace, removes duplicates
vector_db_connector devtoolbox/vector_db_connector.py FAISS-based vector search wrapper
task_runner devtoolbox/tasking/task_runner.py Task scheduler with Python decorators

πŸ“‚ Project Structure

|----devtoolbox/
ai-dev-toolbox/ β”œβ”€β”€ devtoolbox/ β”‚   β”œβ”€β”€ ai/ β”‚   β”œβ”€β”€ core/ β”‚   β”œβ”€β”€ data/ β”‚   β”œβ”€β”€ tasking/ β”‚   β”œβ”€β”€ utils/ β”‚   └── vector_db_connector.py β”œβ”€β”€ notebooks/ β”œβ”€β”€ tests/ β”œβ”€β”€ LICENSE β”œβ”€β”€ README.md └── requirements.txt

πŸ‘€ About the Author

Justin Lane
πŸ”— GitHub: @aiwithjusl
πŸ”— LinkedIn: Justin Lane
πŸ“¬ Email: aiwithjusl.dev@gmail.com


πŸͺ„ License

MIT License – free for personal + commercial use