Metadata-Version: 2.1
Name: siteplan
Version: 0.1.1a0.dev1
Summary: Quickly build django website
License: MIT
Author: Kamal Mustafa
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: Django (>=3.2.6,<4.0.0)
Requires-Dist: click (>=8.0.1,<9.0.0)
Requires-Dist: gunicorn (>=20.1.0,<21.0.0)
Requires-Dist: whitenoise (>=5.3.0,<6.0.0)
Description-Content-Type: text/markdown



A new way to Django development. Start small, grow big.

## Quickstart
Create the app directory:-

```
mkdir myapp && cd myapp
python3 -mvenv venv
venv/bin/pip install siteplan
```

Add the following code to `app.py`:-

```
from siteplan import App, run
from django.http import HttpResponse

def index(request):
    return HttpResponse("Hello world")

from django.urls import path
urlpatterns = [
    path("test/", index),
]

conf = {}
app = App(conf, urls=urlpatterns)

if __name__ == "__main__":
    run(app)

```

Then run it with `siteplan`:-

```
venv/bin/siteplan --app app:app run -b 127.0.0.1:9001
```

