Metadata-Version: 2.4
Name: django-devapp
Version: 0.4.3
Summary: Basic tools to manage a django application outside of a Django project
License: BSD-3-Clause License
License-File: LICENSE
Author: George Tantiras
Requires-Python: >=3.11
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Internet :: WWW/HTTP
Requires-Dist: black (>=26.0.0,<27.0.0)
Requires-Dist: build (>=1.2.2.post1,<2.0.0)
Requires-Dist: click (>=8.1.8,<9.0.0)
Requires-Dist: django (>=5.1.6,<6.0.0)
Requires-Dist: ipython (>=9.0.0,<10.0.0)
Requires-Dist: twine (>=6.1.0,<7.0.0)
Description-Content-Type: text/markdown

# Django DevApp
Basic tools to manage a django application outside of a Django project.

Inspired from:
* ["How to Write an Installable Django App"](https://realpython.com/installable-django-app/#bootstrapping-django-outside-of-a-project).
* ["Packaging Python Projects"](https://packaging.python.org/en/latest/tutorials/packaging-projects/)

# Depends on:

    * black
    * build
    * click
    * django
    * ipython
    * twine
    
# Help
```
$ dev --help
Usage: dev [OPTIONS]

Options:
  -a       Create Application
  -b       Run Black  [default: black]
  -bb      Build Application
  -m       Make Migrations
  -M       Migrate
  -n TEXT  The name of the application or DEVAPP_NAME env variable.
           [required]
  -pp      Upload to Pypi
  -s       Run Django Shell
  --help   Show this message and exit.

```
# Example
```
$ tree
.
├── LICENSE
├── pyproject.toml
├── README.md
└── setup.cfg

$ export DEVAPP_NAME=app
$ dev -a

$ tree
.
├── db.sqlite3
├── LICENSE
├── pyproject.toml
├── app
│   ├── admin.py
│   ├── apps.py
│   ├── __init__.py
│   ├── migrations
│   │   └── __init__.py
│   ├── models.py
│   ├── tests.py
│   └── views.py
├── README.md
└── setup.cfg
```

