Skip to main content

A tool for logging work progress throughout the week. Features autocomleting tags and pretty output.

Project description

jurn 📝🦄

A tool for logging work progress throughout the week. Features tags and pretty output. Log entries stored in a local sqlite database.

Installation

pip install jurn

Writing Entries

jurn log -m 'Wrangled cats via lasso.'

Tagging

You can add tags to logs for hierarchical organization and display.

jurn log -m 'Wrangled cats via lasso.' -t 'Physical Fitness'

You can tab complete within the tag option. For example, if you typed in:

jurn log -m 'Wrangled cats via lasso.' -t 'Physical <TAB>

jurn would return the following bash-style autocomplete suggestions based on your history of previously used tags:

Physical Fitness
Physical Security

This helps ensure youre messages stay organized.

NOTE: To enable autocompletion, you must add this to your ~/.bashrc.

eval "$(_JURN_COMPLETE=bash_source jurn)"

If using other shells, please reference the Click documentation for the specific line you need to add.

You can also have subcategories by tagging with #, e.g.

jurn log -m 'Wrangled cats via lasso.' -t 'Physical Fitness#Cardio'

Printing (to the screen)

jurn print -d week

Result:

2022-11-01 to 2022-11-07
  • Physical Fitness
    • Cardio
      • Wrangled cats via lasso.
    • Strength
      • New PR benching 2 mules.
  • Physical Security
    • Installed new locks on the doors.
    • Added storage to camera recording devices.

Database

The jurn database is stored in the following location by default:

~/.jurn/jurn.db

You can override this with the --db-path <folder path> --db-filename <filename> options.

Early End

The --early-end option bypasses jurn from executing if the specified amount of time has not passed since the last entry:

jurn --early-end 60 log -t

This option may be useful to supress jurn prompting too frequently if adding to a .bashrc file or schedule. For example, the above example command inserted into a .bashrc file will remind you to log your work with jurn only if at 60 minutes have passed since the last log entry.

More Commands

Use jurn --help to view all available options.

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

jurn-1.0.4.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

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

jurn-1.0.4-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file jurn-1.0.4.tar.gz.

File metadata

  • Download URL: jurn-1.0.4.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.7

File hashes

Hashes for jurn-1.0.4.tar.gz
Algorithm Hash digest
SHA256 a3ffea872f1faed12609809a370303be0a4d2d71a5af0861d9f51ae6e541e28b
MD5 ff4a88cab669b50f8286b912774a228d
BLAKE2b-256 a77aa26d91d366769eef013e1015eac999b3f91f90a866aa81e04f3b0ed2ed55

See more details on using hashes here.

File details

Details for the file jurn-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: jurn-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.7

File hashes

Hashes for jurn-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ab1f044ac3d592c2bcd117f2f9e42eba8495a208149b3602da3b057df79bf0b6
MD5 6140d89969befa5c355c1aaaa24041db
BLAKE2b-256 c6bcf3581a67826fc01a5c48573bc45a74ae278d290d164352e8d196126050ff

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