Metadata-Version: 2.1
Name: django-devapp
Version: 0.2.0
Summary: Basic tools to manage a django application outside of a Django project.
Home-page: https://github.com/raratiru/django-devapp
Author: George Tantiras
License: BSD 3-Clause License
Project-URL: Bug Tracker, https://github.com/raratiru/django-devapp/issues
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Natural Language :: English
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Internet :: WWW/HTTP :: Site Management
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE

# 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/)

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


