DEV Community

Brad
Brad

Posted on

Python Time Tracking: Build Your Own Toggl for Free (Save $9/Month)

Time tracking is essential for freelancers. Here is how to build your own with Python.

Core Tracker

import sqlite3
import time
from datetime import datetime

def start_timer(project):
    print(f"Started: {project}")
Enter fullscreen mode Exit fullscreen mode

Generate Reports

def weekly_report():
    # Query SQLite and print totals
    pass
Enter fullscreen mode Exit fullscreen mode

Want 50+ automation scripts? Get the Python Business Automation Toolkit - all for $29.

Top comments (0)