Skip to main content

PyliteDB

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

pip install git+https://github.com/ilify/Pylite.git

📚 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
    )

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.1.0.tar.gz (9.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.1.0-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pylitedb-0.1.0.tar.gz
  • Upload date:
  • Size: 9.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.1.0.tar.gz
Algorithm Hash digest
SHA256 954f4b7232110a8f34fa265d9272588072b544702198ec0a0bd9ce35e449fc65
MD5 8e6dc2ca71033638059364afc4e45142
BLAKE2b-256 95db6d564ad77cb3d033e3bcef87ec953f1431de32e0ce43c825e49ed56b1854

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyliteDB-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.4 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3d02b7687b5ef42ff4588aaeaae487beaf6c82762c9140fa09c62e1709d27df7
MD5 71d38832338b63755b7c5d9d8e622d54
BLAKE2b-256 806e448c350a0ef77f1cb23c630f1a3575ae26def638366a76a141c7fabaa9b8

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