Skip to main content

Dia is a work log, letting you easily keep a history of what you worked on.

Project description

Dia

Have you ever spent a long day at work, only to wonder at the end of it what you actually got done? Do you wish you remembered why you made a decision way back when? Do you want to find the day you worked on a specific thing, but haven't left any trace?

Dia solves all those problems by helping you keep a work diary.

Installation

Installing Dia is simple. You can use pipx (recommended):

$ pipx install dia

Or pip (less recommended):

$ pip install dia

Usage

To log a task you've completed, you can use dia log:

$ dia log "Completed the diary feature."

This will generate the following diary.txt in the current directory (or append to it if it already exists):

Work diary
==========


2022-02-09
----------

* Completed the diary feature.

If you want to specify a fixed file to always work on, you can do that by setting the diary option in ~/.config/dia/config:

diary="/home/stavros/diary.txt"

You can similarly override any other options.

Semantic tags

Dia supports (though currently very tenuously) semantic tags. This means it can understand people, projects, and tags. For example, you can say:

$ dia log "Worked on the %Dia #data-model with @JohnK."

Changelog

v0.1.6 (2022-02-11)

Features

  • Refactor "show" and add "show previous" command. [Stavros Korokithakis]

Fixes

  • Don't use pager on search. [Stavros Korokithakis]

  • Don't show empty days in the "search" command. [Stavros Korokithakis]

v0.1.5 (2022-02-11)

Features

  • Wrap long task text. [Stavros Korokithakis]

  • Add "search" command. [Stavros Korokithakis]

Fixes

  • Fix diary config name. [Stavros Korokithakis]

  • Don't crash if there are no tasks. [Stavros Korokithakis]

v0.1.4 (2022-02-10)

Features

  • Add "show" command. [Stavros Korokithakis]

  • Add config file. [Stavros Korokithakis]

v0.1.3 (2022-02-10)

Features

  • Add "today" command and colors. [Stavros Korokithakis]

  • Add the name of the day. [Stavros Korokithakis]

Project details


Download files

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

Source Distribution

dia-0.1.6.tar.gz (16.3 kB view details)

Uploaded Source

Built Distribution

dia-0.1.6-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file dia-0.1.6.tar.gz.

File metadata

  • Download URL: dia-0.1.6.tar.gz
  • Upload date:
  • Size: 16.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for dia-0.1.6.tar.gz
Algorithm Hash digest
SHA256 c4ddc5f35f463d74fea32efbb327d2df35a866fb09e4b99c78bf70cb089757cd
MD5 bb80978b7aa9c101b1a869594a8403f0
BLAKE2b-256 f3aad5412c69ca74b9d5687904c68f6235f0975cab22962306f74d9f699838bc

See more details on using hashes here.

File details

Details for the file dia-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: dia-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 16.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for dia-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 56529dc6982b9a37ab139ec1939919d85a2525b79724566ec1ead70014eb7342
MD5 44eb31b1cea1ae0423fa1aa0d35018f6
BLAKE2b-256 e6e58fc67d1a160f60e0f3550bbb914518e3bf2d29c71c2fd13fba47c7888e2d

See more details on using hashes here.

Supported by

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