Server-Side events with FastAPI and Webhooks

This page summarizes the projects mentioned and recommended in the original post on /r/learnpython

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • Civilization_VI_Play_By_Cloud_Webhook_with_FastAPI

    Using Python FastAPI creates a webhook endpoint for Civilization VI's Play By Cloud or Play Your Damn Turn Webhooks. Also pushes notifications to Matrix.

  • I have a project where I have used FastAPI to provide a webhook for Sid Meier's Civilization VI's multiplayer mode. Its main purpose is to send a message to a Matrix server when it's someone's turn, but I also have a main page where you can go and see all the games currently being played. (see: https://github.com/djotaku/Civilization_VI_Play_By_Cloud_Webhook_with_FastAPI/blob/d893555a70a8e2445ed73c2c68f17406004cfd10/screenshots/index.png ) Right now I'm using HTMX and having it reload the current games every 15 seconds (https://github.com/djotaku/Civilization_VI_Play_By_Cloud_Webhook_with_FastAPI/blob/main/civ_vi_webhook/templates/partials/current_games_table.html) . But that's pretty wasteful in a situation where a turn might be done anywhere between 15 minutes and days later. I just have it set to 15s because, coincidentally, someone might finish a game right after you load up a page. It would be more efficient to use Server-Side Events.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Help: HTMX not replacing the div

    1 project | /r/htmx | 26 Aug 2022
  • Struggling to get my triggers right

    1 project | /r/htmx | 7 Aug 2022
  • Flask makes you a better developer

    1 project | /r/flask | 4 May 2021
  • Basic FastAPI webhook receiver

    1 project | /r/FastAPI | 16 Mar 2021
  • Sunday Daily Thread: What's everyone working on this week?

    3 projects | /r/Python | 7 Mar 2021