Skip to main content

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."

You can show all items with:

$ dia show projects

Projects
========
* Dia
* Foo
* Bar
* Baz

Same with tags and people.

Changelog

v0.1.7 (2022-02-16)

Features

  • Add the "standup" command. [Stavros Korokithakis]

  • Add the "show people|tags|projects" commands. [Stavros Korokithakis]

  • Allow passing a regex to the "search" command. [Stavros Korokithakis]

  • Add the "edit" command. [Stavros Korokithakis]

Fixes

  • Reduce whitespace between elements. [Stavros Korokithakis]

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]

Metadata

Release files for dia 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dia 0.1.7
File Size Uploaded Provenance Actions
dia-0.1.7.tar.gz 17.3 kB Without provenance Details for dia-0.1.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dia 0.1.7
File Interpreter ABI Platform Actions
dia-0.1.7-py3-none-any.whl Python 3 none any Details for dia-0.1.7-py3-none-any.whl

Total release size: 35.4 kB

Release files / dia-0.1.7.tar.gz

Download URL dia-0.1.7.tar.gz
Size 17.3 kB
Tags Source
SHA-256 checksum
How to use checksums
990961f2f51f50f72b216c4ced87688dc4493b040c6c43730f9ead399bb7b8ed
BLAKE2b-256 checksum
How to use checksums
22bba223e1ecfb61309e4c97bc7e977b316971568a07a7150873d9a5ad121930
Upload date
Uploaded using Trusted Publishing?
What is 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.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

Release files / dia-0.1.7-py3-none-any.whl

Download URL dia-0.1.7-py3-none-any.whl
Size 18.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d5ce922c8d7d0ceebafda3bd2f22a592aa10e88ecf26f8b405f05d61b8afa59f
BLAKE2b-256 checksum
How to use checksums
b915c3f68ed6caee6420ef5127a32d8008e5a644256265944e4ab042298fbf3e
Upload date
Uploaded using Trusted Publishing?
What is 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.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

Security for dia 0.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page