Skip to main content

SAG - Simple Activity Logger

Narzędzie CLI do zarządzania wpisami bloga / dziennikiem aktywności.

Instalacja

cd /home/tom/github/pyfunc/sag
pip install -e .

Lub bezpośrednio:

ln -sf /home/tom/github/pyfunc/sag/src/sag/cli.py ~/.local/bin/sag
chmod +x ~/.local/bin/sag

Dostępne komendy

  • sag new - Tworzy nowy plik z dzisiejszą datą
  • sag termin DATE - Tworzy planowany wpis na podaną datę (format: YYYY-MM-DD)
  • sag parse - Parsuje sekcję Plany i tworzy wpisy na przyszłe daty
  • sag export - Eksportuje wszystkie wpisy do HTML
  • sag backup - Tworzy lokalny backup .tar.gz z datą
  • sag print - Wyświetla wszystkie aktualne strony
  • sag help - Wyświetla pomoc

Obsługiwane formaty dat w sekcji Plany

  • YYYY-MM-DD - np. 2026-03-11 9:00 Stomatolog
  • DD.MM.YYYY - np. 11.03.2026 9:00 Stomatolog
  • YYYY.MM.DD - np. 2026.03.11 9:00 Stomatolog

Przykład użycia

# Tworzenie nowego wpisu na dziś
sag new

# Tworzenie planowanego wpisu
sag termin 2026-03-15

# Parsowanie planów i tworzenie wpisów
sag parse

# Eksport do HTML
sag export

# Backup
sag backup

License

Apache License 2.0 - see LICENSE for details.

Author

Created by Tom Sapletta - tom@sapletta.com

Metadata

Release files for sag 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sag 1.0.2
File Size Uploaded
sag-1.0.2.tar.gz 9.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sag 1.0.2
File Interpreter ABI Platform
sag-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 20.0 kB

Release files / sag-1.0.2.tar.gz

Download URL sag-1.0.2.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d04d6e7d21e3574afc948eb540a515f49eaa399d71a56b3c1a42119e0d8d8741
BLAKE2b-256 checksum
How to use checksums
654118c4cb0065517653e6e0de880065176a6edef490e8e0d5141b951ef8dd72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / sag-1.0.2-py3-none-any.whl

Download URL sag-1.0.2-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4920e99cc84240766b070d501ccfdcace70bffff08255da69eead8788f6fc555
BLAKE2b-256 checksum
How to use checksums
9d4f20b2d52b098c180945bc59e62690f584773432009499b34f32ceb165c4f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page