Skip to main content

Python based TUI app for managing TODO and similar messages in your projects.

Project description

spark-tudu

Navigation

About project

spark-tudu is simple TUI app written in Python to help you develop your projects. It searches for lines like TODO or FIXME in app's syntax (about syntax) and provides it to you in one place in TUI written in Textual.

Motivation for the project

Motivation for this project comes from both need for simple project when returning to coding, and from needing a simple program that puts all my TODOs from different files inside one space.

Learning outcomes

I learned how to use Textual and how to make TUI apps.

Project status

Project reached all requirements for 0.1.0 release. Currently app is fully functional

Planned features

  • Currently none

Syntax

App detects comments with this syntax:

language comment prefix marker/priority/comment/deadline

Example:

# TODO/HIGH/Add themes/22.10.2027

Installation and usage

Download .py file from GitHub Releases and run it through terminal of your choice using python main.py in project directory. You can also clone this project using git clone https://github.com/emb3rcia/spark-tudu

Supported markers

Currently supported markers:

  • TODO
  • FIXME
  • BUG
  • HACK
  • NOTE
  • IDEA
  • REVIEW
  • SECURITY
  • DOCS
  • TEST
  • PERF
  • CLEANUP
  • BLOCKED

Supported priorities

Currently supported priorities:

  • CRITICAL
  • HIGH
  • MEDIUM
  • LOW
  • OPTIONAL

Config

spark-tudu supports a config file. The config file must be present in the directory from which you run the program.

If the config file does not exist, spark-tudu uses the default config made for VS Code.

The config file must be named spark-tudu.toml and can include these options:

[editor]
command = ["command", "arguments"]
wait = true/false
terminal = true/false

Default config:

[editor]
command = ["code", "-g", "{file}:{line}"]
wait = false
terminal = false

Different editor presets

Here are presets for common editors:

VS Code / Code OSS (default):

[editor]
command = ["code", "-g", "{file}:{line}"]
wait = false
terminal = false

VSCodium:

[editor]
command = ["codium", "-g", "{file}:{line}"]
wait = false
terminal = false

Nano:

[editor]
command = ["nano", "+{line},1", "{file}"]
wait = true
terminal = true

Vim:

[editor]
command = ["vim", "+{line}", "{file}"]
wait = true
terminal = true

Neovim:

[editor]
command = ["nvim", "+{line}", "{file}"]
wait = true
terminal = true

Sublime Text:

[editor]
command = ["subl", "{file}:{line}"]
wait = false
terminal = false

JetBrains IDE:

[editor]
command = ["idea", "--line", "{line}", "{file}"]
wait = false
terminal = false

Dependencies

  • textual
  • rich

Install with pip:

pip install textual rich

Install command for Arch-based distributions:

sudo pacman -S python-textual

(python-rich is installed as dependency of python-textual)

License

All files are licensed under the Apache 2.0 License.

See LICENSE for full terms

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spark_tudu-0.1.1.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spark_tudu-0.1.1-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file spark_tudu-0.1.1.tar.gz.

File metadata

  • Download URL: spark_tudu-0.1.1.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for spark_tudu-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c1aff397e86286ef3536af0760727f2a457f0caffd742a73c014ea27f9034f7a
MD5 4e237b3c9fec612f176c8e01d0dfb0c1
BLAKE2b-256 8fffd06302571af9d513c951e435224bc56c866aa54f750bf3c0d072ea194f11

See more details on using hashes here.

File details

Details for the file spark_tudu-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: spark_tudu-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 11.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for spark_tudu-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8445a8bb89b919479f3653f37988ca93ba2b7341d18c321e48221c49436713e1
MD5 6f8ebd7c811250140c65600a61bc1a21
BLAKE2b-256 b1466a73faf239ec576ba19a7029338e6f5a693180ba127ce80c3bf6857eef8a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page