Advertisement
Open Source Projects by Phil Schwartz

Articles

Count Apache errors by hour with a Python log parserApache error logs are a practical source of operational evidence. They show when a web application fails, which modules are complaining, and whether a problem…
A Smarter Approach to Casino Hot Streaks in AustraliaCasino hot streaks can feel like a signal that a machine, roulette wheel, or blackjack table is ready to keep paying. In reality, every independent result is…
Build a Python BPM Tagger for Your MP3 LibraryMusic organisers usually store information such as the artist, album, genre and track title, but many MP3 files have no tempo data. A Python utility can fill…
Build an authenticated file share with PythonPhil Schwartz’s open-source portfolio favours focused tools that solve one operational problem, as DenyHosts, Kodos and Scratchy demonstrate. A lightweight…
Writing a Python Script That Monitors File System Quota UsageA full disk can bring a Linux server to a halt long before anyone notices an obvious failure. Databases stop writing, SSH sessions behave unpredictably, web…
How I Used Python's multiprocessing to Speed Up Regex SearchesLarge text files can make an otherwise tidy Python script feel sluggish. A regular expression may be efficient, yet scanning several gigabytes of Apache logs,…
Building a Python CLI for the Linux Kernel Crypto APIBuilding a Python-based command-line interface to the Linux kernel's Crypto API starts with an important boundary: most crypto functions live inside the kernel…
Building a Python Heatmap for Failed Logins by IPRaw SSH logs can bury useful patterns beneath thousands of rejected passwords. A compact visualisation can reveal when particular source addresses are active,…
How to build a Python tool that extracts and decrypts TLS sessions from PCAP filesA packet capture can reveal far more than IP addresses and port numbers, but modern TLS encryption means that application data remains unreadable unless the…
Building a reliable Python worker daemonA long-running service often has more work to process than one Python process can handle comfortably. A pool of reusable workers spreads CPU-heavy tasks across…