DjangAutomate
Overview
DjangAutomate automates the creation of Django apps, models, serializers, and views directly from SQLAlchemy database tables. It eliminates manual code writing, enforces consistency, and speeds up development for Django projects.
Features
- Automatic Model Generation: Converts SQLAlchemy tables into Django models.
- Serializer & View Generation: Generates Django REST Framework serializers and views.
- Seamless ORM Transition: Helps migrate from SQLAlchemy to Django ORM.
- Configurable & Extensible: Customize generators to fit your project.
Installation
Install DjangAutomate using pip:
pip install djangautomate
Or using Poetry:
poetry add djangautomate
Usage
Generate Django Models from SQLAlchemy
from djangautomate.generators import ModelGenerator
generator = ModelGenerator("sqlite:///example.db", "your_table")
model_code = generator.generate()
print(model_code)
Automate Full Django App Generation
from djangautomate import Djangautomate
automator = Djangautomate("sqlite:///example.db", "users", app_name="my_app")
automator.generate_code_files()
Documentation
The full documentation is hosted on Read the Docs:
https://djangautomate.readthedocs.io
To build the documentation locally:
git clone https://github.com/pr1m8/djangautomate.git
cd djangautomate/docs
make html
Contributing
See CONTRIBUTING.md for contribution guidelines.
License
This project is licensed under the MIT License - see the LICENSE file.
Author
Developed by pr1m8 (GitHub).
Metadata
Release files for djangautomate 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| djangautomate-0.1.0.tar.gz | 4.8 kB | Without provenance | Details for djangautomate-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| djangautomate-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for djangautomate-0.1.0-py3-none-any.whl |
Total release size: 11.0 kB
Release files / djangautomate-0.1.0.tar.gz
| Download URL | djangautomate-0.1.0.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2f7d1b21b36584220494d2927fb57af9427e752061bf4d68bf5b7994d4401ecf
|
|
BLAKE2b-256 checksum How to use checksums |
a7073ac2f91b9cdaabb5abe4927bb764c61cf4e36f543edb33de1bb6f4badeba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.12.3 Linux/5.15.167.4-microsoft-standard-WSL2
|
Release files / djangautomate-0.1.0-py3-none-any.whl
| Download URL | djangautomate-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
94b0022560369448e5bb8a050aeeeaa723b1fe16938503ad0649dd208b0a24a2
|
|
BLAKE2b-256 checksum How to use checksums |
a1a6b423eaaaaae08f6d4a8556ba67df251b30277d31c1598d6f83e7de1c46cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.12.3 Linux/5.15.167.4-microsoft-standard-WSL2
|
Security for djangautomate 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.