Skip to main content

SmolORM is a small ORM for Python

Project description

smolorm

A tiny, minimalistic ORM for Python — built to make SQL feel simple, explicit, and fun.
smolorm doesn’t try to hide SQL; it helps you write it fluently, keep full control over queries, and understand exactly what’s happening under the hood.

Perfect for learning SQL, prototyping, or building small apps without dragging in a massive framework.

Features

  • Fluent API: select().where().run() style chaining
  • CRUD operations: .create(), .update(), .delete()
  • Model-based: Define tables by subclassing SqlModel
  • Dynamic expressions with col() for building WHERE clauses
  • Table management: Create and drop tables directly from models
  • No hidden magic: SQL is generated transparently, no ORM black box

Installation

pip install smolorm

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

smolorm-0.0.2.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

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

smolorm-0.0.2-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file smolorm-0.0.2.tar.gz.

File metadata

  • Download URL: smolorm-0.0.2.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for smolorm-0.0.2.tar.gz
Algorithm Hash digest
SHA256 8eff300538cbca71f51aa9224e5d0d6ca52483ab11350580182fe5a130856d2d
MD5 851e517133a49d717e737d012340bcfd
BLAKE2b-256 08bb817dfcb5082d9591ba6abaa22a1dfb1428b2f82ff151a9024ad1b8863a69

See more details on using hashes here.

File details

Details for the file smolorm-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: smolorm-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for smolorm-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 41a1a466f88ba7f3be9398590f075ae6aa4748fad022ee25f4fd1410036fe1d0
MD5 20bca59f521472e15c65ff9ba06944f1
BLAKE2b-256 45b6fbde872b8e29c068e815c9268819a6648807f45b1102004ad3c9eb7b9ad3

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