Skip to main content

A simple script for importing gtimelog time entries into Toggl Track.

Project description

gtimelog2toggl

This is a simple script for importing your gtimelog into Toggl Track.

Install

  1. Install gtimelog2toggl using pip.

    pip install gtimelog2toggl
    
  2. Update the configuration file by running gtimelog2toggl with the -c flag.

    gtimelog2toggl -c
    
    • One required field to make gtimelog2toggl work is the api_key which can be found in your Toggl profile settings.

    • You may also want to add mappings from a gtimelog category to a client and project found in Toggl. (NOTE: The client/project pair must already exist within Toggl) Any categories not mapped or entries without a category will be added to Toggl without any client/project attached.

    api_key: <ADD API KEY HERE>
    
    mappings:
      acme: [ACME, General]
      acme_recruit: [ACME, Recruiting]
      acme_hr: [ACME, HR]
      llama: [LlamaCorp, General]
    

Usage

Run gtimelog2toggl to automatically import your gtimelog entries to Toggl for the current week and then end of your work week.

gtimelog2toggl

More options may come in the future, but this works for me for now.

WARNING: There are currently no checks if a time entry has already been added. Duplicate entries will be added if you run this script more than once in the week. I recommend you use the --dry-run argument beforehand to ensure everything is setup correctly. (I may fix this in the future, if I have the motivation.)

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gtimelog2toggl-0.1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gtimelog2toggl-0.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file gtimelog2toggl-0.1.tar.gz.

File metadata

  • Download URL: gtimelog2toggl-0.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.6

File hashes

Hashes for gtimelog2toggl-0.1.tar.gz
Algorithm Hash digest
SHA256 b331a42a9212de4413c930494e82a636760f5b25cb62bef499f6529f03d45e5e
MD5 f2878591532ffc20e7c03b67061cb148
BLAKE2b-256 fe3de56c86bf1a41e9b9596aa1e67d57a8bd301093ed750ec16c708bd360401a

See more details on using hashes here.

File details

Details for the file gtimelog2toggl-0.1-py3-none-any.whl.

File metadata

  • Download URL: gtimelog2toggl-0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.6

File hashes

Hashes for gtimelog2toggl-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7a6d6d3273bb784115da2944bd10bdd658c29fae14e972369240a33ebc11438d
MD5 9a153d5cb27f63701f752cce5650dcac
BLAKE2b-256 82a4b4fab4de0d371798337c630e032892aad2494eb5a11a19a81a20ce58d329

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page