djpro - A Python package tailored for Django

Feb 26, 2025

djpro is the Python package that allows you to create a Django project using a modular and scalable architecture with options like API configuration, DjangoAdminSite custom theme and Docker to optimize your development time.

PyPI Stats

Overview

The idea of this package is to facilitate the creation of a Django project with a modular and scalable architecture, facilitating and optimizing the development time. Through CLI commands, you will be able to include configuration options such as: Django Rest Framework configuration for further API development. Unfold setup and configuration for a customization of the Django Admin Site theme. Docker configuration from an early stage of development to facilitate future deployment.

Using djpro you can stop creating the directories of your Django project from scratch.

Why use djpro?

Django’s Command Line Interface (CLI) is a powerful tool for generating well-structured Django projects. However, maintaining that clean structure can become challenging as we create multiple apps, models, views, and routes.

djpro project

How djpro works

// project command
$ djpro project new-django-project

this command will create a Django project with the following structure:

root/
├── .env.dev
├── .gitignore
├── requirements.txt
└── src/
    ├── bin/
       ├── __init__.py
       └── manage.py
    ├── config/
       ├── .env.conf
       ├── __init__.py
       ├── asgi.py
       ├── settings_base.py
       ├── settings_dev.py
       ├── settings_prod.py
       ├── settings.py
       ├── urls.py
       └── wsgi.py
    ├── modules/
       ├── __init__.py
       └── authentication/
           ├── __init__.py
           ├── models/
              ├── __init__.py
              └── auth_model.py
           ├── serializers/
              ├── __init__.py
              └── login_serializer.py
           ├── urls.py
           └── views/
               ├── __init__.py
               └── login.py
    ├── static/
    ├── tests/
    ├── templates/
    └── utils/
        └── __init__.py

See all available commands in the official documentation:

Project Information

djpro is released under the MIT / X11 License, its documentation lives at Read the Docs, the code on GitHub, and the latest release on PyPI.

If you would like to contribute to djpro, please take a look at the current issues. If there is a bug or feature that you want but it isn’t listed, make an issue and work on it. For more info visit the Contribution guide.

Franco Gidaszewski