All Projects → wakatime → legacy-python-cli

wakatime / legacy-python-cli

Licence: BSD-3-Clause license
Command line interface used by all WakaTime text editor plugins.

Programming Languages

python
139335 projects - #7 most used programming language
c
50402 projects - #5 most used programming language
PHP
23972 projects - #3 most used programming language
HTML
75241 projects
javascript
184084 projects - #8 most used programming language
typescript
32286 projects

Projects that are alternatives of or similar to legacy-python-cli

Activitywatch
The goal of ActivityWatch is simple: Enable the collection of as much valuable lifedata as possible without compromising user privacy.
Stars: ✭ 5,927 (+465.55%)
Mutual labels:  productivity, quantified-self, time-tracker, time-tracking
Gauzy
Gauzy™ - Open-Source Business Management Platform (ERP/CRM/HRM)
Stars: ✭ 374 (-64.31%)
Mutual labels:  productivity, time-tracker, time-tracking
itrack
A simple task-based time tracker for everyday use.
Stars: ✭ 20 (-98.09%)
Mutual labels:  productivity, time-tracker
Pomodorologger
Pomodoro Logger 🕤 -- When a time tracker meets Pomodoro and Kanban board
Stars: ✭ 316 (-69.85%)
Mutual labels:  productivity, time-tracking
Super Productivity
To-do list & time tracker for programmers and other digital workers with Jira, Github, and Gitlab integration
Stars: ✭ 4,505 (+329.87%)
Mutual labels:  productivity, time-tracker
Hackaru
Simple, cross-platform time tracking application
Stars: ✭ 82 (-92.18%)
Mutual labels:  time-tracker, time-tracking
Takt
Track your tasks and time
Stars: ✭ 142 (-86.45%)
Mutual labels:  time-tracker, time-tracking
Swdc Vscode
Time-tracking plugin for Visual Studio Code
Stars: ✭ 268 (-74.43%)
Mutual labels:  productivity, time-tracking
Protime
📱⏰ Mobile application for tracking projects time written in Flutter!
Stars: ✭ 31 (-97.04%)
Mutual labels:  productivity, time-tracker
Youtube time tracker
Chrome Extension that tracks time you spent on Youtube.
Stars: ✭ 84 (-91.98%)
Mutual labels:  productivity, time-tracker
timenaut
Desktop time tracking application for Windows, Mac and Linux that does not invade your privacy
Stars: ✭ 16 (-98.47%)
Mutual labels:  quantified-self, time-tracker
Kimai2
Kimai v2 is a web-based multiuser time-tracking application. Free for everyone: freelancers, agencies, companies, organizations - all can track their times, generate invoices and more. SaaS version available at https://www.kimai.cloud
Stars: ✭ 1,216 (+16.03%)
Mutual labels:  time-tracker, time-tracking
Zeit
Zeit, erfassen. A command line tool for tracking time spent on activities.
Stars: ✭ 33 (-96.85%)
Mutual labels:  time-tracker, time-tracking
Klog
A plain-text file format and command line tool for time tracking
Stars: ✭ 222 (-78.82%)
Mutual labels:  time-tracker, time-tracking
Kimai
Kimai v1 open source time-tracking - please switch to Kimai v2
Stars: ✭ 583 (-44.37%)
Mutual labels:  time-tracker, time-tracking
Moro
Simple CLI tool for tracking work hours. Note: Heavy changes are happening in this repository. Docs might not be up to date, and things might be broken. Only the released NPM version is stable.
Stars: ✭ 390 (-62.79%)
Mutual labels:  time-tracker, time-tracking
Atom Wakatime
Atom plugin for automatic time tracking and metrics generated from your programming activity.
Stars: ✭ 303 (-71.09%)
Mutual labels:  time-tracker, time-tracking
Gitlab Time Tracker
🦊🕘 A command line interface for GitLab's time tracking feature.
Stars: ✭ 371 (-64.6%)
Mutual labels:  time-tracker, time-tracking
Time To Leave
Log work hours and get notified when it's time to leave the office and start to live.
Stars: ✭ 155 (-85.21%)
Mutual labels:  productivity, time-tracker
Web Activity Time Tracker
Chrome Extension that tracks and limits time you spent on sites
Stars: ✭ 107 (-89.79%)
Mutual labels:  productivity, time-tracker
Tests Windows Tests Coverage Version Supported Python Versions Code time tracker

WakaTime

This repo is deprecated. Use the Go version of wakatime-cli instead.

Command line interface to WakaTime used by all WakaTime text editor plugins.

Go to http://wakatime.com/editors to install the plugin for your text editor or IDE.

Installation

Note: You shouldn't need to directly use this package unless you are building your own plugin or your text editor's plugin asks you to install the WakaTime CLI manually.

Each plugin installs the WakaTime CLI for you, except for the Emacs WakaTime plugin.

Install the plugin for your IDE/editor:

https://wakatime.com/editors

Each plugin either comes pre-bundled with WakaTime CLI, or downloads the latest version from GitHub for you.

Usage

If you are building a plugin using the WakaTime API then follow the Creating a Plugin guide.

For command line options, run wakatime --help.

Some more usage information is available in the FAQ.

Configuring

Options can be passed via command line, or set in the $WAKATIME_HOME/.wakatime.cfg config file. Command line arguments take precedence over config file settings. The $WAKATIME_HOME/.wakatime.cfg file is in INI format. An example config file with all available options:

[settings]
debug = false
api_key = your-api-key
hide_file_names = false
hide_project_names = false
hide_branch_names =
exclude =
    ^COMMIT_EDITMSG$
    ^TAG_EDITMSG$
    ^/var/(?!www/).*
    ^/etc/
include =
    .*
include_only_with_project_file = false
status_bar_icon = true
status_bar_coding_activity = true
offline = true
proxy = https://user:pass@localhost:8080
no_ssl_verify = false
ssl_certs_file =
timeout = 30
hostname = machinename
[projectmap]
projects/foo = new project name
^/home/user/projects/bar(\d+)/ = project{0}
[git]
disable_submodules = false

For commonly used configuration options, see examples in the FAQ.

Troubleshooting

Read How to debug the plugins.

Make sure to set debug=true in your ~/.wakatime.cfg file.

Common log file location in your User $WAKATIME_HOME directory:

~/.wakatime.log

Each plugin also has its own log file:

  • Atom writes errors to the developer console (View -> Developer -> Toggle Developer Tools)
  • Brackets errors go to the developer console (Debug -> Show Developer Tools)
  • Cloud9 logs to the browser console (View -> Developer -> JavaScript Console)
  • Coda logs to /var/log/system.log so use sudo tail -f /var/log/system.log in Terminal to watch Coda 2 logs
  • Eclipse logs can be found in the Eclipse Error Log (Window -> Show View -> Error Log)
  • Emacs messages go to the messages buffer window
  • Jetbrains IDEs (IntelliJ IDEA, PyCharm, RubyMine, PhpStorm, AppCode, AndroidStudio, WebStorm) log to idea.log (locating IDE log files)
  • Komodo logs are written to pystderr.log (Help -> Troubleshooting -> View Log File)
  • Netbeans logs to it's own log file (View -> IDE Log)
  • Notepad++ errors go to AppData\Roaming\Notepad++\plugins\config\WakaTime.log (this file is only created when an error occurs)
  • Sublime Text logs to the Sublime Console (View -> Show Console)
  • TextMate logs to stderr so run TextMate from Terminal to see any errors (enable logging)
  • Vim errors get displayed in the status line or inline (use :redraw! to clear inline errors)
  • Visual Studio logs to the Output window, but uncaught exceptions go to ActivityLog.xml (more info...)
  • VS Code logs to the developer console (Help -> Toggle Developer Tools)
  • Xcode type sudo tail -f /var/log/system.log in a Terminal to view Xcode errors

Useful API Endpoints:

Useful Resources:

Contributing

To install the dev environment:

virtualenv venv
. venv/bin/activate
pip install -r dev-requirements.txt
pip install tox

Before contributing a pull request, make sure tests pass:

tox

The above will run tests on all Python versions available on your machine. To just run all tests with your current Python version:

nosetests

To run only a single test method, specify the test file location, test class, and test method. For example, to only run the Git project detection test:

nosetests tests.test_project:ProjectTestCase.test_git_project_detected

Many thanks to all contributors!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].