How turbo-forcing/logrec-and-pycmd works
This repository provides two complementary Python tools: PYcmd for interactive or argument-driven file and system tasks, and logrec for recording and managing log files. The principal PYcmd workflow routes user commands through its command interface to file, directory, calculation, random, and time operations; those operations report activity through logrec. Separately, logrec exposes timestamped levels and log-file management, search, parsing, and export capabilities. README statements supplement the sampled implementation where code paths were not excerpted; unsampled internal relationships are omitted.
Main entry points: logrec.py Logging API · PYcmd.py Command interface
Components 11
PYcmd command tool
- Command interface
PYcmd/PYcmd.py - File operations
PYcmd/PYcmd.py - Directory operations
PYcmd/PYcmd.py - Calculations
PYcmd/PYcmd.py - Random and time
PYcmd/PYcmd.py
Log recording
- Logging API
logrec/logrec.py - Log files
Log management
- Log management
logrec/logrec.py - Search and parse
logrec/logrec.py - Export and metadata
logrec/logrec.py
Other components
- User
Connections 14
- User → Command interface: enters commands
README.md - Command interface → File operations: dispatches file tasks
PYcmd/PYcmd.py - Command interface → Directory operations: dispatches directory tasks
PYcmd/PYcmd.py - Command interface → Calculations: dispatches calculations
PYcmd/PYcmd.py - Command interface → Random and time: dispatches utilities
PYcmd/PYcmd.py - File operations → Logging API: records outcomes
PYcmd/PYcmd.py - Directory operations → Logging API: records outcomes
PYcmd/PYcmd.py - Calculations → Logging API: records outcomes
PYcmd/PYcmd.py - Random and time → Logging API: records outcomes
PYcmd/PYcmd.py - Logging API → Log files: appends entries
logrec/logrec.py - User → Logging API: records entries
README.md - Log management → Log files: reads and modifies
logrec/logrec.py - Search and parse → Log files: searches entries
logrec/logrec.py - Export and metadata → Log files: parses and exports