fastapi-new-0.0.6
توضیحات
Create a new FastAPI project in one command
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | fastapi-new-0.0.6 |
| نام | fastapi-new |
| نسخه کتابخانه | 0.0.6 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Sebastián Ramírez <tiangolo@gmail.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/fastapi-new/ |
| مجوز | - |
# fastapi-new
Create a new FastAPI project in one command. ✨
<a href="https://github.com/fastapi/fastapi-new/actions?query=workflow%3ATest+event%3Apush+branch%3Amain" target="_blank">
<img src="https://github.com/fastapi/fastapi-new/actions/workflows/test.yml/badge.svg?event=push&branch=main" alt="Test">
</a>
<a href="https://coverage-badge.samuelcolvin.workers.dev/redirect/fastapi/fastapi-new" target="_blank">
<img src="https://coverage-badge.samuelcolvin.workers.dev/fastapi/fastapi-new.svg" alt="Coverage">
</a>
<a href="https://pypi.org/project/fastapi-new" target="_blank">
<img src="https://img.shields.io/pypi/v/fastapi-new?color=%2334D058&label=pypi%20package" alt="Package version">
</a>
<a href="https://pypi.org/project/fastapi-new" target="_blank">
<img src="https://img.shields.io/pypi/pyversions/fastapi-new.svg?color=%2334D058" alt="Supported Python versions">
</a>
## How to use
Install [uv](https://docs.astral.sh/uv/getting-started/installation/) following their guide for your system.
Run:
```bash
uvx fastapi-new awesomeapp
```
This will create a new project `awesomeapp` with a basic FastAPI app, configured with uv.
Enter the directory:
```bash
cd awesomeapp
```
Run the development server:
```bash
uv run fastapi dev
```
Open your browser and go to `http://localhost:8000` to see your new FastAPI app running! 🚀
### Existing directory
If you want to create a new FastAPI project in an existing directory, run the command without a project name:
```bash
uvx fastapi-new
```
## License
This project is licensed under the terms of the MIT license.
نیازمندی
| مقدار | نام |
|---|---|
| - | typer>=0.16.0 |
| - | rich>=13.7.1 |
| - | typing-extensions>=4.12.2 |
| - | rich-toolkit>=0.15.1 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10 | Python |
نحوه نصب
نصب پکیج whl fastapi-new-0.0.6:
pip install fastapi-new-0.0.6.whl
نصب پکیج tar.gz fastapi-new-0.0.6:
pip install fastapi-new-0.0.6.tar.gz