Skip to main content

senile

PyPI version License

A command-line todo list and time tracker.

Overview

This utility functions as a personal todo list and time tracker. You can create tasks with tags and they are saved in sqlite3 file: ~/.senile.

Installation

install from pypi (recommend)

pip3 install senile

install from git (latest master)

pip3 install -U git+https://gitlab.com/nul.one/senile.git

Usage

Commands:

  • add Add a new task.
  • modify Modify existing task.
  • remove Delete following task(s).
  • list List tasks.
  • archive Same as list but show archived tasks.
  • start Start following task.
  • stop Stop tasks.
  • todo Set following task(s) to todo.
  • done Set following task(s) to done.
  • hide Archive following task(s).
  • info Show detailed info of a task.
  • tags List all tags and their counts.
  • note Open task notes for editing.

add

Add a new task.

  • aliases: a
  • usage: senile add Some text description +tag1 +tag2 +tag3
  • example: senile add Submit the project +work +project +new

modify

Modify existing task.

  • aliases: mod, m
  • usage: senile mod ID_OR_UUID Updated text -TAG_TO_REMOVE +TAG_TO_ADD
  • example: senile mod 5 Re-submit the finished project -new +old

remove

Delete following task(s).

  • aliases: rm
  • usage: senile rm ID_OR_UUID_1 ID_OR_UUID_2 ID_OR_UUID_3
  • example: senile rm d59de172 fcf8799e 4 5

list

List tasks.

  • aliases: ls, l
  • usage: senile l SOME TEXT TO SEARCH +CONTAIN_TAG -DO_NOT_CONTAIN_TAG
  • example: senile l project +work -old

archive

Same as list but show archived tasks.

  • aliases: ar, arc, arch
  • usage: senile ar SOME TEXT TO SEARCH +CONTAIN_TAG -DO_NOT_CONTAIN_TAG
  • example: senile ar project +work -old

start

Start following task.

  • usage: senile start TASK_ID_OR_UUID
  • example: senile start 5
  • note: Only 1 task can be started.

stop

Stop tasks.

  • Called without arguments and stops a single task that was started.

todo

Set following task(s) to todo.

  • usage: senile todo ID_OR_UUID_1 ID_OR_UUID_2 ID_OR_UUID_3
  • example: senile todo d59de172 fcf8799e 4 5

done

Set following task(s) to done.

  • usage: senile done ID_OR_UUID_1 ID_OR_UUID_2 ID_OR_UUID_3
  • example: senile done d59de172 fcf8799e 4 5

hide

Archive following task(s).

  • usage: senile hide ID_OR_UUID_1 ID_OR_UUID_2 ID_OR_UUID_3
  • example: senile hide d59de172 fcf8799e 4 5

info

Show detailed info of a task.

  • aliases: i, inf, show
  • usage: senile show TASK_ID_OR_UUID
  • example: senile show d59de172

tags

List all tags and their counts.

  • aliases: t, tag
  • Called without arguments. Lists tags of all tasks, even archived.

notes

Edit notes for a task.

  • aliases: note, n usage: senile note TASK_ID_OR_UUID
  • Opens a multiline prompt where you can edit notes. (Alt+Return to finish)

Configuration

Configuration options are available as environment variables that you need to export, either on each senile command or in your environment file (e.g. .bashrc, .profile, etc.).

Data file

By default, senile creates and uses an sqlite3 database file located at ~/.senile. Export SENILE_DB_PATH variable to desired alternative file location.

Icons

You can change default status icon theme by exporting SENILE_ICON_THEME. Possible values are:

  • default - standard theme
    • hidden: 👻
    • done: ✔️
    • todo: ⭕
    • active: 🔴
  • text
    • hidden: h
    • done: d
    • todo: T
    • active: A
  • senile
    • hidden: 👓
    • done: ⚰️
    • todo: 📰
    • active: 🧠
  • love
    • hidden: 💔
    • done: 💖
    • todo: ❤️
    • active: 💘
  • xmas
    • hidden: ☃️
    • done: 🎁
    • todo: 🎄
    • active: 🛷
  • archery
    • hidden: 🐺
    • done: 🏅
    • todo: 🎯
    • active: 🏹

Metadata

Release files for senile 0.3.1

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

Built distribution (wheel)

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

Release files / senile-0.3.1-py3-none-any.whl

Download URL senile-0.3.1-py3-none-any.whl
Size 11.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9f0c44255795d93b92ab3e508b78540c0fac21f23c920d7e0c01727fadf0f5d5
BLAKE2b-256 checksum
How to use checksums
2d55ed532184c3558a4cdb5d858592e0d5c04b47266ef0bb6ef87c4c5b9fd2cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

Security for senile 0.3.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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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