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. (by djotaku)
Snap-in-Time
script for btrfs backups (by djotaku)
Civilization_VI_Play_By_Cloud_Webhook_with_FastAPI | Snap-in-Time | |
---|---|---|
8 | 4 | |
4 | 6 | |
- | - | |
3.6 | 3.8 | |
5 months ago | almost 1 year ago | |
Python | Python | |
GNU General Public License v3.0 only | GNU General Public License v3.0 only |
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.
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.
Civilization_VI_Play_By_Cloud_Webhook_with_FastAPI
Posts with mentions or reviews of Civilization_VI_Play_By_Cloud_Webhook_with_FastAPI.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-05-06.
-
Server-Side events with FastAPI and Webhooks
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.
- Help: HTMX not replacing the div
-
Struggling to get my triggers right
One is here: https://github.com/djotaku/Civilization_VI_Play_By_Cloud_Webhook_with_FastAPI/blob/467bf50833045d3b9c465b8233e6df297ffdfaa9/civ_vi_webhook/templates/partials/current_games_table.html
-
how do you go from basic python stuff to building a project????
https://github.com/djotaku/Civilization_VI_Play_By_Cloud_Webhook_with_FastAPI - to handle PBEM and Play by Cloud in Civilization VI
-
Flask makes you a better developer
I created a Flask app to handle the webhook-based notification that Sid Meier's Civilization VI uses for Play By Cloud games in just a weekend.I ended up moving to FastAPI for a few of its features, but going from one to the other is *ALMOST* copy/paste.
-
Basic FastAPI webhook receiver
if you want an example, here's a pretty basic little app I made to accept a webhook and post to Matrix chat: https://github.com/djotaku/Civilization_VI_Play_By_Cloud_Webhook_with_FastAPI
-
Sunday Daily Thread: What's everyone working on this week?
The repo is at https://github.com/djotaku/Civilization_VI_Play_By_Cloud_Webhook_with_FastAPI
-
Why is my logging not coming through?
I'm launching my code via this shell script: https://github.com/djotaku/Civilization_VI_Play_By_Cloud_Webhook_with_FastAPI/blob/429fce401c978721cca34c1529e0a21a855d4fa4/start_server.sh
Snap-in-Time
Posts with mentions or reviews of Snap-in-Time.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-09-23.
-
Completing Advent of Code 2015 with 3 Programming languages
Python - it’s my main language and the one in which I’m most proficient. I have written some programs used by many others (like my Extra Life Donation Tracker) and utilities that solve some problem I have (like my btrfs snapshot and backup program). By solving each problem in Python first, I allow myself to focus on the problem first instead of a syntax I’m unfamiliar with.
-
how do you go from basic python stuff to building a project????
https://github.com/djotaku/Snap-in-Time - for btrfs snapshots
-
Do programmers save chunks of code for repeated use?
IF you think it'll be useful to others, then see if there's a repo for your programming language like CPAN, PyPi, NPM, etc and put it there. This utility I made for btrfs snapshots is useful to anyone else using btrfs, so I put it on pypi: https://github.com/djotaku/Snap-in-Time can be found at https://pypi.org/project/snapintime/
-
Dumb Question: learning to code but have no idea what to code
I wanted to manage my btrfs COW snapshots, so I madde: https://github.com/djotaku/Snap-in-Time
What are some alternatives?
When comparing Civilization_VI_Play_By_Cloud_Webhook_with_FastAPI and Snap-in-Time you can also consider the following projects:
amortization - Amortization Program for creating a table of payments
adventofcode - My solutions to the Advent of Code challenges
civ6-graph - Dependency graph for entities in Civ VI game.
pip - The Python package installer
RPICovidScraper - scraper for Rensselaer Polytechnic Institute (RPI)'s Covid Dashboard
aoc2015 - Advent of Code 2015