Skip to main content

CLI to generate weekly report

Project description

GI-KACE Weekly Report Generator

A simple CLI tool to generate and save a structured weekly report for GI-KACE RNI Department. Outputs a text file and also copies the content to the clipboard for quick sharing.

The aim of this project was to speed up weekly reporting by letting you focus on the important content while automating the formatting and file management.

Features

  • NEW in 0.1.1: Remembers your name and unit between sessions
  • Automatically detects the current week's date range
  • Prompts for achievements and challenges
  • Formats the report with a clean layout
  • Saves report as a text file to your desktop:
    Week [n] [Month] [monday's date] - [friday's date].txt
  • Copies report to clipboard for easy pasting into emails or other documents

Installation

pip install py_make_weekly_report_kace_rni

To update to the latest version:

pip install --upgrade py_make_weekly_report_kace_rni

Usage

Run the following command in your terminal to launch the tool.

py_make-weekly-report

First-time use

You'll be prompted to enter:

  • Your name
  • Your unit
  • Project name
  • Key achievements (press Enter twice to finish)
  • Challenges and next steps (press Enter twice to finish)

Subsequent use

The tool will:

  • Remember your name and unit
  • Ask if you want to change them
  • Only prompt for new project details and achievements/challenges

Configuration

Your name and unit preferences are automatically saved to:

  • Windows: %USERPROFILE%\AppData\Local\WeeklyReportGenerator\config.json
  • macOS/Linux: ~/.config/WeeklyReportGenerator\config.json

Report Storage

A text file is saved to your desktop under the folder:

Weekly Reports/[current year]/Week #[n] [Month] [monday's date] - [friday's date].txt

Example Output

Subject: Week Report of May 13th – May 17th, [Anthony]
Unit: SE
Project: Internal Tooling

Key Achievement(s):
  • Refactored legacy codebase to improve testability.
  • Automated weekly report generation using Python.

Challenges and Next Steps:
  • Integration testing for the new reporting module.
  • Coordinate with DevOps to deploy updates.

License

MIT


Changelog

0.1.2 - latest

Improved the title of the saved file to be more user friendly.

  • previously: Week [n] [Month] [monday's date] - [friday's date].txt
    • example: Week 20 May 12 - 16
  • currently: Week #[n] [Month] [monday's date][ordinal] to [friday's date][ordinal].txt
    • example: Week #20 May 12th to 16th

0.1.1

  • Added persistent configuration to remember name and unit
  • Improved error handling
  • Better cross-platform support for config storage

0.1.0

Initial release


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

py_make_weekly_report_kace_rni-0.1.2.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file py_make_weekly_report_kace_rni-0.1.2.tar.gz.

File metadata

File hashes

Hashes for py_make_weekly_report_kace_rni-0.1.2.tar.gz
Algorithm Hash digest
SHA256 e45d74de6db29225480e8f2fd66f578be3aca8785c8e0be9339290ce31db37a6
MD5 ffde5be42cd58eed01f924e0806fc88a
BLAKE2b-256 7a54c567ed07cb716cc8d32570f0b50a95649211a9c3a031528eae6579443298

See more details on using hashes here.

File details

Details for the file py_make_weekly_report_kace_rni-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for py_make_weekly_report_kace_rni-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 566b9a09c0e2e3edc2aab0406621d5c34d19a185197c338206501cfa31c3d71e
MD5 d23fabddc0e7de5010a832c9b30b06b7
BLAKE2b-256 27545aa677b2ba050cf0eea2d3d0a2342ec1a68837d309d9c0167e5bfa257d1a

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