Metadata-Version: 2.1
Name: djangoprime
Version: 0.0.1
Summary: 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.
Author-email: Ankaj Gupta <ankajgupta02@gmail.com>, Coder Website <contact@coderwebsite.com>
License: MIT
Keywords: django,djangoprime,django-prime,django project setup,django jwt,django custom response,django projects,django modular components
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Internet :: WWW/HTTP
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests
Requires-Dist: unidecode
Requires-Dist: django
Requires-Dist: djangorestframework
Requires-Dist: pygments
Requires-Dist: djangorestframework-simplejwt

# 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`:

```bash
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:

```python
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:

```python
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:

```python
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).

[//]: # (## Contributing)

[//]: # ()
[//]: # (Contributions are welcome! Please see the CONTRIBUTING.md file for more information on how to get involved.)


## License

This project is licensed under a modified MIT License - see the [LICENSE](LICENSE) file for details.


## Author & Maintainer

Created and maintained by [Ankaj Gupta](https://www.linkedin.com/in/ankajgupta02/), the developer behind **DjangoPrime**.

Feel free to connect with me on LinkedIn for any inquiries.

[//]: # (or collaboration opportunities.)

---
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.











