Isolated django ORM (as close as possible to official version)
Project description
jorm
This project aims to provide a standalone version of Django's ORM for use in offline projects, such as desktop applications. It allows you to leverage the power and convenience of Django's ORM without the need for the full Django web framework.
Getting Started
Prerequisites
- Python 3.12^ (it could work with lower versions but there is no warranty)
- (Optional) Virtual environment for isolation
Installation
pip install jorm
Note: We recommend using python poetry
Contributing
Feel free to contribute by opening issues or pull requests. Make sure to follow good code of conduct (good manners, zero harrasing, zero bad words, respect others ideas, etc).
What I expect to accomplish?
Just the following flow on desktop apps
pip install jormjorm-admin startproject .(this is open to discussion if is good idea to use template for just these or entire "recommended" app template) This step creates the following files and directoriesmanage.py,db/settings.py,db/models.py,db/__init__.py,db/migrations/__init__.py(preserving as much functionality of manage.py as possible)- From anywhere on the app just
from db.models import ExampleModeland working as if on django.
License
This project is licensed under the MIT License - see the LICENSE file for details.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jorm-0.1.0.tar.gz.
File metadata
- Download URL: jorm-0.1.0.tar.gz
- Upload date:
- Size: 642.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.12.0 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3d6b245cae184ef4a37eb7d045a446f727cf21caad5fb70158cb25e4c2bca1c
|
|
| MD5 |
7c243cd89b7a91210769ff15b74a990d
|
|
| BLAKE2b-256 |
2571d3daa4e4cb91caea040b78f2570b038c8d050b6d113bcc855fe10f23d645
|
File details
Details for the file jorm-0.1.0-py3-none-any.whl.
File metadata
- Download URL: jorm-0.1.0-py3-none-any.whl
- Upload date:
- Size: 753.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.12.0 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96d3b00bc0b4039f56eeb40a5827e283e672bee9c2b48788739eb1a4a3233965
|
|
| MD5 |
7a6a3d182fd9a30ffe271fcffbcbc2a9
|
|
| BLAKE2b-256 |
08234695f7b98c8333380c31e893f830618643eab207ba450cd4da73589cc24c
|