<p align="center">
<h2 align="center">FastAPI-Serve: FastAPI to the Cloud, Batteries Included! âī¸đđ</h2>
</p>
<p align=center>
<a href="https://pypi.org/project/fastapi-serve/"><img alt="PyPI" src="https://img.shields.io/pypi/v/fastapi-serve?label=Release&style=flat-square"></a>
<a href="https://discord.jina.ai"><img src="https://img.shields.io/discord/1106542220112302130?logo=discord&logoColor=white&style=flat-square"></a>
<a href="https://pypistats.org/packages/fastapi-serve"><img alt="PyPI - Downloads from official pypistats" src="https://img.shields.io/pypi/dm/fastapi-serve?style=flat-square"></a>
<a href="https://github.com/jina-ai/fastapi-serve/actions/workflows/cd.yml"><img alt="Github CD status" src="https://github.com/jina-ai/fastapi-serve/actions/workflows/cd.yml/badge.svg"></a>
</p>
Welcome to **fastapi-serve**, your one-stop solution to seamless FastAPI application deployments. Powered by our open-source framework [Jina](https://github.com/jina-ai/jina), `fastapi-serve` provides an effortless transition from your local setup to [cloud.jina.ai](https://cloud.jina.ai/), our robust and scalable cloud platform. đŠī¸
Designed with developers in mind, `fastapi-serve` simplifies the deployment process by packing robust functionality, ease-of-use, and automated procedures into one comprehensive package. With `fastapi-serve`, we aim to streamline the "last mile" of FastAPI application development, allowing you to focus on what truly matters - writing great code!
## đ Features
- đ **HTTPS**: Auto-provisioned DNS and TLS certificates for your app.
- đ **Protocols**: Full compatibility with HTTP, WebSocket, and GraphQL.
- âī¸ **Scaling**: Scale your app manually or let it auto-scale based on RPS, CPU, and Memory.
- đī¸ **Secrets**: Secure handling of secrets and environment variables.
- đī¸ **Hardware**: Choose the right compute resources for your app's needs with ease.
- đ **Authorization**: Built-in OAuth2.0 token-based security to secure your endpoints.
- đž **App Storage**: Persistent and secure network storage for your app data.
- đ **Blob Storage**: Built-in support for seamless user file uploads and downloads.
- đ **Observability**: Integrated access to logs, metrics, and traces. (Alerting coming soon!)
- đĻ **Containerization**: Effortless containerization of your Python codebase with our integrated registry.
- đ ī¸ **Self-Hosting**: Export your app for self-hosting with ease, including docker-compose and Kubernetes yamls.
## đĄ Getting Started
First, install the `fastapi-serve` package using pip:
```bash
pip install fastapi-serve
```
Then, simply use the `fastapi-serve` command to deploy your FastAPI application:
```bash
fastapi-serve deploy jcloud main:app
```
You'll get a URL to access your newly deployed application along with the Swagger UI.
## đ Documentation
Dive into understanding `fastapi-serve` through our comprehensive documentation and examples:
- đ **Getting Started**
- 𧹠[Deploy a Simple FastAPI Application](docs/simple/)
- đĨī¸ [Dig deep into the `fastapi-serve` CLI](docs/CLI.md)
- âī¸ [Understanding Configuration and Pricing](docs/CONFIG.MD)
- đ [Upgrade your FastAPI applications with zero downtime](docs/upgrades/)
- đĸ Managing Larger Applications with Complex Directory Structure (Example TBD!)
- âī¸ **Scaling**
- đš [Auto-scaling endpoints based on CPU usage](docs/autoscaling/cpu/)
- đ [Serverless (scale-to-zero) deployments based on RPS](docs/autoscaling/serverless/)
- 𧊠**Config & Credentials**
- đ [Leverage Environment Variables for app configuration](docs/envs/)
- đī¸ [Use Secrets for Redis-Powered Rate Limiting](docs/rate_limit/)
- đž **Storage**
- đ [Handle File Uploads and Downloads with built-in Blob Storage](docs/file_handling/)
- đ Network Storage for persisting and securely accessing app data (Example TBD!)
- đ **Security**
- đŽââī¸ [Secure Your Endpoints with built-in OAuth2.0 Authorization](docs/authorization/)
- đŗ **Deployment Options**
- đĸ Deployment with Custom Dockerfile (Coming Soon!)
- â¸ī¸ [Export Your App for Self-Hosting with docker-compose / Kubernetes](docs/export/)
- đ **Observability**
- đ Access Logs, Metrics, and Traces for your app (Example TBD!)
- đ¨ Set up Alerts for your app (Coming Soon!)
## đĒ Support
If you encounter any problems or have questions, feel free to open an issue on the GitHub repository. You can also join our [Discord](https://discord.jina.ai/) to get help from our community members and the Jina team.
## đ Our Cloud Platform
`cloud.jina.ai` is our robust and scalable cloud platform designed to run your FastAPI applications with minimum hassle and maximum efficiency. With features like auto-scaling, integrated observability, and automated containerization, it provides a seamless and worry-free deployment experience.
---
`fastapi-serve` is more than just a deployment tool, it's a bridge that connects your local development environment with our powerful cloud infrastructure. Start using `fastapi-serve` today, and experience the joy of effortless deployments! đ
Raw data
{
"_id": null,
"home_page": "https://github.com/jina-ai/fastapi-serve/",
"name": "fastapi-serve",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "jina fastapi restapi cloud docker kubernetes",
"author": "Jina AI",
"author_email": "hello@jina.ai",
"download_url": "https://files.pythonhosted.org/packages/05/be/a2e051aa2c7f81b988356464db7a588c887c4ecb949c063b3cf2143032ef/fastapi-serve-0.0.6.tar.gz",
"platform": null,
"description": "<p align=\"center\">\n<h2 align=\"center\">FastAPI-Serve: FastAPI to the Cloud, Batteries Included! \u2601\ufe0f\ud83d\udd0b\ud83d\ude80</h2>\n</p>\n\n<p align=center>\n<a href=\"https://pypi.org/project/fastapi-serve/\"><img alt=\"PyPI\" src=\"https://img.shields.io/pypi/v/fastapi-serve?label=Release&style=flat-square\"></a>\n<a href=\"https://discord.jina.ai\"><img src=\"https://img.shields.io/discord/1106542220112302130?logo=discord&logoColor=white&style=flat-square\"></a>\n<a href=\"https://pypistats.org/packages/fastapi-serve\"><img alt=\"PyPI - Downloads from official pypistats\" src=\"https://img.shields.io/pypi/dm/fastapi-serve?style=flat-square\"></a>\n<a href=\"https://github.com/jina-ai/fastapi-serve/actions/workflows/cd.yml\"><img alt=\"Github CD status\" src=\"https://github.com/jina-ai/fastapi-serve/actions/workflows/cd.yml/badge.svg\"></a>\n</p>\n\nWelcome to **fastapi-serve**, your one-stop solution to seamless FastAPI application deployments. Powered by our open-source framework [Jina](https://github.com/jina-ai/jina), `fastapi-serve` provides an effortless transition from your local setup to [cloud.jina.ai](https://cloud.jina.ai/), our robust and scalable cloud platform. \ud83c\udf29\ufe0f\n\nDesigned with developers in mind, `fastapi-serve` simplifies the deployment process by packing robust functionality, ease-of-use, and automated procedures into one comprehensive package. With `fastapi-serve`, we aim to streamline the \"last mile\" of FastAPI application development, allowing you to focus on what truly matters - writing great code!\n\n\n## \ud83d\ude0d Features \n\n- \ud83c\udf0e **HTTPS**: Auto-provisioned DNS and TLS certificates for your app.\n- \ud83d\udd17 **Protocols**: Full compatibility with HTTP, WebSocket, and GraphQL.\n- \u2195\ufe0f **Scaling**: Scale your app manually or let it auto-scale based on RPS, CPU, and Memory.\n- \ud83d\udddd\ufe0f **Secrets**: Secure handling of secrets and environment variables.\n- \ud83c\udf9b\ufe0f **Hardware**: Choose the right compute resources for your app's needs with ease.\n- \ud83d\udd12 **Authorization**: Built-in OAuth2.0 token-based security to secure your endpoints. \n- \ud83d\udcbe **App Storage**: Persistent and secure network storage for your app data.\n- \ud83d\udd04 **Blob Storage**: Built-in support for seamless user file uploads and downloads.\n- \ud83d\udd0e **Observability**: Integrated access to logs, metrics, and traces. (Alerting coming soon!)\n- \ud83d\udce6 **Containerization**: Effortless containerization of your Python codebase with our integrated registry.\n- \ud83d\udee0\ufe0f **Self-Hosting**: Export your app for self-hosting with ease, including docker-compose and Kubernetes yamls.\n\n## \ud83d\udca1 Getting Started\n\nFirst, install the `fastapi-serve` package using pip:\n\n```bash\npip install fastapi-serve\n```\n\nThen, simply use the `fastapi-serve` command to deploy your FastAPI application:\n\n```bash\nfastapi-serve deploy jcloud main:app\n```\n\nYou'll get a URL to access your newly deployed application along with the Swagger UI.\n\n## \ud83d\udcda Documentation\n\nDive into understanding `fastapi-serve` through our comprehensive documentation and examples:\n\n- \ud83d\ude80 **Getting Started**\n - \ud83e\uddf1 [Deploy a Simple FastAPI Application](docs/simple/)\n - \ud83d\udda5\ufe0f [Dig deep into the `fastapi-serve` CLI](docs/CLI.md)\n - \u2699\ufe0f [Understanding Configuration and Pricing](docs/CONFIG.MD)\n - \ud83d\udd04 [Upgrade your FastAPI applications with zero downtime](docs/upgrades/)\n - \ud83c\udfe2 Managing Larger Applications with Complex Directory Structure (Example TBD!)\n- \u2195\ufe0f **Scaling**\n - \ud83d\udcb9 [Auto-scaling endpoints based on CPU usage](docs/autoscaling/cpu/)\n - \ud83d\udcc9 [Serverless (scale-to-zero) deployments based on RPS](docs/autoscaling/serverless/) \n- \ud83e\udde9 **Config & Credentials**\n - \ud83c\udf0d [Leverage Environment Variables for app configuration](docs/envs/)\n - \ud83d\udddd\ufe0f [Use Secrets for Redis-Powered Rate Limiting](docs/rate_limit/)\n- \ud83d\udcbe **Storage**\n - \ud83d\udcc1 [Handle File Uploads and Downloads with built-in Blob Storage](docs/file_handling/)\n - \ud83c\udf10 Network Storage for persisting and securely accessing app data (Example TBD!)\n- \ud83d\udd12 **Security**\n - \ud83d\udc6e\u200d\u2642\ufe0f [Secure Your Endpoints with built-in OAuth2.0 Authorization](docs/authorization/)\n- \ud83d\udc33 **Deployment Options**\n - \ud83d\udea2 Deployment with Custom Dockerfile (Coming Soon!)\n - \u2638\ufe0f [Export Your App for Self-Hosting with docker-compose / Kubernetes](docs/export/)\n- \ud83d\udcc8 **Observability**\n - \ud83d\udcca Access Logs, Metrics, and Traces for your app (Example TBD!)\n - \ud83d\udea8 Set up Alerts for your app (Coming Soon!)\n\n\n## \ud83d\udcaa Support\n\nIf you encounter any problems or have questions, feel free to open an issue on the GitHub repository. You can also join our [Discord](https://discord.jina.ai/) to get help from our community members and the Jina team.\n\n\n## \ud83c\udf10 Our Cloud Platform \n\n`cloud.jina.ai` is our robust and scalable cloud platform designed to run your FastAPI applications with minimum hassle and maximum efficiency. With features like auto-scaling, integrated observability, and automated containerization, it provides a seamless and worry-free deployment experience.\n\n---\n\n`fastapi-serve` is more than just a deployment tool, it's a bridge that connects your local development environment with our powerful cloud infrastructure. Start using `fastapi-serve` today, and experience the joy of effortless deployments! \ud83c\udf8a",
"bugtrack_url": null,
"license": "Apache 2.0",
"summary": "FastAPI Serve - FastAPI to the Cloud, Batteries Included!",
"version": "0.0.6",
"project_urls": {
"Documentation": "https://docs.jina.ai",
"Download": "https://github.com/jina-ai/fastapi-serve/tags",
"Homepage": "https://github.com/jina-ai/fastapi-serve/",
"Source": "https://github.com/jina-ai/fastapi-serve/",
"Tracker": "https://github.com/jina-ai/fastapi-serve/issues"
},
"split_keywords": [
"jina",
"fastapi",
"restapi",
"cloud",
"docker",
"kubernetes"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "05bea2e051aa2c7f81b988356464db7a588c887c4ecb949c063b3cf2143032ef",
"md5": "b02eb6a6a10ae770b2b1300df8ef5691",
"sha256": "98e5932309c5912531d4c3b348b96fb25e0852a8bb01c8711101887aa13f91da"
},
"downloads": -1,
"filename": "fastapi-serve-0.0.6.tar.gz",
"has_sig": false,
"md5_digest": "b02eb6a6a10ae770b2b1300df8ef5691",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 26874,
"upload_time": "2023-07-20T15:02:50",
"upload_time_iso_8601": "2023-07-20T15:02:50.954792Z",
"url": "https://files.pythonhosted.org/packages/05/be/a2e051aa2c7f81b988356464db7a588c887c4ecb949c063b3cf2143032ef/fastapi-serve-0.0.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-20 15:02:50",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jina-ai",
"github_project": "fastapi-serve",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "fastapi-serve"
}