Metadata-Version: 2.4
Name: pyteet
Version: 0.0.7
Summary: Pyteet is a lightweight WSGI web application framework.
Project-URL: Documentation, https://github.com/nathanwinther/pyteet#readme
Project-URL: Issues, https://github.com/nathanwinther/pyteet/issues
Project-URL: Source, https://github.com/nathanwinther/pyteet
Author-email: Nathan Winther <nathanwinther@fastmail.fm>
License-Expression: MIT
License-File: LICENSE.txt
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.8
Requires-Dist: awsgi2
Requires-Dist: email-validator
Requires-Dist: flask
Requires-Dist: flask-cors
Description-Content-Type: text/markdown

# Pyteet

A petite [WSGI](https://wsgi.readthedocs.io/)
web application framework. 
Use with [Flask](https://flask.palletsprojects.com/en/stable/),
a simple wrapper around 
[Werkzeug](https://werkzeug.palletsprojects.com/) and 
[Jinja](https://jinja.palletsprojects.com/).
Inspired by
[Laravel](https://laravel.com).

## Table of Contents

- [Installation](#installation)
- [Commands](#commands)
- [License](#license)

## Installation

```console
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install pyteet
```

## Commands

View available commands

```console
python3 -m pyteet
```

Set up a new project

```console
python3 -m pyteet init
cp app.ini.example app.ini
```

Create your own commands

```console
python3 -m pyteet make command orders
```

Create a controller

```console
python3 -m pyteet make controller contact
```

Create a model

```console
python3 -m pyteet make model Contact
```

Create a database migration

```console
python3 -m pyteet make migration create_contacts
```

View database migrations

```console
python3 -m pyteet migrate status
```

Run database migrations

```console
python3 -m pyteet migrate run
```

Rollback database migrations

```console
python3 -m pyteet migrate rollback
```

## License

`pyteet` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.
