8000 Release v0.1.1 · pindjouf/std · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

v0.1.1

Latest
Compare
Choose a tag to compare
@pindjouf pindjouf released this 10 Dec 22:47
· 2 commits to master since this release

std 0.1.1 - The Minimalist Update

This release strips away unnecessary dependencies and adds robust configuration validation, making std leaner and more reliable.

SHA256 Checksum

dc36cedf1dfe20c662a59a6d2fbfddd6f41fdc8fb4713a6fde58997f0f21dbc1  std

What's New

  • Removed Click dependency in favor of native Python argument parsing
  • Added config file validation for work/break periods and sound file
  • Improved error handling for configuration issues

Technical Improvements

  • Switched to Python's built-in argument parsing
  • Added type checking for work_period and break_period values
  • Implemented sound file path validation
  • Enhanced cli experience with -h and -v flags

Breaking Changes

None! All existing configurations and functionality remain compatible.

Installation

  1. Clone the repository
  2. No external dependencies required! Just run python std start

Configuration

Configuration remains at ~/.config/std/config.toml:

  • work_period = 90 minutes (must be integer)
  • break_period = 20 minutes (must be integer)
  • sound_file = path to notification sound (must exist)

Known Limitations

  • No pause functionality yet
  • Cannot save session state
  • Limited to terminal output

Upcoming Features

  • Pause/resume functionality
  • Status command implementation
  • Daemon mode for background operation

Notes

This release focuses on making std more lightweight and robust. By removing the Click dependency and adding proper validation, we've made the tool more reliable while reducing its footprint. The improved config validation should help users catch configuration issues early.

0