A simple and lightweight object mapper around SQLAlchemy core.
Project description
Naked SQLAlchemy
Naked SQLAlchemy is a simple and efficient layer on top of SQLAlchemy Core, designed to make database access faster and easier by focusing on query execution and result mapping to data classes.
Key Features
- Dataclass Mapping: Automatically map query results directly to Python dataclasses, eliminating the need for manual mapping.
- Stateless Session Management: Manage database sessions and transactions without the overhead of ORM state tracking or identity mapping.
- Support for Database Views: Easily treat database views like tables, enabling queries without the limitations imposed by traditional ORMs.
- Minimal Learning Curve: Minimal learning curve for developers familiar with SQL. Most complexity and most of SQLAlchemy documentation is because of SQLAlchemy ORM.
Naked SQLAlchemy is ideal for developers who want the power and flexibility of SQLAlchemy Core but without the unnecessary complexity and overheard of SQLAlchemy ORM. Whether you're dealing with database tables or views, this library provides a clean, efficient interface to work with your data, in closest possible
Installation
pip install naked-sqlalchemy
Attention
This library is not compatiable with SQLAlchemy ORM, and the goal is to provide an Engine with data mapper capabilities. If you are looking for an ORM, this library is not for you.
Any features such as relationship, lazy loading, identity map, etc. are not supported and will not be supported in the future.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file naked_sqla-0.1.0.tar.gz
.
File metadata
- Download URL: naked_sqla-0.1.0.tar.gz
- Upload date:
- Size: 85.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19788f19a1fefa13d0395b81190a507e20b28c921fec1ae39be83876a2449316 |
|
MD5 | c385e5c6be6ed4893faab00fa779763c |
|
BLAKE2b-256 | f84cbd4312dc77b4c46ab3e4ff7515b1c9c50bac67fa40259431b1a1d3b5823f |
File details
Details for the file naked_sqla-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: naked_sqla-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2488a1a7fe431bd12f98c1ee6fb5d6b409e09f5d7eb21a1b127c953f79627c74 |
|
MD5 | 6af4e132060d2ce89f2bef3eec348422 |
|
BLAKE2b-256 | 19818205898616fe748044da85bfe69fe94619cd5435415360fd5f2f2289eeef |