SmartKDB v5 Installation Guide

Quick Install

pip install smartkdb

That’s it! SmartKDB has zero dependencies and works on all platforms.


Detailed Installation

Requirements

  • Python 3.8 or higher

  • pip (Python package manager)

Verify Python Version

python --version
# Should show: Python 3.8.x or higher

Install from PyPI

pip install smartkdb

# Or upgrade existing installation
pip install --upgrade smartkdb

Install from Source (for developers)

git clone https://github.com/alhdrawi/smartkdb
cd smartkdb
pip install -e .

Verify Installation

Run this to confirm everything works:

from smartkdb import SmartKDB

db = SmartKDB("test.kdb")
users = db.create_table("users")
users.insert({"name": "Test User"})

print("✅ SmartKDB is working!")

Platform-Specific Notes

Windows

pip install smartkdb

macOS / Linux

pip3 install smartkdb

IDE Setup

VS Code

  1. Install Python extension

  2. Open project folder

  3. SmartKDB will provide full IntelliSense automatically!

PyCharm

  1. Create new Python project

  2. pip install smartkdb

  3. Autocomplete works out of the box!


Troubleshooting

Issue: “Command not found: pip”

Solution: Install pip:

python -m ensurepip --upgrade

Issue: “Permission denied”

Solution: Use --user flag:

pip install --user smartkdb

Issue: “Module not found”

Solution: Make sure you’re using the right Python:

python -m pip install smartkdb

Next Steps

Installation complete!

Now try:

  1. Run python examples/quickstart.py

  2. Read the User Guide

  3. Explore the examples/ folder

Happy coding! 🚀