semvec/pypi-packages huggingface dataset:
stimer 0.2.1
stimer stands for "simpletimer" and is a command line timer that features short "fuzzy" syntax and basic output.
Requires Python: >=3.7

# stimer
stimer stands for "simpletimer" and is a command line timer that features short "fuzzy" syntax and basic output.  
![](https://i.ibb.co/Bgr7hkD/stimer.gif)
## Features:
* Two "loosely-parsed" formats for specifying timer duration:
	* "hms" format: #h#m#s
	* "clock" format: ##:##:##  
	See [duration examples](#duration-examples)
* "DOWN" (timer) mode and "UP" (stopwatch) mode
* Alert sound (system sound) for timer end with option to disable
* Progress bar output with option to disable
* Decimal precision output determined by timer duration with the option to override
* Save and load timers
## Installation:
`pip install stimer`

A config file is created at `$HOME/.config/stimer/stimer.conf`
## Usage:
`stimer --help`:
```
	usage: stimer [OPTIONS]... DURATION

	positional arguments:
	  DURATION                Duration of timer in "hms" format or "clock" format.
	                              hms format -> #h#m#s
	                              clock format -> ##:##:##
	                          See "--help-duration"

	optional arguments:
	  -h, --help              show this help message and exit
	  -u, --up                count up (stopwatch mode), duration not required
	  -U, --down              count down (timer mode), default; useful to override saved timers
	  -a, --no-sound          no alert sound
	  -A, --sound             alert sound, default; useful to override saved timers
	  -o, --simple            simple output with no progress bar
	  -O, --full              full output, default; useful to override saved timers
	  -p N, --precision N     N {0, 1, 2...} decimal precision; default dependent on DURATION
	  -s, --save              save timer
	  -S, --save-only         save timer and do not run
	  -r NAME, --remove NAME  remove saved timer
	  -l, --list              list saved timers
	  -n NAME, --name NAME    name timer when saving
	  -t NAME, --timer NAME   run timer
	  --version               output version information and exit
```
### Duration examples:
`stimer 20`  
starts a timer for 20 seconds

`stimer 4h3s`  
4 hours and 3 seconds

`stimer 1.5h`  
1 hour and 30 minutes

`stimer 3h105.4m8s`  
4 hours 45 minutes and 32 seconds

`stimer 04:03`  
4 minutes and 3 seconds

`stimer 4:3`  
4 minutes and 3 seconds

`stimer 5:00:6.5`  
5 hours and 6.5 seconds

`stimer 5::6.5`  
5 hours and 6.5 seconds

`stimer 5.5::`  
5 hours and 30 minutes

`stimer :45:`  
45 minutes
winregmgr 0.1.1
Context manager for Windows Registry manipulations
Requires Python: >=3.6

# winregmgr
[![PyPI](https://img.shields.io/pypi/v/winregmgr)](https://pypi.org/project/winregmgr/)

Helper library that allows to read/write from/to Windows Registry via simplified syntax of Python contextmanager.

## Install:

```bash  
$ pip install winregmgr
```  

## Usage Samples:

```Python
from winregmgr import OpenKey
import winreg   # for accessing constants

# Read parameter from Registry:
with OpenKey(winreg.HKEY_CURRENT_USER, r"SOFTWARE\ODBC\ODBC.INI\MS Access Database\\") as reg_key:
  value = reg_key.get_value("Driver")
  
# If parameter is read only - optional access type has to be explicitly set:
with OpenKey(winreg.HKEY_LOCAL_MACHINE, "Read Only Path", access=winreg.KEY_READ) as reg_key:
  value = reg_key.get_value("Driver")
 
# Read all parameters under given path into dictionary
with OpenKey(winreg.HKEY_LOCAL_MACHINE, r"SOFTWARE\\") as reg_key:
  values = reg_key.get_values()
 
# Write Parameter if path does not exist - creates it
with OpenKey(winreg.HKEY_LOCAL_MACHINE, r"SOFTWARE\\") as reg_key:
  reg_key.set_value("Parameter", "Its value")
 
# Delete Parameter
with OpenKey(winreg.HKEY_CURRENT_USER, r"PATH\TO\PARAMETER\\") as reg_key:
  reg_key.delete_value("Parameter")

```