Skip to content

jonjitsu/python-tmsu-tag-assistant

Repository files navigation

Overview

docs Documentation Status
tests
Travis-CI Build Status AppVeyor Build Status Requirements Status
Coverage Status
package

An assistant for helping you tag your files with TMSU.

You feed it files you would like to tag and it gives you an interactive prompt with auto-complete, auto-suggestions, history.

Feed it files from standard commands:

find -type f -iname \*.pdf | tmsu-tag-assistant -

Or from a file:

find -type f -iname \*.pdf > files-to-tag
tmsu-tag-assistant files-to-tag

Go through your untagged files:

tmsu untagged | tmsu-tag-assistant -

Recommendation due to it's hiddeously long name:

alias tagass=tmsu-tag-assistant
  • Free software: BSD license

Todo

  • [X] Create basic interactive REPL with history
  • [X] Add autocomplete
  • [X] Add autosuggestion
  • [X] Add ability to save and not execute tag commands
  • [X] Add suggestions based on file (maybe metadata)
  • [X] Inject existing file tags into editable area
  • [ ] Fix direct execution of tag command
  • [ ] Existing file tags should auto inject into editable area
  • [ ] Add pipe functionality (if possible)

Installation

pip install tmsu-tag-assistant

Documentation

https://python-tmsu-tag-assistant.readthedocs.io/

Development

To run the all tests run:

tox

Note, to combine the coverage data from all the tox environments run:

Windows
set PYTEST_ADDOPTS=--cov-append
tox
Other
PYTEST_ADDOPTS=--cov-append tox

About

An assistant for tagging your files with TMSU.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published