|4 days ago||6 days ago|
|BSD 3-clause "New" or "Revised" 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.
Hide mysql connection from app users
2 projects | reddit.com/r/learnpython | 25 Nov 2022
Why Domain Driven Design?
2 projects | news.ycombinator.com | 25 Nov 2022
> Sure you can do DDD in Django. But I do not find that framework inherently CQRS of SOA (not SOA due to it's monolithic nature).
Django has "apps", which--while they do run in the same process--aren't intended to use code from each other. They're supposed to have their own models/views/templates/migrations/etc. They're effectively different services, as long as you don't think a service has to be available at a different network address to be a different service (think of mounting different apps or microservices behind different URLs, for example).
Also, I wouldn't say Django is CQRS--CQRS is more or less a different phrasing of "JSON-RPC", which "REST" has become.
> Last Django app i saw sure had a lot of this boilerplate going. I saw this talk and thought: well this is finally a "framework" that allowes me to do away with serialization (as in: in this framework the amount of extra work you do for making the app an SPA is fairly minimal):
Eh, some people are highly allergic to any boilerplate, but like, the DRF example  has practically none.
That Elm video is interesting, but I'm skeptical of anything whose central claim is "I can easily turn front end data requests into SQL and back again in very few lines of code". There's just a lot of inherent complexity there, and my evidence is every mainstream ORM, plus all the "backend-as-a-service" products that are multi-1000s LOC. Then again I think SQL is a great (legendary, honestly) language and we should stop trying to replace it.
recommendations for Back End Engineer roadmap?
2 projects | reddit.com/r/learnprogramming | 11 Nov 2022
What are some libraries/crates that Rust still doesn't have readily available?
2 projects | reddit.com/r/rust | 2 Nov 2022
+1 for Django. What I'd like to see even more is something that is on-par with Django Rest Framework. This library deals with so much that I had wished that existed in other frameworks in other languages. Viewsets, different parsers, auto-generated API docs, excellent validation guards, authentication and permissions, throttling, filtering, pagination, versioning, many many more, it's just an amazing piece of work.
Build Blazing Fast REST Api using Django + Elasticsearch + Haystack
4 projects | dev.to | 22 Oct 2022
Django REST Framework
De/Serializing JSON In Python, While Keeping Your Types
3 projects | reddit.com/r/Python | 10 Oct 2022
have you seen Django REST? https://www.django-rest-framework.org
Any alternative to Laravel (PHP) for rapid development?
4 projects | reddit.com/r/PinoyProgrammer | 26 Sep 2022
Having issues implementing DjangoModelPermissions on DRF
As you can see, GET return an empty list, later it's used to return a boolean to see if the user has permissions ( you can try to play with the codeCustomDjangoModelPermission only add the proper elt for GET (with a deepcopy to avoid modifying the original DjangoModelPermissions). This modification will return false when django will check if an authenticated user without the view permissions can see the instances of the Tool model.
Interesting, it looks like there is a pull request to fix this, but not merged yet.
Ok, first all thank you for the perfect presentation of your issue and the opportunity to learn something new. After looking at the source code of DjangoModelPermissions, it looks like it's working as expected. An authenticated user has by default GET permissions with DjangoModelPermissions. It's surprising and I think the documentation could be clearer, but it does specify :
Falcon vs Flask?
3 projects | reddit.com/r/Python | 25 Nov 2022
Anecdotally, FastAPI seems to be prone to weird unexplained errors like OOM. In fact, there's an issue that's been open for 2 years about an OOM issue.3 projects | reddit.com/r/Python | 25 Nov 2022
Why do you think your new system won't result in OOM errors? You can't jut say it is fastapi's fault, it seems like a complex issue
DApp API with FastAPI [Backend Blueprint]
5 projects | reddit.com/r/Python | 22 Nov 2022
Here are some features it includes as well as the GitHub Repository link if you would like to check it out: - [x] User registration through digital wallet - [x] User login through digital wallet - [x] User profile update - [x] User profile delete - [x] User profile get - [x] User profiles get all - [x] User profile get by digital wallet address (public key) - [x] User profile get by email - [x] JWT authentication / verification - [x] Signature (Signing) registration - [x] Custom BaseModels by pydantic - [x] JWT only admin/registered user access check - [x] get/set e-mail accounts in the database - [x] Custom pymongo database class wrapper - [x] Full logging support with built-in logging and saving the logs to custom files - [x] pymongo exception handlers - [x] Custom FastAPI middleware - [x] Function docs and parameters explanation and use cases - [x] x days (custom time) JWT token expiration checks - [x] All SECRETs are stored in the .env file for security and accessibility - [x] Ready to deploy and use on Heroku and Vercel with Procfile and requirements.txt - [ ] All endpoints and functions tests (fastapi/issues/5675)
Fastberry (FastAPI + Strawberry)
2 projects | reddit.com/r/Python | 20 Nov 2022
Ask HN: What is example of good documentation in your opinion?
2 projects | news.ycombinator.com | 20 Nov 2022
Clear and easy to follow language with awesome examples. I really like that additional concepts are explained as well.
Python framework to test hardware and control various equipment
2 projects | reddit.com/r/learnpython | 15 Nov 2022
Python REST APIs With Flask, Connexion, and SQLAlchemy – Part 1 – Real Python
3 projects | reddit.com/r/Python | 15 Nov 2022
And while I wouldn't say that the tutorial is in any way bad, I believe that you would need a very good reason to use Flask/Connexion over FastAPI, at least if you start a new project. The tutorial on the official FastAPI Site is very detailed as well.
Ask HN: Where can one learn about boring web development?
8 projects | news.ycombinator.com | 11 Nov 2022
The Flask mega-tutorial is great - but I would recommend looking at fast Api today, rather than flask. That will in general only give you an Api though - you'd typically add on a pure js/ts front-end or something:
Or look at Django - for something more full-featured in python.
Python Asyncio: The Complete Guide
4 projects | news.ycombinator.com | 10 Nov 2022
> FastAPI for a simple REST API is a huge mistake
FastAPI can be sync or async, although sync will have "a small performance penalty"
Serverless Rest API : api gateway + lambda with RDS database
2 projects | reddit.com/r/aws | 10 Nov 2022
Should I create only 1 apigtw resource with 1 lambda and use mangum + fastapi for my rest api ?
What are some alternatives?
AIOHTTP - Asynchronous HTTP client/server framework for asyncio and Python
Tornado - Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed.
HS-Sanic - Async Python 3.6+ web server/framework | Build fast. Run fast. [Moved to: https://github.com/sanic-org/sanic]
django-ninja - 💨 Fast, Async-ready, Openapi, type hints based framework for building APIs
Flask - The Python micro framework for building web applications.
Django - The Web framework for perfectionists with deadlines.
vibora - Fast, asynchronous and elegant Python web framework.
BentoML - Unified Model Serving Framework 🍱
flask-restx - Fork of Flask-RESTPlus: Fully featured framework for fast, easy and documented API development with Flask
starlette - The little ASGI framework that shines. 🌟