build-a-saas-app-with-flask VS trio

Compare build-a-saas-app-with-flask vs trio and see what are their differences.

build-a-saas-app-with-flask

Learn how to build a production ready web app with Flask and Docker. (by nickjj)

trio

Trio – a friendly Python library for async concurrency and I/O (by python-trio)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
build-a-saas-app-with-flask trio
38 19
934 5,883
- 1.3%
5.8 9.5
4 months ago 1 day ago
HTML Python
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

build-a-saas-app-with-flask

Posts with mentions or reviews of build-a-saas-app-with-flask. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-19.
  • We Have to Talk About Flask
    4 projects | news.ycombinator.com | 19 Oct 2023
    I've been maintaining my Build a SAAS App with Flask video course[0] for 8 years. It has gone from pre-1.0 to 2.3 and has been recorded twice with tons of incremental updates added over the years to keep things current.

    In my opinion tutorial creators should pin their versions so that anyone taking the course or going through the tutorial will have a working version that matches the video or written material.

    I'm all for keeping things up to date and do update things every few months but rolling updates don't tend to work well for tutorials because sometimes a minor version requires a code change or covering new concepts. As a tutorial consumer it's frustrating when the content doesn't match the source code unless it's nothing but a version bump.

    I've held off upgrading Flask to 3.0 and Python 3.12 due to these open issues with 3rd party dependencies https://github.com/nickjj/docker-flask-example/issues/17.

    [0]: https://buildasaasappwithflask.com/

  • Good example projects on Github with Flask and Next.js 13?
    1 project | /r/flask | 19 Jun 2023
  • Course recommendation for a begineer
    1 project | /r/flask | 29 May 2023
    Flask Mega Tutorial and "Build a SaaS App" purchased directly from the course website are probably your best bets.
  • How familiar do I need to be with Python to learn Flask?
    1 project | /r/flask | 24 May 2023
    The resource I'm looking to learn from is u/nickjj_ course, but I'm trying to figure out how familiar I should be with Python before I dive into it. Looks like I may need some HTML/CSS/JS as well.
  • Show HN: The pure Python SaaS starter kit
    3 projects | news.ycombinator.com | 30 Apr 2023
    Build a SAAS App with Flask. Course / Boilerplate. https://buildasaasappwithflask.com/
  • Has anyone taken this course?
    1 project | /r/learnpython | 21 Apr 2023
  • starter project?
    5 projects | /r/flask | 15 Feb 2023
    Personally I maintain https://github.com/nickjj/docker-flask-example. There's also https://github.com/nickjj/build-a-saas-app-with-flask if you want more opinions.
  • Where can I find templates (with or without code) of flask apps/SaaS?
    1 project | /r/flask | 20 Jan 2023
    There's: https://github.com/nickjj/build-a-saas-app-with-flask
  • Using Celery with Flask application factory
    1 project | /r/flask | 5 Oct 2022
    If you're looking only for a code reference there's https://github.com/nickjj/build-a-saas-app-with-flask which uses an app factory and Celery. It's all set up to send emails through Celery and has tests too.
  • How to go about creating a SaaS without experience as a student?
    1 project | /r/SaaS | 14 Aug 2022
    A few years ago I started my programming/ SaaS yourney and now I can live from my solo bootstrapped SaaS. I started learning Python 2 (free) on codecademy. Followed by the free CS50 from Harvard on Edx.org . After that I build my first SaaS using the SaaS template/ course https://buildasaasappwithflask.com

trio

Posts with mentions or reviews of trio. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-09.
  • trio VS awaits - a user suggested alternative
    2 projects | 9 Dec 2023
  • In what ways are channels are better than the traditional await?
    3 projects | /r/golang | 18 May 2023
    Incidentally, the alternative event loop implementation trio in python does not have "gather", you also need channels, and it's a deliberate design choice - there is some discussion about that in this ticket https://github.com/python-trio/trio/issues/2188
  • Polyphony: Fine-Grained Concurrency for Ruby
    3 projects | news.ycombinator.com | 12 May 2023
  • This Week In Python
    5 projects | dev.to | 17 Feb 2023
    trio – a friendly Python library for async concurrency and I/O
  • Python projects with best practices on Github?
    23 projects | /r/Python | 14 Feb 2023
    trio. the best code, the best documentation, awesome community.
  • Trio: Structured Concurrency for Python
    1 project | news.ycombinator.com | 11 Feb 2023
  • The Heisenbug lurking in your async code (Python)
    7 projects | news.ycombinator.com | 11 Feb 2023
    I'll +1 the Trio shoutout [1], but it's worth emphasizing that the core concept of Trio (nurseries) now exists in the stdlib in the form of task groups [2]. The article mentions this very briefly, but it's easy to miss, and I wouldn't describe it as a solution to this bug, anyways. Rather, it's more of a different way of writing multitasking code, which happens to make this class of bug impossible.

    [1] https://github.com/python-trio/trio

    [2] https://docs.python.org/3/library/asyncio-task.html#task-gro...

  • The gotcha of unhandled promise rejections
    5 projects | news.ycombinator.com | 13 Jan 2023
    It's similar to manual memory management.

    Structured concurrency is one approach to solving this problem. In a structured concurrency a promise would not go out of scope unhandled. Not sure how you would add APIs for it though.

    See Python's trio nurseries idea which uses a python context manager.

    https://github.com/python-trio/trio

    I'm working on a syntax for state machines and it could be used as a DSL for promises. It looks similar to a bash pipeline but it matches predicates similar to prolog.

    In theory you could wire up a tree of structured concurrency with this DSL.

    https://github.com/samsquire/ideas4#558-assign-location-mult...

  • Python Asyncio: The Complete Guide
    4 projects | news.ycombinator.com | 10 Nov 2022
    Not complete - doesn't include Task Groups [1]

    In fairness they were only included in asyncio as of Python 3.11, which was released a couple of weeks ago.

    These were an idea originally from Trio [2] where they're called "nurseries" instead of "task groups". My view is that you're better off using Trio, or at least anyio [3] which gives a Trio-like interface to asyncio. One particularly nice thing about Trio (and anyio) is that there's no way to spawn background tasks except to use task groups i.e. there's no analogue of asyncio's create_task() function. That is good because it guarantees that no task is ever left accidentally running in the background and no exception left silently uncaught.

    [1] https://docs.python.org/3/library/asyncio-task.html#task-gro...

    [2] https://github.com/python-trio/trio

    [3] https://anyio.readthedocs.io/en/latest/

  • Anyone here able to help with a python issue?
    1 project | /r/Purdue | 8 Aug 2022

What are some alternatives?

When comparing build-a-saas-app-with-flask and trio you can also consider the following projects:

cookiecutter-flask - A flask template with Bootstrap, asset bundling+minification with webpack, starter templates, and registration/authentication. For use with cookiecutter.

uvloop - Ultra fast asyncio event loop.

flask-boilerplate - Boilerplate template for a Python Flask application with Flask-SQLAlchemy, Flask-WTF, Fabric, Coverage, and Bootstrap

curio - Good Curio!

docker-flask-example - A production ready example Flask app that's using Docker and Docker Compose.

asyncio

flask-boilerplate - Flask boilerplate using the application factory with basic authentication.

Twisted - Event-driven networking engine written in Python.

microblog - The microblogging application developed in my Flask Mega-Tutorial series. This version maps to the 2024 Edition of the tutorial.

LDAP3 - a strictly RFC 4510 conforming LDAP V3 pure Python client. The same codebase works with Python 2. Python 3, PyPy and PyPy3

hypercorn

DearPyGui - Dear PyGui: A fast and powerful Graphical User Interface Toolkit for Python with minimal dependencies