fastapi
AIOHTTP
fastapi | AIOHTTP | |
---|---|---|
508 | 24 | |
78,186 | 15,184 | |
1.6% | 0.5% | |
9.9 | 10.0 | |
1 day ago | about 23 hours ago | |
Python | Python | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fastapi
-
How to Build your very own Google's NotebookLM
FastAPI serves as our backend framework, chosen for several compelling reasons:
-
How to make an API interface?
Spring Boot has simplified the development process to a simple one. For python, I recommend a third-party package for developing API interfaces: fastapi.
-
Pydantic: The end of manual validations! ✨
Source: https://github.com/fastapi/fastapi
-
Writing Integration And Unit Tests for a Simple Fast API application using Pytest
Python is a great language for building various types of applications, especially in today's landscape where machine learning and AI are rapidly advancing. With this growth in services, there’s a strong need for well-designed, maintainable, and scalable APIs. That’s where FastAPI comes in, a powerful async web API framework for Python that's both simple and robust https://fastapi.tiangolo.com/.
-
FastAPI: The Ultimate Guide to Building High-Performance APIs
FastAPI is an open-source, high-performance web framework for building APIs with Python 3.7+ based on standard Python type hints. It enables developers to build applications efficiently and quickly. FastAPI leverages Pydantic for type hinting and includes built-in API documentation.
-
Pokémon Info Retriever: A Fun and Educational Project
For detailed information on how to get started with FastAPI, check out the FastAPI Documentation.
-
Self-Hosted Form API for Static Sites - Form2Mail vs. Formspree vs. Google Forms
Form2Mail addresses these challenges by offering a self-hosted, flexible API that gives developers full control over form submissions on static websites. Built with FastAPI and SMTP, Form2Mail processes form data directly on your server, ensuring maximum security without ongoing costs or limitations. It’s especially suited for developers seeking to maintain control over their data while eliminating reliance on third-party servers.
-
Building a crashproof cloud backend in Python using REST and PostgreSQL
It consists of a single service, several REST APIs, and a PostgreSQL database. We'll be using DBOS and FastAPI to build and deploy our app in the cloud, for free!
-
FastAPI: How to use Pydantic to declare Query Parameters
It came out about three weeks ago one of the most expected features of FastAPI. At least when we're talking about Pydantic Models + FastAPI.
-
Building a GenAI Fitness App with Gemini
FastAPI serves as the backbone of Fitness Tribe AI, handling the AI-powered analysis.
AIOHTTP
-
AIOHTTP VS tremolo - a user suggested alternative
2 projects | 11 Jul 2024
-
Show HN: The HTTP Garden – A Parser Vulnerability Research Tool
> AIOHTTP: The Python int constructor is used to parse Content-Lengths and chunk-sizes, so _, +, and - are misinterpreted.
Fun. I believe the fix is incomplete here[1]. Python's int() constructor accepts integers comprised of any unicode numeral, for example, int("٦٦٦") == 666, and "٦٦٦".isdecimal() == True.
[1] https://github.com/aio-libs/aiohttp/pull/7663/files#diff-197...
- Python HTTP library 'urllib3' now works in the browser
-
complex http server?
aiohttp
- How to Stream Bytes Uploaded so far in Python like XMLHttpRequest: progress event
-
Multiprocessing/multithreading
If you want speed, I would try to rewrite everything using an asynchronous library like aiohttp.
-
Speed Up Web Scraping with Concurrency in Python
requests does not support async out-of-the-box, so we will use aiohttp to avoid complications. requests can do the job, and there is no substantial performance difference. But the code is more readable using aiohttp.
-
How can I wrap a synchronous function in an async coroutine?
I'm using aiohttp to build an API server that sends TCP requests off to a seperate server. The module that sends the TCP requests is synchronous and a black box for my purposes. So my problem is that these requests are blocking the entire API. I need a way to wrap the module requests in an asynchronous coroutine that won't block the rest of the API.
-
Favorite Python Web Framework
aiohttp - Everything that I need and nothing that I don't.
-
Can you help me review some (working) code to asynchronously download lists of scholarships?
Use aiohttp to download the content of each page of lists. As of this Code Review post, this is the only step we execute.
What are some alternatives?
HS-Sanic - Async Python 3.6+ web server/framework | Build fast. Run fast. [Moved to: https://github.com/sanic-org/sanic]
httpx - A next generation HTTP client for Python. 🦋
Tornado - Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed.
Flask - The Python micro framework for building web applications.
django-ninja - 💨 Fast, Async-ready, Openapi, type hints based framework for building APIs
requests - A simple, yet elegant, HTTP library.
Django - The Web framework for perfectionists with deadlines.
swagger-ui - Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.
starlette - The little ASGI framework that shines. 🌟