Skip to main content
I'm streaming on Twitch right now. You should stop by. Let's go!

Tagged: python

  • Rate limiting with Flask-SocketIO


    I've been transitioning the API for a Flask project I'm working on away from REST and toward Socket.IO. In doing so, I came to the abrupt and depressing realization that the rate-limiter I had been using for the REST endpoints (flask-limiter) was unable to apply to Socket.IO endpoints. The author …

  • Aethersprite: a Discord bot framework


    For some months, I had been tinkering with the discord.py library and slowly building up a bot for use in Nexus Clash faction servers. The more I added to it, the more I began to realize that what I was really building was a bot framework, and that framework just so happened to have some commands …

  • Minifying Javascript using ESBuild with Flask-Assets


    I've been using Flask and its Flask-Assets package (which is a wrapper around the webassets package) for quite some time now without issue, but recently, I've been scratching an itch for ES2016 and beyond. One of my favorite features of ES2016+ is that modules (and importing them) are part of the …

  • More FlaskBB development


    The train keeps rolling. I've been busying myself with more FlaskBB development lately. I took the Docker image and expanded it into a docker-compose example. I've also built a plugin for managing email and RSS notifications and another for adding a dice-rolling macro to the forum. The dicebot …

  • FlaskBB development


    Lately, I've been getting involved with some Python-based forum software, FlaskBB. I had been running phpBB for one of my web games' forums, and it became overrun with bots. Given my attraction to Python over the last few years, I began searching for a new solution written in Python. FlaskBB seemed …

  • Jumping on the static site generator bandwagon with Pelican


    I've decided to abandon WordPress for my blog and switch to a static site generator. Given my recent interest in Python, I decided to look for a Python-based solution. I've settled on Pelican. I'm already resting easier knowing that my blog isn't a potential attack vector, and I'm experimenting …

  • Twitter 'Acro' bot


    It's been a while since I actually wrote it, but I realized this evening that I never posted about it on my blog. What I'm referring to is the 'Acro' bot for Twitter I wrote in Python.  …

  • Disable SSLv3 to avoid POODLE attack in web.py


    An open source application that I contribute to uses web.py to provide a web server platform for its services alongside the other platforms available. I recently updated it to use a sane set of default ciphers and to disable the SSLv3 protocol in order to avoid the POODLE attack the Internet is currently buzzing about. Here's an abstract example so that you can do this yourself at home.  …

View all tags