Skip to main content

A concise command-line tool for quickly logging daily tasks and milestones, ideal for personal and professional record-keeping.

Project description

braglog

Easily log and manage daily work achievements to boost transparency and productivity 🌟

Background

I got this idea from here. My main goal is to use this project as a playground. I want to record a series of videos where we collaboratively work on solving an issue by developing a new feature each time.

To-Do List

  • Develop the show sub-command using a test-driven development (TDD) approach with options for --contains, --from, --until, and --on.
  • Publish the app using uv.
  • Introduce the Ruff code formatter.
  • Utilize pre-commit hooks.
  • Add GitHub Actions to run test cases and check code formatting.
  • Set up GitHub Actions to upload the latest version to PyPI.
  • Implement the export functionality.

Installation

Install this tool using pip:

pip install braglog

Or using pipx:

pipx install braglog

Or using uv:

uv tool install braglog

Usage

For help, run:

braglog --help

You can also use:

python -m braglog --help

Adding Work Achievements

To log today's achievement:

braglog Fixed the authentication bug in login module

To log an achievement for a specific date:

braglog --date 2025-03-19 "Completed code review for PR #123"

To see the location of your logs file:

braglog logs-path

Viewing Work Achievements

View all entries or filter them:

# Show all entries
braglog show

# Filter by text
braglog show --contains "bug fix"

# Show entries for specific date
braglog show --on "2025-03-19"

# Quick manager meeting prep - show last 2 weeks of achievements
braglog show -s "2 weeks ago"

[!NOTE] --on cannot be used with --since or --until

Delete Achievements

For deleting records, simply use --delete:

braglog show --on today --delete

Contributing

To contribute to this tool, first checkout the code. Then create a new virtual environment:

cd braglog
python -m venv .venv
source .venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[dev]'

Or if you are using uv:

uv sync --extra dev

To run the tests:

uv run pytest .

To help ensure consistent code quality that follows our guidelines, pre-commit may be used. We have git hooks defined which will execute before commit. To install the hooks:

pre-commit install

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

braglog-0.2.0.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.

braglog-0.2.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file braglog-0.2.0.tar.gz.

File metadata

  • Download URL: braglog-0.2.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.9

File hashes

Hashes for braglog-0.2.0.tar.gz
Algorithm Hash digest
SHA256 1ecee991043151fa375a00100df67607667bd41adaa1189af50d6f19f9a23f8a
MD5 75aea46b866aae69b959cd4f5786563b
BLAKE2b-256 a9be93b94109ac9b2e4a98b2bb1cd125fae7cd8bb1da7948fc9dbff9cd3de80e

See more details on using hashes here.

File details

Details for the file braglog-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: braglog-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.9

File hashes

Hashes for braglog-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d0bfdab1663ca4a552c69341d1d377b09abf6a2b366c898737cf5b49448807d4
MD5 5ce5920014480e34f27403bd0eb2902b
BLAKE2b-256 c4c46961b3e8820f0dbe2f4e7b2a46d22b27adedbabf0bde64085d24cceca6a3

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