Terminal-based time tracking for developers
Project description
Clockman
Terminal-based time tracking for developers who value privacy and simplicity
Clockman is a privacy-focused, offline-first time tracking CLI designed for developers who want to track their work without sacrificing performance or privacy.
Features
- Privacy First - All data stays local in SQLite database
- Lightning Fast - Zero-latency offline operation
- Smart Tagging - Organize tasks with custom tags
- Beautiful Output - Rich terminal interface with colors and formatting
- Detailed Logging - Comprehensive time tracking and reporting
- Type Safe - Built with modern Python and full type hints
- Developer Friendly - Clean CLI interface designed for technical workflows
Quick Start
Installation
pip install clockman
Basic Usage
# Start tracking time
clockman start "Fix authentication bug" --tag backend --tag bug
# Check current status
clockman status
# Stop current session
clockman stop
# View your work log
clockman log
Commands
clockman start <description>
Start a new time tracking session.
# Basic usage
clockman start "Working on API endpoints"
# With tags for better organization
clockman start "Frontend refactoring" --tag frontend --tag refactor
# Multiple tags
clockman start "Database migration" --tag db --tag migration --tag urgent
clockman stop
Stop the current tracking session.
clockman stop
clockman status
Display current tracking status.
clockman status
# Output: Currently tracking: "Fix authentication bug" (2h 34m) [backend, bug]
clockman log
View your complete work history.
clockman log
# Shows formatted table with all sessions, durations, and tags
clockman version
Display version information.
clockman version
Usage Examples
Daily Development Workflow
# Morning standup prep
clockman start "Review PRs and plan day" --tag planning
# Main development work
clockman start "Implement user authentication" --tag feature --tag auth
# Bug fixing session
clockman start "Fix CSS layout issues" --tag bugfix --tag frontend
# Code review
clockman start "Review team PRs" --tag review
# End of day
clockman log # Review what you accomplished
Project Organization with Tags
# Frontend work
clockman start "Component refactoring" --tag frontend --tag react
# Backend API development
clockman start "REST API endpoints" --tag backend --tag api
# DevOps and deployment
clockman start "CI/CD pipeline setup" --tag devops --tag deployment
# Testing
clockman start "Unit test coverage" --tag testing --tag quality
Configuration
Clockman stores all data locally in your system's application data directory:
- Linux:
~/.local/share/clockman/ - macOS:
~/Library/Application Support/clockman/ - Windows:
%APPDATA%\clockman\
The SQLite database (tracking.db) contains all your time tracking data.
Architecture
Clockman is built with a clean, modular architecture:
clockman/
cli/ # Command-line interface
core/ # Core business logic
db/ # Database operations
utils/ # Utility functions
tests/ # Test suite
Key Technologies:
- Typer - Modern CLI framework
- Rich - Beautiful terminal formatting
- Pydantic - Data validation and serialization
- SQLite - Local data storage
- Pytest - Testing framework
Contributing
We welcome contributions Please see our CONTRIBUTING.md for details on:
- Code style and standards
- Testing requirements
- Pull request process
- Issue reporting
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
Built with ❤️ by the Theany Team for developers who value privacy and productivity.
Questions or issues? Open an issue on GitHub.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file clockman-1.0.0.tar.gz.
File metadata
- Download URL: clockman-1.0.0.tar.gz
- Upload date:
- Size: 56.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b8129b01f8f9e214464c738705dd8347495014acc06ea9f5f8129a3bd63980a
|
|
| MD5 |
f28cb5244e56db05ecd7f8d14ae0103e
|
|
| BLAKE2b-256 |
691a5e2ea43fd888cc276019250246a18b2bf79739d8cda5e78ec53fdeaf4fdf
|
File details
Details for the file clockman-1.0.0-py3-none-any.whl.
File metadata
- Download URL: clockman-1.0.0-py3-none-any.whl
- Upload date:
- Size: 51.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3207058850dfc2182e68328dde6ea70b5acc9f2a0c7f60df29f27a484602c2a
|
|
| MD5 |
ea0be428787156e5b713575602184cd7
|
|
| BLAKE2b-256 |
3b53ba7019af6158c5dde3558ab39b7f70a06e3d9bec12af9d3495cd163cd5b5
|