TheAlgorithms
fastapi
Our great sponsors
TheAlgorithms | fastapi | |
---|---|---|
61 | 465 | |
179,165 | 70,779 | |
1.7% | - | |
9.7 | 9.8 | |
7 days ago | 5 days ago | |
Python | Python | |
MIT License | MIT License |
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.
TheAlgorithms
-
Wikifunctions
Is it me or does it not seem very well thought out? Every example I've seen only has implementations in JavaScript and/or Python. I haven't seen any other languages nor a way to search by language. What a "string" means in one language can be completely different in another language. The primitive data types that the project assumes are not really supported across all programming languages.
Also if anyone hasn't already seen them, similar projects already exist and are more complete. E.g.
* https://rosettacode.org/
* https://programming-idioms.org/
* https://the-algorithms.com/
Not to mention LeetCode, CodeWars, Project Euler, Exercism can kinda serve the same role.
-
Introduction
Hey Everyone, My name is Rachit Chawla and Its my first blog on dev.to. I am currently a student of Computer Programming and Analysis at Seneca College. Also I'm currently on my co-op term working as an Automation Developer at Ontario Public Service. In this role, I am currently working with PowerShell scripting and Microsoft Azure for automating every manual tasks to reduce workload and increase efficiency. This blog is a part of OSD600 course at Seneca College. I am taking this course as I am big fan of open source and always wanted to contribute in open source projects but I am unaware of proper documentation and standards used for open source contributions. I am hoping to learn all the required stuff by the end of this course and I aim to be one of the 15k contributors to Linux's repo by Linus Torvald. Open Source interests me because it gives developers the power to customise the application they want to use, also a chance to help others and improve their skills. I found https://github.com/TheAlgorithms/Python interesting from the Monthly trending feed on Github as it has all the algorithms which help us improve time complexity and write better codes. I has about 1000 contributors which helped to code all the algorithms in Python which may help others for working or learning purposes. I myself was a student of Data Structures and Algorithms in Python Winter 2023 and hoping to even able to contribute to this repo itself, once I learn more about documentation & proper standards to be followed.
-
I am studying my college Python so can I learn algorithms from it?
The Algorithms Contains many open source implementations of algorithms. Check it out.
-
Where To Read About Python Algos?
If you want to see implementations of all possible traversal algorithms you can find it here.
-
Book of pythonic code
The mother load of all algorithms in python is here. dfs/bfs in particular are in the graph section.
-
Any tips to improve my coding abilites ?
There is no one way to learn all these but here are some resources: 1. Gooking algorithms [https://edu.anarcho-copy.org/Algorithm/grokking-algorithms-illustrated-programmers-curious.pdf\] 2. Algorithms in all languages [https://the-algorithms.com/] 3. Node js best practices. [https://github.com/goldbergyoni/nodebestpractices] 4. Refactoring [https://refactoring.guru/] 5. Learn about Clean Code and Clean Architecture from uncle bob. https://www.youtube.com/watch?v=NeXQEJNWO5w&ab_channel=StreamAConStreamingConferences
-
Self taught developers: where are you in your journey?
DSA basics
-
Algo and data structures
I would recommend The Algorithms, it comes with descriptions and examples in multiple programming languages.
-
A site that hosts implementations of various programming algorithms in different languages
There's also The Algorithms. Many implementations are unfortunately low quality. The Lua ones (disclaimer: I wrote them) should be fine however.
-
How worried are you about AI taking over music?
Python 940 contributors 152k stars
fastapi
-
FastAPI Got Me an OpenAPI Spec Really... Fast
That’s when I found FastAPI.
-
How to Deploy a Fast API Application to a Kubernetes Cluster using Podman and Minikube
FastAPI & Uvicorn
-
Analysing FastAPI Middleware Performance
Discussion at FastAPI GitHub: https://github.com/tiangolo/fastapi/issues/2696
-
LangChain, Python, and Heroku
An API application framework (such as FastAPI)
-
Litestar – powerful, flexible, and highly performant Python ASGI framework
It’s been my experience that async Python frameworks tend to turn IO bound problems into CPU bound problems with a high enough request rate, because due to their nature they act as unbounded queues.
This ends up made worse if you’re using sync routes.
If you’re constrained on a resource such as a database connection pool, your framework will continue to pull http requests off the wire that a sane client will cancel and retry due to timeouts because it takes too long to get a connection out of the pool. Since there isn’t a straightforward way to cancel the execution of a route handler in every Python http framework I’ve seen exhibit this problem, the problem quickly snowballs.
This is an issue with fastapi, too- https://github.com/tiangolo/fastapi/issues/5759
-
AI-Powered Image Search with CLIP, pgvector, and Fast API
Fast API.
- Ask HN: What is your go-to stack for the web?
-
Fun with Avatars: Crafting the core engine | Part. 1
We will create our API using FastAPI, a modern high-performance web framework for building fast APIs with Python. It is designed to be easy to use, efficient, and highly scalable. Some key features of FastAPI include:
-
Building Fast APIs with FastAPI: A Comprehensive Guide
FastAPI is a modern, fast, web framework for building APIs with Python 3.7+ based on standard Python type hints. It is designed to be easy to use, fast to run, and secure. In this blog post, we’ll explore the key features of FastAPI and walk through the process of creating a simple API using this powerful framework.
-
Effortless API Documentation: Accelerating Development with FastAPI, Swagger, and ReDoc
FastAPI is a modern, fast web framework for building APIs with Python 3.7+ that automatically generates OpenAPI and JSON Schema documentation. While FastAPI simplifies API development, manually creating and updating API documentation can still be a time-consuming task. In this blog post, we’ll explore how to leverage FastAPI’s automatic documentation generation capabilities, specifically focusing on Swagger and ReDoc, and how to streamline the process of documenting your APIs.
What are some alternatives?
python-ds - No non-sense and no BS repo for how data structure code should be in Python - simple and elegant.
AIOHTTP - Asynchronous HTTP client/server framework for asyncio and Python
new-world-fishing-bot - user friendly python script who is able to catch fish in the game New World
HS-Sanic - Async Python 3.6+ web server/framework | Build fast. Run fast. [Moved to: https://github.com/sanic-org/sanic]
python-patterns - A collection of design patterns/idioms in Python
Tornado - Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed.
algorithms
django-ninja - 💨 Fast, Async-ready, Openapi, type hints based framework for building APIs
more-itertools - More routines for operating on iterables, beyond itertools
Flask - The Python micro framework for building web applications.
ClointFusion - Cloint India Pvt. Ltd's (ClointFusion) Pythonic RPA (Automation) Platform
swagger-ui - Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.