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/*
Metadata
Release files for sol-ai-core 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| sol_ai_core-0.1.0.tar.gz | 4.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sol_ai_core-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.4 kB
Release files / sol_ai_core-0.1.0.tar.gz
| Download URL | sol_ai_core-0.1.0.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
93695d67eb86c3c14efd6f0b755be426cbb2fe09e45b5db7678d8bbee07370bb
|
|
BLAKE2b-256 checksum How to use checksums |
4d04eb6bf463d1464f3426c1e7cc7ab944bd2b3ead6a607585a6f3f2c68cbec9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / sol_ai_core-0.1.0-py3-none-any.whl
| Download URL | sol_ai_core-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7fd922c50aae88f8d96aadff8046a154d7ede1a3d66d517eefe99c2d90e97707
|
|
BLAKE2b-256 checksum How to use checksums |
dd52747af4eb18ef586f27286d8b6f24dea945bd2cab2291f14815aaad31277a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Security for sol-ai-core 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.