Skip to main content

PyliteDB is a lightweight, fast and simple database management system

Project description

🚀 PyLite

PyLite is a lightweight database built in Python 🐍, designed to be super easy to use, beginner-friendly 🎓, and production-ready! With PyLite, you can seamlessly perform essential database operations like Insert, Select, Update, and Delete using intuitive, Pythonic syntax. Perfect for both learning 📚 and real-world projects 🏗️!

💡 Why Choose PyLite?

  • 0 Extra Code
  • 0 Complex Configurations
  • 🔄 Built-in Converter from SQL databases (using sqlite3)
  • ⚙️ 1 Config File to get started in no time
  • 🧠 Tightly Integrated with Python
  • 🌐 Built-in DataBrowser (Web-based) — use it Standalone or Host it!

🚀 Getting Started

⚙️ Instalation

View PyliteDB on pypi.org

pip install PyliteDB

📚 Usage Without Config File

  • Converting SQL to PYLITE Database
from Pylite import Database
db = Database()
db.LoadFromSQL("SLQ_FILE_PATH")
db.Save("SAVE_LOCATION","YOUR_PASSWORD")
  • Loading Database
from Pylite import Database
db = Database("SAVE_LOCATION","YOUR_PASSWORD",AutoSave=True)

📚 Usage With Config File

Config Files are just python scripts to iniialize the database and create Tables shortcuts and more ...

Create a Config file Database.py

from Pylite import Database

password = "YOUR_PASSWORD"
path     = "PYLITE_FILE_PATH"
Database = Database(Path=path,Password=password,AutoSave=True)
# Table Shortcuts (Optional)
Accounts = Database.Accounts #Examples

Now Go to the script you Want to use pylite in for example app.py

from Database import Accounts #Import Tables Directly

#Example Functions
def Login(Email,Password):
    return Accounts.Exists(
        Email    = Email ,
        Password = Password
    )

def SignUp(Email,Password):
    return Accounts.Insert(
        Email    = Email ,
        Password = Password
    )

TODO : Types on read from sql

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

pylitedb-0.3.3.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PyliteDB-0.3.3-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file pylitedb-0.3.3.tar.gz.

File metadata

  • Download URL: pylitedb-0.3.3.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for pylitedb-0.3.3.tar.gz
Algorithm Hash digest
SHA256 8d9cac2271f302ef13b8ddb9441dd8ad9c1ba78e5b30d7945e60952ad20abb5f
MD5 de8f5b3906ffaa81f775d8ad06f74f78
BLAKE2b-256 04119094545ceb70e1e85bb0c82acdd79e4e196494425ad702babe81b498061b

See more details on using hashes here.

File details

Details for the file PyliteDB-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: PyliteDB-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for PyliteDB-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a14287cbdd18ff38147a9a75e93d62abbdb93726078df0dbf029e5dfec4e7ec2
MD5 a999ef4472a17e89405bcac7a5fb51eb
BLAKE2b-256 4eee2ea9e403cc08290e407c629d68a0961a10a3b7f5fc5c12891b1ec61940ae

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