DjangoPrime is an all-in-one Django library designed to accelerate your development process. It offers over 1000 custom exception classes, a powerful suite of middleware integrations, flexible JWT configuration services, and advanced tools for managing enums and models. DjangoPrime also includes pre-built solutions, absolute models, and modular components that allow developers to build scalable, maintainable, and sophisticated Django applications easily.
Project description
DjangoPrime
DjangoPrime is an all-in-one, powerful Django library designed to accelerate your development process. It provides a comprehensive toolkit, including over 1000 custom exception classes, middleware integrations, JWT configuration services, and advanced tools for enums and model management. DjangoPrime empowers developers to build scalable, maintainable, and sophisticated Django applications with ease.
Whether you're building a RESTful API or a full-fledged web application, DjangoPrime offers the modular components and pre-built solutions necessary to streamline your workflow and boost your development speed.
Features
- 🚀 Quick Start Templates: Get started with Django in seconds using predefined project structures and configurations.
- 🔧 Environment Management: Easily manage environment variables and settings with flexible tools.
- 📦 Modular Components: A collection of ready-to-use apps and components that can be easily integrated into any Django project.
- 💡 Custom Exception Classes: Enhance error handling with over 1000 pre-defined, customizable exception classes for various scenarios.
- 🔐 JWT Authentication: Easily integrate JWT-based authentication for secure user login and authorization. (Coming Soon)
- 🏗️ Absolute Models: Pre-built, scalable models to help you structure your application efficiently and reduce repetitive code.
- ⚙️ Middleware Integrations: A comprehensive set of middleware components that support custom responses, logging, and advanced logic handling.
- 📊 Advanced Enums & Choices: Tools to manage custom choices and enums, making it easier to handle complex model fields.
- 🔑 Flexible JWT Configuration: Customizable JWT services and token handling, providing you full control over authentication settings.
Installation
You can install the DjangoPrime, package using either pip or pipenv:
pip install djangoprime
Quickstart
1. Initialize a New Django Project
Install DjangoPrime using pip or pipenv as shown above.
2. Add DjangoPrime to INSTALLED_APPS
Once installed, add djangoprime to the INSTALLED_APPS list in your settings.py file:
INSTALLED_APPS = [
# other apps
'djangoprime',
]
3. Add Middleware to MIDDLEWARE
Next, configure the middleware by adding it to the MIDDLEWARE setting in your settings.py file:
MIDDLEWARE = [
# other middleware
'djangoprime.middleware.APIResponseMiddleware',
]
4. Configure Custom Exception Handler
To handle exceptions with the DjangoPrime custom handler, configure the EXCEPTION_HANDLER in your settings.py:
REST_FRAMEWORK = {
'EXCEPTION_HANDLER': 'djangoprime.exceptions.handler.exception_handler',
}
This will set up a custom exception handler for better error management and reporting in your REST framework views.
Documentation
For full documentation, visit the DjangoPrime Documentation (Coming Soon).
License
This project is licensed under a modified MIT License - see the LICENSE file for details.
Author & Maintainer
Created and maintained by Ankaj Gupta, the developer behind DjangoPrime.
Feel free to connect with me on LinkedIn for any inquiries.
This version organizes the information clearly, ensures that placeholders for future content are marked, and maintains a professional tone throughout. Adjust the documentation and URLs when they are available.
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 djangoprime-0.0.1.tar.gz.
File metadata
- Download URL: djangoprime-0.0.1.tar.gz
- Upload date:
- Size: 28.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4cde060b47a58abf1f1227093507946436ba5c5d5ed1f0ca0785ea3e4b430d6
|
|
| MD5 |
75f0de556e2e9141b78800cdff259429
|
|
| BLAKE2b-256 |
33d96301699817a31aea2aa349766fa2543e60286734fab318b136fbfde097f4
|
File details
Details for the file djangoprime-0.0.1-py3-none-any.whl.
File metadata
- Download URL: djangoprime-0.0.1-py3-none-any.whl
- Upload date:
- Size: 36.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a292c3c8abee5aa528e04239db1064375c1d956803d6261c84f2e0db4598ca20
|
|
| MD5 |
438730ea8e8c452ae4aad79b69950682
|
|
| BLAKE2b-256 |
f1979c43ca84616039927c71306ad150bf98983e5603225f0dc670e0d0637590
|