fastapi-router-controller VS cog

Compare fastapi-router-controller vs cog and see what are their differences.

fastapi-router-controller

A FastAPI utility to allow Controller Class usage (by KiraPC)

cog

Portland Cognition Lab (by chromakey-io)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
fastapi-router-controller cog
2 2
33 1
- -
1.8 2.9
about 2 years ago over 3 years ago
Python JavaScript
MIT License MIT License
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.

fastapi-router-controller

Posts with mentions or reviews of fastapi-router-controller. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-07.
  • FastAPI 0.100.0:Release Notes
    12 projects | news.ycombinator.com | 7 Jul 2023
    Has litestar CBV (class based views) fastapi refuses to implement them so we build [1]. Or proper lifetime event [2]?

    [1] https://github.com/KiraPC/fastapi-router-controller

  • Comprehensive Fast API Tutorial
    10 projects | /r/Python | 23 Apr 2021
    The whole thing about "not seperating the configuration from the view code" is pretty broken, glueing everything to the functions makes it a mess. it makes it hard to add additional features (CBV class based views) -> https://github.com/KiraPC/fastapi-router-controller

cog

Posts with mentions or reviews of cog. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-04-23.
  • Comprehensive Fast API Tutorial
    10 projects | /r/Python | 23 Apr 2021
    Here's how (some complete asshole) might implement for example OIDC-JWT with Auth0: https://github.com/chromakey-io/cog/tree/master/auth. This sits as a starlette AuthBackend, that follows along with conventions similar to Flask, Django, etc .... and is directly ripped off from Auth0's flask examples.

What are some alternatives?

When comparing fastapi-router-controller and cog you can also consider the following projects:

dispatch - All of the ad-hoc things you're doing to manage incidents today, done for you, and much more!

fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production

spectree - API spec validator and OpenAPI document generator for Python web frameworks.

databases - Async database support for Python. 🗄

litestar-pg-redis-docker - Example Litestar project using Postgresql, Redis and Docker

cornice.ext.swagger - Swagger extension for Cornice

litestar-fullstack - Litestar Fullstack Reference Application with Vue, Vite, and SQLAlchemy, Docker, Task Queues, and more!

pylyzer - A fast static code analyzer & language server for Python