A professional Python Library for automated data cleaning, model selection, and visualization.
Project description
sol-ai-core
SOL Engine is now sol-ai-core, a professional, environment-agnostic Python library for automated data cleaning, machine learning model selection, and visualization.
Features
- Logic Separated: Works seamlessly in any Python environment (Jupyter, VS Code, CI/CD) without requiring Streamlit.
- Class-Based Design: Easy to use object-oriented approach.
- End-to-End Automation: Pass a DataFrame, auto-clean it, train models, and generate insights in just a few lines of code.
Installation
You can install the package via pip once published to PyPI:
pip install sol-ai-core
For local development:
git clone https://github.com/yourusername/sol-ai-core.git
cd sol-ai-core
pip install -e .
Usage
import pandas as pd
from sol_core.engine import SolEngine
# 1. Load your data
df = pd.read_csv("data.csv")
# 2. Initialize the engine
engine = SolEngine(df)
# 3. Clean the data automatically
clean_df = engine.auto_clean()
# 4. Train a model automatically (Classification or Regression)
report = engine.select_and_train_model(target_column="target")
print(report)
# 5. Generate Visualizations (Returns Matplotlib figure objects)
figures = engine.generate_visualizations(target_column="target")
figures['target_distribution'].show()
Publishing to PyPI
To build and publish this library to PyPI, use the following commands:
# Install build tools and twine
pip install build twine
# Build the package (creates dist/ directory)
python -m build
# Upload to PyPI (will prompt for username and password/token)
python -m twine upload dist/*
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 sol_ai_core-0.1.0.tar.gz.
File metadata
- Download URL: sol_ai_core-0.1.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93695d67eb86c3c14efd6f0b755be426cbb2fe09e45b5db7678d8bbee07370bb
|
|
| MD5 |
dd3978a966fc9e252ef2cefb9a3054e8
|
|
| BLAKE2b-256 |
4d04eb6bf463d1464f3426c1e7cc7ab944bd2b3ead6a607585a6f3f2c68cbec9
|
File details
Details for the file sol_ai_core-0.1.0-py3-none-any.whl.
File metadata
- Download URL: sol_ai_core-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7fd922c50aae88f8d96aadff8046a154d7ede1a3d66d517eefe99c2d90e97707
|
|
| MD5 |
180848f0499b846836a98ec19ac988b5
|
|
| BLAKE2b-256 |
dd52747af4eb18ef586f27286d8b6f24dea945bd2cab2291f14815aaad31277a
|