Half-Hour (hh)
A minimal command-line note-taking tool for quick logging and reviewing of time-stamped entries.
Overview
The hh package provides three simple functions to manage a plain-text note file configured via hh.yaml:
hha: Add a new note line.hhl: List the most recent notes.hhd: Delete the most recent lines.
All notes are appended to a single text file specified in the configuration.
Configuration
Create a hh.yaml file in the same directory as __init__.py with the following content:
notefile: /path/to/your/notes.txt
Replace /path/to/your/notes.txt with the absolute or relative path to your desired note file.
Usage
Add a note (hha)
from hh import hha
hha("14:30", "Started working on README")
# Equivalent to: hha("14:30 Started working on README")
Note: All arguments are joined into a single line and appended to the note file.
List recent notes (hhl)
from hh import hhl
hhl() # Show last 10 lines
hhl(5) # Show last 5 lines
Delete recent notes (hhd)
from hh import hhd
hhd(3) # Delete the last 3 lines
⚠️ Deletion is permanent and cannot be undone.
Requirements
- Python 3.6+
PyYAMLlibrary (pip install PyYAML)
License
MIT (assuming standard open-source practice; adjust as needed).
Metadata
Release files for half-hour 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| half_hour-0.1.1.tar.gz | 4.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| half_hour-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.1 kB
Release files / half_hour-0.1.1.tar.gz
| Download URL | half_hour-0.1.1.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf19cbfab7483eb296e156386848a140f9ba8abc816b54009571c659523be05c
|
|
BLAKE2b-256 checksum How to use checksums |
db2ea606f9b3ef087141b0bef3ab83a44170795b889c3fb1760280d3b131bf11
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|
Release files / half_hour-0.1.1-py3-none-any.whl
| Download URL | half_hour-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c8d533da5ab1669b77aeaf4556d88565834d9b6af43699af096ee5d7de071490
|
|
BLAKE2b-256 checksum How to use checksums |
9f0ece1654b04761bb805a025c4f5858a31e2856ded2541b9a3c0db47d0b252f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|
Security for half-hour 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.