It translates django models into sqlalchemy orm/expression objects.
Project description
Requirements
Python: 3.5 or later.
Tested with 3.6, 3.9
Django: 2.x, 3.x
Tested with 2.2.9, 3.0.1, 3.1.1
SQLAlchemy: 1.1 or later.
Tested with 1.1.0, 1.4.1
2 STEPS TO USE
Installation
$ pip install d2a -U
Add d2a to settings.INSTALLED_APPS.
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
# :
# :
'd2a',
]
Code generation
$ ./manage.py sqla_codegen
Link
See more details on walkframe docs
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
d2a-3.0.1.tar.gz
(14.4 kB
view details)
Built Distribution
d2a-3.0.1-py3-none-any.whl
(17.0 kB
view details)
File details
Details for the file d2a-3.0.1.tar.gz
.
File metadata
- Download URL: d2a-3.0.1.tar.gz
- Upload date:
- Size: 14.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 546f58f27017a09cf7dec24daa016042f04b7d8535677e582522481f88578a16 |
|
MD5 | 228edb9fa47529d8311b4515247a1e7b |
|
BLAKE2b-256 | e7fc725ddf363c4fe30e8acd69fff7d3fa893407d8c91031cf0e6d983592b9b0 |
File details
Details for the file d2a-3.0.1-py3-none-any.whl
.
File metadata
- Download URL: d2a-3.0.1-py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3921db62677ffb99ad2b4b2f6fecaaa6261ff1c184097f5645265340f0aa1ae |
|
MD5 | 40d4a7a8f1dcbc2f5eb1f49c23f38516 |
|
BLAKE2b-256 | 4208145e6db9bd5f9dffe47706e2c447125f3a2cf4dcaef9355f92d905745c08 |