Metadata-Version: 2.4
Name: unfazed
Version: 0.0.5
Summary: a django-like async python web framework
Author-email: "xin.zhou" <zhouxin576@gmail.com>
License: Copyright (c) 2024, unfazed-eco
        All rights reserved.
        
        Redistribution and use in source and binary forms, with or without
        modification, are permitted provided that the following conditions are met:
        
        * Redistributions of source code must retain the above copyright notice, this
          list of conditions and the following disclaimer.
        
        * Redistributions in binary form must reproduce the above copyright notice,
          this list of conditions and the following disclaimer in the documentation
          and/or other materials provided with the distribution.
        
        * Neither the name of the {organization} nor the names of its
          contributors may be used to endorse or promote products derived from
          this software without specific prior written permission.
        
        THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
        AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
        IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
        DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
        FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
        DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
        SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
        CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
        OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
        OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
License-File: LICENSE
Requires-Python: >=3.12
Requires-Dist: aerich>=0.8.1
Requires-Dist: anyio>=4.7.0
Requires-Dist: asgiref>=3.8.1
Requires-Dist: click>=8.1.8
Requires-Dist: httpx>=0.28.1
Requires-Dist: itsdangerous>=2.2.0
Requires-Dist: jinja2>=3.1.5
Requires-Dist: orjson>=3.10.13
Requires-Dist: pydantic>=2.10.4
Requires-Dist: python-multipart>=0.0.20
Requires-Dist: redis>=5.2.1
Requires-Dist: starlette>=0.45.1
Requires-Dist: tortoise-orm>=0.23.0
Requires-Dist: uvicorn>=0.34.0
Description-Content-Type: text/markdown


![unfazed](docs/images/unfazed-title.png)

<p align="center">
    <em>Production Ready ASGI web framework</em>
</p>


-----

**Documentation**: [unfazed](https://unfazed.github.io/)

-----


Unfazed
----


Unfazed is a fully-featured ASGI web framework that is production ready. It is designed to build fast, scalable, maintainable web applications and inspired by Django.


Unfazed offer you

- pluggable app system
- command system
- middleware
- tortoise-orm integration
- redis cache integration
- process safe log handler
- lifespan protocol
- openapi support
- serializer support based on tortoise-orm
- scalable admin page with unfazed-admin(coming soon)
- basic rbac system
- session support
- test client support
- request args parser support


and with unfazed ecosystem

- unfazed-admin
- unfazed-prometheus
- unfazed-celery
- unfazed-sentry
- unfazed-redis
- unfazed-locust
- unfazed-pyroscope
- unfazed-scalene ?

with these tools, you can build a production-ready web application quickly.


## Installation

```shell

pip install unfazed


```

## Quick start

1、create a new project

```shell
unfazed-cli startproject -n myproject

cd myproject/src/backend

docker-compose up -d
docker-compose exec unfazed bash


```

2. create a new app

```shell

# add app to project
python manage.py startapp -n myapp

```


3. runserver

```shell

python manage.py runserver --host 0.0.0.0 --port 9527

```

4. follow toturial

[unfazed-tutorial](https://unfazed.github.io/)


