Tag: python
All the articles with the tag "python".

Extracting Formatted Content from MediaWiki
Updated:When extracting content from MediaWiki to transfer into SharePoint - or other knowledgebase system, extracting the raw `wikitext` isn't that helpful. I tra

10GbE SFP+ and a Python3 One Line FTP Server
I've built my cluster and stated doing some network tests using iperf3 . My results were pretty good. But my file transfer speeds pretty bad, by comparison

Multistage Python Container
Updated:When building a python container, I ended up with a huge 450MB image just because I needed it to have psycopg2 . Time to chop it down using a multistage bu

Python3 One Line Web Server
Many times I find myself wanting to spin up a simple test service for a firewall rule. You can bring up a simple web server in Python3 from the command lin

Motion Sensitive Temperature Display
Updated:Following on from Python Motion Sensor I put together a 2004 LCD display, DHT11 humidity and temperature sensor and the AM312 PIR and came up with a displa

Python Motion Sensor
Updated:I wanted to add a motion sensor into a Python project that would activate a display to show the temperature only when someone was nearby. The AM312/HC-SR31

Python Installation Error
zipimport.ZipImportError: can't decompress data; zlib not available Requires zlib1g-dev sudo apt install zlib1g-dev

Python Build and Deploy
We wanted a way of delivering passive status updates from our dockers to the Icinga2 API. I've used bash scripts for this in the past with curl, but figure

Project Gatekeeper, Part 3
Updated:This article covers the python programming used to control the gates. At this stage I'll post some snippets and ideas on why and how I do things this way,

Load Testing with Locust
This has been a very tough few days. I was asked to build some load testing scripts for use with Locust. I was told "How hard can it be? Just a few scripts