Python Developer Toolkit - 5 Script PackPython Developer Toolkit - 5 Script Pack
Python scripts for log analysis, file organising, port scanning, .env validation and mock REST APIs. No pip install needed.Python Developer Toolkit - 5 Script Pack
Python scripts for log analysis, file organising, port scanning, .env validation and mock REST AP...
Overview
DESCRIPTION
A pack of 5 production-ready Python scripts covering the developer tasks you repeat every week. Every tool runs with a single command — no pip install, no virtual environment, no Docker. Pure Python 3.8+ standard library only.
Includes sample files for every tool so you can try each one immediately after unzipping.
---
TOOLS INCLUDED
1. DevLog Analyzer
Parse and visualise log files from Django, Flask, Apache, Nginx, Syslog or any generic level-based format. Auto-detects the format. Shows a level breakdown bar chart (DEBUG / INFO / WARNING / ERROR / CRITICAL) and top error messages ranked by frequency. Includes a Tkinter GUI with colour-coded rows, live regex filter, and raw detail pane. CLI flags: --filter, --level, --export CSV. Sample logs included.
2. FileVault Organizer
Automatically sorts a messy folder into subfolders by type: Images, Videos, Audio, Documents, Code, Archives, Data, Executables, Misc. Finds duplicate files using size pre-filtering and MD5/SHA256 hashing — shows reclaimable space and lets you choose which copy to keep (newest, oldest, largest, or first). Dry-run mode, copy or move, JSON and CSV reports. A sample folder with intentional duplicates is included so you can see it work straight away.
3. PortSentry
Concurrent TCP port scanner with 100 threads by default. Grabs service banners from open ports. Built-in mappings for 70+ well-known services. Supports CIDR ranges, IP ranges, preset lists (top100, common, all) or custom port lists. Colour-coded results, rate limiting, JSON and CSV export. Sample results file and command reference included.
4. EnvGuard
Validates your .env file against a .env.example schema — catches missing keys and weak default values (password, secret, changeme etc.) before they reach production. Diffs two .env files with secrets masked. Generates cryptographically secure secrets: hex, base64, Django secret key, password. Encrypts values with AES-256 + PBKDF2 using stdlib only. Merges multiple .env files. Exports to JSON or shell format. Sample .env, .env.example and .env.production files included.
5. APIForge
Spins up a local mock REST API server from a JSON config file — no frameworks, no npm, no Docker. Define any endpoint in minutes. Template engine supports {{uuid}}, {{name}}, {{email}}, {{timestamp}}, {{int:1-100}}, {{seq}}, {{lorem:10}} and more. Response cycling simulates 200/500/503 rotation for resilience testing. Path parameters, delay simulation, CORS headers, hot reload, proxy fallback and request logging built in. Two ready-to-run sample configs (e-commerce API and blog API) included.
---
REQUIREMENTS
- Python 3.8 or higher
- No pip install required — 100% standard library
- Windows: use python | macOS / Linux: use python3
- DevLog Analyzer GUI requires Tkinter (included with Python on Windows and macOS; Linux: sudo apt install python3-tk)
---
INSTRUCTIONS
1. Unzip the package
2. Open a terminal and cd into codester_pack
3. Run any tool directly — see README.md for all commands and flags
4. Sample files are in the samples/ subfolder of each tool
Windows example:
python 04_envguardenvguard.py validate samples.env --example samples.env.example
macOS / Linux example:
python3 04_envguard/envguard.py validate samples/.env --example samples/.env.example
Full documentation, including all flags, options, and config reference, is in README.md inside the ZIP.
Features
<b>5 production-ready Python scripts. Zero dependencies. Runs on Windows, macOS and Linux.</b>
<hr>
<b>1 · DevLog Analyzer</b>
<ul>
<li>Auto-detects Django, Flask, Apache, Nginx, Syslog and generic log formats</li>
<li>Level breakdown bar chart: DEBUG / INFO / WARNING / ERROR / CRITICAL</li>
<li>Top error messages ranked by frequency</li>
<li>Tkinter GUI with colour-coded rows, live regex filter and detail pane</li>
<li>CLI flags: <i>--filter, --level, --export CSV</i></li>
<li>3 sample log files included (app.log, apache_access.log, nginx_error.log)</li>
</ul>
<b>2 · FileVault Organizer</b>
<ul>
<li>Sorts files into: Images, Videos, Audio, Documents, Code, Archives, Data, Misc</li>
<li>Duplicate finder via size pre-filter + MD5/SHA256 hashing</li>
<li>Shows reclaimable disk space across duplicate groups</li>
<li>Strategies: keep newest / oldest / largest / first</li>
<li>Dry-run mode, copy or move, JSON + CSV reports</li>
<li>Sample folder with intentional duplicates included — see it work immediately</li>
</ul>
<b>3 · PortSentry</b>
<ul>
<li>100 concurrent threads by default (configurable)</li>
<li>Service banner grabbing from open ports</li>
<li>Built-in mappings for 70+ well-known services</li>
<li>CIDR, IP range and preset port lists: top100 / common / all / custom</li>
<li>Colour-coded results, rate limiting, JSON + CSV export</li>
<li>Sample results file and command reference included</li>
</ul>
<b>4 · EnvGuard</b>
<ul>
<li>Validates .env against .env.example — catches missing keys before deployment</li>
<li>Detects weak default values: <i>password, secret, changeme, abc123</i> etc.</li>
<li>Diffs two .env files with secrets masked</li>
<li>Generates secure secrets: hex, base64, Django key, password</li>
<li>AES-256 + PBKDF2 encryption using stdlib only — no OpenSSL needed</li>
<li>Merge, export to JSON or shell format</li>
<li>Sample .env, .env.example and .env.production included</li>
</ul>
<b>5 · APIForge</b>
<ul>
<li>Mock REST API server from a JSON config — no frameworks, no npm, no Docker</li>
<li>Template engine: <i>{{uuid}}, {{name}}, {{email}}, {{int:1-100}}, {{seq}}, {{lorem:10}}</i> and more</li>
<li>Response cycling for resilience testing (200 → 500 → 503 rotation)</li>
<li>Path parameters, delay simulation, CORS, hot reload, proxy fallback</li>
<li>Request logging to consol
Requirements
<ul>
<li>Python <b>3.8 or higher</b></li>
<li><b>No pip install required</b> — 100% Python standard library</li>
<li>Windows: use <i>python</i> | macOS / Linux: use <i>python3</i></li>
<li>DevLog Analyzer GUI requires Tkinter — included with Python on Windows and macOS</li>
<li>Linux Tkinter install: <i>sudo apt install python3-tk</i></li>
</ul>
Instructions
<b>Getting started takes under 60 seconds:</b>
<ol>
<li>Unzip the package to any folder</li>
<li>Open a terminal and <i>cd</i> into <i>codester_pack</i></li>
<li>Run any tool directly — no setup, no install</li>
<li>Sample files are in the <i>samples/</i> subfolder of each tool</li>
</ol>
<hr>
<b>Windows examples:</b>
<ul>
<li><i>python 01_devlog_analyzerdevlog_analyzer.py samplesapp.log</i></li>
<li><i>python 02_filevault_organizerfilevault_organizer.py dedupe samples</i></li>
<li><i>python 03_portsentryportsentry.py 127.0.0.1 -p top100 --banner</i></li>
<li><i>python 04_envguardenvguard.py validate samples.env --example samples.env.example</i></li>
<li><i>python 05_apiforgeapiforge.py --config samplesecommerce_api.json</i></li>
</ul>
<b>macOS / Linux examples:</b>
<ul>
<li><i>python3 01_devlog_analyzer/devlog_analyzer.py samples/app.log</i></li>
<li><i>python3 02_filevault_organizer/filevault_organizer.py dedupe samples</i></li>
<li><i>python3 03_portsentry/portsentry.py 127.0.0.1 -p top100 --banner</i></li>
<li><i>python3 04_envguard/envguard.py validate samples/.env --example samples/.env.example</i></li>
<li><i>python3 05_apiforge/apiforge.py --config samples/ecommerce_api.json</i></li>
</ul>
<hr>
Full documentation with all flags, options, config reference and template token list is in <b>README.md</b> inside the ZIP.
| Category | Scripts & Code / Python |
| First release | 10 March 2026 |
| Last update | 10 March 2026 |
| Files included | .py |
| Tags | Security, python, networking, utility, automation, Tkinter, developer tools, devops, file organizer, log analyzer, port scanner, duplicate finder, env manager, mock api, stdlib |








